This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49618] When building uClibc with GCC 4.6.1 old_atexit is miscompiled
- From: "sedat.dilek at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 3 Jul 2011 15:39:36 +0000
- Subject: [Bug tree-optimization/49618] When building uClibc with GCC 4.6.1 old_atexit is miscompiled
- Auto-submitted: auto-generated
- References: <bug-49618-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49618
--- Comment #3 from dileks <sedat.dilek at gmail dot com> 2011-07-03 15:39:02 UTC ---
Short feedback: -O{0,1,2,} works (beq* is there), -Os doesn't (beq deleted).
[ -O0 ]
beq $2,$0,$L2
[ -O1 ]
beql $2,$0,$L3
[ -O2 ]
beql $2,$0,$L2
[ -Os ]
[ empty ]