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++/51392] Wrong code with -Os when __attribute__((__const__)) function returns structure


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

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-12-04 14:04:06 UTC ---
I can reproduce the error on i686-linux with g++ 4.7-20111203, 4.6-20111202,
and 4.5-20111201 at -Os/-O1.  Works at -O0/-O3, -O2 varies.  4.4-20111108 seems
to work.


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