[Bug c/18814] Incorrect reinitialization of compound literal

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 3 18:50:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-03 18:50 -------
But reading 6.5.2.5 P 16 seems to say something different.

What it seems to say is:
  p = &((int) {1});
is to set the int to be one and then take the address.  We still point to the same int as before.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18814



More information about the Gcc-bugs mailing list