public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/51354] New: [4.7 Regression] ICE in maybe_record_trace_start
@ 2011-11-30 12:45 jakub at gcc dot gnu.org
  2011-11-30 12:50 ` [Bug target/51354] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-30 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51354
           Summary: [4.7 Regression] ICE in maybe_record_trace_start
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org
                CC: rth@gcc.gnu.org
            Target: x86_64-linux


extern void abort (void);

typedef int __attribute__((aligned (32))) ai;

void foo (int *x, ai *y);

int
bar (int x)
{
  if (x == 12346)
    return 24;
  ai i;
  foo (__builtin_alloca (x), &i);
  return 128;
}

ICEs in maybe_record_trace_start, at dwarf2cfi.c:2244
at -O2 on x86_64-linux.


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

* [Bug target/51354] [4.7 Regression] ICE in maybe_record_trace_start
  2011-11-30 12:45 [Bug target/51354] New: [4.7 Regression] ICE in maybe_record_trace_start jakub at gcc dot gnu.org
@ 2011-11-30 12:50 ` jakub at gcc dot gnu.org
  2011-12-06 10:02 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-30 12:50 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug target/51354] [4.7 Regression] ICE in maybe_record_trace_start
  2011-11-30 12:45 [Bug target/51354] New: [4.7 Regression] ICE in maybe_record_trace_start jakub at gcc dot gnu.org
  2011-11-30 12:50 ` [Bug target/51354] " jakub at gcc dot gnu.org
@ 2011-12-06 10:02 ` jakub at gcc dot gnu.org
  2011-12-06 14:24 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-06 10:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-12-06
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-06 10:02:15 UTC ---
Created attachment 26004
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26004
gcc47-pr51354.patch

Untested fix.


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

* [Bug target/51354] [4.7 Regression] ICE in maybe_record_trace_start
  2011-11-30 12:45 [Bug target/51354] New: [4.7 Regression] ICE in maybe_record_trace_start jakub at gcc dot gnu.org
  2011-11-30 12:50 ` [Bug target/51354] " jakub at gcc dot gnu.org
  2011-12-06 10:02 ` jakub at gcc dot gnu.org
@ 2011-12-06 14:24 ` rguenth at gcc dot gnu.org
  2011-12-06 17:15 ` jakub at gcc dot gnu.org
  2011-12-07 17:47 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-06 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug target/51354] [4.7 Regression] ICE in maybe_record_trace_start
  2011-11-30 12:45 [Bug target/51354] New: [4.7 Regression] ICE in maybe_record_trace_start jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-12-06 14:24 ` rguenth at gcc dot gnu.org
@ 2011-12-06 17:15 ` jakub at gcc dot gnu.org
  2011-12-07 17:47 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-06 17:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-06 17:15:23 UTC ---
Author: jakub
Date: Tue Dec  6 17:15:11 2011
New Revision: 182056

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182056
Log:
    PR target/51354
    * config/i386/i386.c (ix86_emit_leave): Call ix86_add_cfa_restore_note
    unconditionally.

    * gcc.c-torture/compile/pr51354.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr51354.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/51354] [4.7 Regression] ICE in maybe_record_trace_start
  2011-11-30 12:45 [Bug target/51354] New: [4.7 Regression] ICE in maybe_record_trace_start jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-12-06 17:15 ` jakub at gcc dot gnu.org
@ 2011-12-07 17:47 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-12-07 17:47 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-07 17:47:33 UTC ---
Fixed.


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

end of thread, other threads:[~2011-12-07 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-30 12:45 [Bug target/51354] New: [4.7 Regression] ICE in maybe_record_trace_start jakub at gcc dot gnu.org
2011-11-30 12:50 ` [Bug target/51354] " jakub at gcc dot gnu.org
2011-12-06 10:02 ` jakub at gcc dot gnu.org
2011-12-06 14:24 ` rguenth at gcc dot gnu.org
2011-12-06 17:15 ` jakub at gcc dot gnu.org
2011-12-07 17:47 ` 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).