public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
@ 2015-01-06 20:04 zsojka at seznam dot cz
  2015-01-09 11:31 ` [Bug target/64513] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2015-01-06 20:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

            Bug ID: 64513
           Summary: [4.8/4.9/5 Regression] ICE: in
                    maybe_record_trace_start, at dwarf2cfi.c:2231 with
                    -mstack-arg-probe
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 34389
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34389&action=edit
reduced testcase

Compiler output:
$ gcc -O2 -mstack-arg-probe testcase.c         
testcase.c: In function 'bar':
testcase.c:19:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2302
 }
 ^
0x879e5c maybe_record_trace_start
        /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2302
0x87aa53 scan_trace
        /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2480
0x87c20a create_cfi_notes
        /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2634
0x87c20a execute_dwarf2_frame
        /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:2990
0x87c20a execute
        /mnt/svn/gcc-trunk/gcc/dwarf2cfi.c:3470
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r219255 - ICE
4_9 r219040 - ICE
4_8 r219093 - ICE
4_7 r211571 - ICE
4_6 r197894 - OK


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

* [Bug target/64513] [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
  2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
@ 2015-01-09 11:31 ` rguenth at gcc dot gnu.org
  2015-01-12 16:24 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-01-09 11:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.5


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

* [Bug target/64513] [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
  2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
  2015-01-09 11:31 ` [Bug target/64513] " rguenth at gcc dot gnu.org
@ 2015-01-12 16:24 ` jakub at gcc dot gnu.org
  2015-01-12 20:46 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-12 16:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34424
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34424&action=edit
gcc5-pr64513.patch

Untested fix.


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

* [Bug target/64513] [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
  2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
  2015-01-09 11:31 ` [Bug target/64513] " rguenth at gcc dot gnu.org
  2015-01-12 16:24 ` jakub at gcc dot gnu.org
@ 2015-01-12 20:46 ` jakub at gcc dot gnu.org
  2015-01-12 20:53 ` [Bug target/64513] [4.8/4.9 " jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-12 20:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jan 12 20:45:38 2015
New Revision: 219492

URL: https://gcc.gnu.org/viewcvs?rev=219492&root=gcc&view=rev
Log:
    PR target/64513
    * config/i386/i386.c (ix86_expand_prologue): Add
    REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.

    * gcc.target/i386/pr64513.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr64513.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/64513] [4.8/4.9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
  2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2015-01-12 20:46 ` jakub at gcc dot gnu.org
@ 2015-01-12 20:53 ` jakub at gcc dot gnu.org
  2015-01-14 22:05 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-12 20:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |5.0
            Summary|[4.8/4.9/5 Regression] ICE: |[4.8/4.9 Regression] ICE:
                   |in                          |in
                   |maybe_record_trace_start,   |maybe_record_trace_start,
                   |at dwarf2cfi.c:2231 with    |at dwarf2cfi.c:2231 with
                   |-mstack-arg-probe           |-mstack-arg-probe
      Known to fail|5.0                         |

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.


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

* [Bug target/64513] [4.8/4.9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
  2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2015-01-12 20:53 ` [Bug target/64513] [4.8/4.9 " jakub at gcc dot gnu.org
@ 2015-01-14 22:05 ` jakub at gcc dot gnu.org
  2015-02-01 21:50 ` jakub at gcc dot gnu.org
  2015-02-01 21:57 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-14 22:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan 14 22:04:49 2015
New Revision: 219618

URL: https://gcc.gnu.org/viewcvs?rev=219618&root=gcc&view=rev
Log:
    Backported from mainline
    2015-01-12  Jakub Jelinek  <jakub@redhat.com>

    PR target/64513
    * config/i386/i386.c (ix86_expand_prologue): Add
    REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.

    * gcc.target/i386/pr64513.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr64513.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/i386/i386.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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

* [Bug target/64513] [4.8/4.9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
  2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2015-01-14 22:05 ` jakub at gcc dot gnu.org
@ 2015-02-01 21:50 ` jakub at gcc dot gnu.org
  2015-02-01 21:57 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-01 21:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Feb  1 21:49:47 2015
New Revision: 220331

URL: https://gcc.gnu.org/viewcvs?rev=220331&root=gcc&view=rev
Log:
    Backported from mainline
    2015-01-12  Jakub Jelinek  <jakub@redhat.com>

    PR target/64513
    * config/i386/i386.c (ix86_expand_prologue): Add
    REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.

    * gcc.target/i386/pr64513.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr64513.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/i386/i386.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


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

* [Bug target/64513] [4.8/4.9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe
  2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2015-02-01 21:50 ` jakub at gcc dot gnu.org
@ 2015-02-01 21:57 ` jakub at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-01 21:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64513

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

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-02-01 21:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-06 20:04 [Bug target/64513] New: [4.8/4.9/5 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2231 with -mstack-arg-probe zsojka at seznam dot cz
2015-01-09 11:31 ` [Bug target/64513] " rguenth at gcc dot gnu.org
2015-01-12 16:24 ` jakub at gcc dot gnu.org
2015-01-12 20:46 ` jakub at gcc dot gnu.org
2015-01-12 20:53 ` [Bug target/64513] [4.8/4.9 " jakub at gcc dot gnu.org
2015-01-14 22:05 ` jakub at gcc dot gnu.org
2015-02-01 21:50 ` jakub at gcc dot gnu.org
2015-02-01 21:57 ` 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).