This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/18814] Incorrect reinitialization of compound literal


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]