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 bootstrap/51796] [4.7 regression] internal compiler error: in distribute_notes, at combine.c:13285 for libgomp/alloc.c on m68k-linux


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


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