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

cybersphinx <cybersphinx.gcc at dispostable dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cybersphinx.gcc at
                   |                            |dispostable dot com

--- Comment #1 from cybersphinx <cybersphinx.gcc at dispostable dot com> 2011-12-03 16:27:09 UTC ---
With Debian's gcc 4.6.2-5 the testcase fails with -Os, -O1, -O2, ok with -O0,
-O3, -Ofast. 4.5.3-9 fails with -Os, -O1, ok with -O0, -O2, -O3.


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