* c.texi (Aliasing Type Rules): Fix a typo s/j/a/.

This commit is contained in:
Ineiev 2025-04-29 11:36:27 +00:00
parent 1ac804c718
commit a360f6ae94
1 changed files with 1 additions and 1 deletions

2
c.texi
View File

@ -13214,7 +13214,7 @@ What do these rules say about the example in this subsection?
For @code{foo.size} (equivalently, @code{a->size}), @var{t} is For @code{foo.size} (equivalently, @code{a->size}), @var{t} is
@code{int}. The type @code{float} is not allowed as an aliasing type @code{int}. The type @code{float} is not allowed as an aliasing type
by those rules, so @code{b->size} is not supposed to alias with by those rules, so @code{b->size} is not supposed to alias with
elements of @code{j}. Based on that assumption, GNU C makes a elements of @code{a}. Based on that assumption, GNU C makes a
permitted optimization that was not, in this case, consistent with permitted optimization that was not, in this case, consistent with
what the programmer intended the program to do. what the programmer intended the program to do.