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: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 5 Jul 2011 18:45:33 +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 #22 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-05 18:44:35 UTC ---
Author: jakub
Date: Tue Jul 5 18:44:32 2011
New Revision: 175885
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175885
Log:
PR tree-optimization/49618
* tree-eh.c (tree_could_trap_p) <case FUNCTION_DECL, case VAR_DECL>:
For DECL_WEAK decls return true.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/tree-eh.c