This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51796] [4.7 regression] internal compiler error: in distribute_notes, at combine.c:13285 for libgomp/alloc.c on m68k-linux
- 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: Wed, 11 Jan 2012 22:59:16 +0000
- Subject: [Bug bootstrap/51796] [4.7 regression] internal compiler error: in distribute_notes, at combine.c:13285 for libgomp/alloc.c on m68k-linux
- Auto-submitted: auto-generated
- References: <bug-51796-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51796
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-11 22:59:16 UTC ---
Author: jakub
Date: Wed Jan 11 22:59:12 2012
New Revision: 183111
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183111
Log:
PR bootstrap/51796
* combine.c (distribute_notes): If i3 is a noreturn call,
allow old_size to be equal to args_size and make sure the
noreturn call gets REG_ARGS_SIZE note.
* expr.c (fixup_args_size_notes): Put REG_ARGS_SIZE notes
on noreturn calls even when the delta is 0.
* gcc.dg/pr51796.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr51796.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/expr.c
trunk/gcc/testsuite/ChangeLog