public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/51762] [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
  2012-01-05 11:06 [Bug debug/51762] New: [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231 rguenth at gcc dot gnu.org
@ 2012-01-05 11:06 ` rguenth at gcc dot gnu.org
  2012-01-05 12:30 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-05 11:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51762

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/51762] New: [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
@ 2012-01-05 11:06 rguenth at gcc dot gnu.org
  2012-01-05 11:06 ` [Bug debug/51762] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-05 11:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51762

             Bug #: 51762
           Summary: [4.7 Regression] ICE in maybe_record_trace_start, at
                    dwarf2cfi.c:2231
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org
            Target: i?86-*-*


Created attachment 26248
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26248
preprocessed source

Building trustedgrub reveals:

> ./cc1 -quiet -m32 stage1_5.i -g -Os -fomit-frame-pointer  -fno-asynchronous-unwind-tables
stage1_5.c: In function 'cmain':
stage1_5.c:69:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2231
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/51762] [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
  2012-01-05 11:06 [Bug debug/51762] New: [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231 rguenth at gcc dot gnu.org
  2012-01-05 11:06 ` [Bug debug/51762] " rguenth at gcc dot gnu.org
@ 2012-01-05 12:30 ` jakub at gcc dot gnu.org
  2012-01-05 12:59 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-05 12:30 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51762

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-01-05
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |rth at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 12:30:17 UTC ---
/* PR debug/51762 */
/* { dg-do compile } */
/* { dg-options "-g -Os -fomit-frame-pointer -fno-asynchronous-unwind-tables" }
*/

void noret (void) __attribute__ ((noreturn));
int bar (void);
void baz (const char *);
static int v = -1;

void
foo (void)
{
  if (bar () && v == -1)
    {
      baz ("baz");
      noret ();
    }
  noret ();
}

Started with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176705


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/51762] [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
  2012-01-05 11:06 [Bug debug/51762] New: [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231 rguenth at gcc dot gnu.org
  2012-01-05 11:06 ` [Bug debug/51762] " rguenth at gcc dot gnu.org
  2012-01-05 12:30 ` jakub at gcc dot gnu.org
@ 2012-01-05 12:59 ` jakub at gcc dot gnu.org
  2012-01-05 20:47 ` jakub at gcc dot gnu.org
  2012-01-05 20:51 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-05 12:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51762

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 12:58:11 UTC ---
Seems cross-jumping during csa pass cross-jumps the two noret calls, eventhough
they have different args size depths.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/51762] [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
  2012-01-05 11:06 [Bug debug/51762] New: [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231 rguenth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-01-05 12:59 ` jakub at gcc dot gnu.org
@ 2012-01-05 20:47 ` jakub at gcc dot gnu.org
  2012-01-05 20:51 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-05 20:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51762

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 20:47:19 UTC ---
Author: jakub
Date: Thu Jan  5 20:47:16 2012
New Revision: 182924

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182924
Log:
    PR debug/51762
    * calls.c (emit_call_1): For noreturn calls force a REG_ARGS_SIZE
    note when !ACCUMULATE_OUTGOING_ARGS.

    * gcc.dg/pr51762.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr51762.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/calls.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug debug/51762] [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231
  2012-01-05 11:06 [Bug debug/51762] New: [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231 rguenth at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-01-05 20:47 ` jakub at gcc dot gnu.org
@ 2012-01-05 20:51 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-05 20:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51762

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 20:50:41 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-05 20:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-05 11:06 [Bug debug/51762] New: [4.7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2231 rguenth at gcc dot gnu.org
2012-01-05 11:06 ` [Bug debug/51762] " rguenth at gcc dot gnu.org
2012-01-05 12:30 ` jakub at gcc dot gnu.org
2012-01-05 12:59 ` jakub at gcc dot gnu.org
2012-01-05 20:47 ` jakub at gcc dot gnu.org
2012-01-05 20:51 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).