public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/59923] New: [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g
@ 2014-01-23 16:24 Bernhard.Rosenkranzer at linaro dot org
  2014-01-29 12:54 ` [Bug regression/59923] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bernhard.Rosenkranzer at linaro dot org @ 2014-01-23 16:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59923
           Summary: [4.9 Regression] ICE in maybe_record_trace_start, at
                    dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2
                    -fvisibility=hidden -g
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bernhard.Rosenkranzer at linaro dot org

Created attachment 31935
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31935&action=edit
test case

$ /tmp/android-toolchain-eabi/bin/arm-linux-androideabi-gcc -o test.o -c
ucmndata.i -mcpu=cortex-a15  -g  -mthumb -fno-strict-aliasing -O2
-fvisibility=hidden
external/icu4c/common/ucmndata.c: In function 'udata_checkCommonData_51':
external/icu4c/common/ucmndata.c:362:1: internal compiler error: in
maybe_record_trace_start, at dwarf2cfi.c:2239
 }
 ^
0x4f3020 ???
        ../sysdeps/x86_64/start.S:122
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.


This might be a duplicate of bug 59575, but the code triggering it seems to be
rather different (didn't have the time to reduce it yet though).


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

* [Bug regression/59923] [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g
  2014-01-23 16:24 [Bug regression/59923] New: [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g Bernhard.Rosenkranzer at linaro dot org
@ 2014-01-29 12:54 ` rguenth at gcc dot gnu.org
  2014-01-29 17:05 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-01-29 12:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug regression/59923] [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g
  2014-01-23 16:24 [Bug regression/59923] New: [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g Bernhard.Rosenkranzer at linaro dot org
  2014-01-29 12:54 ` [Bug regression/59923] " rguenth at gcc dot gnu.org
@ 2014-01-29 17:05 ` jakub at gcc dot gnu.org
  2014-01-30 20:21 ` ktkachov at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-29 17:05 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 31982
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31982&action=edit
gcc49-pr59923.patch

This isn't a dup of PR59575, here the problem is that ce3 pass creates
cond_exec insn to restore an unwind info important register and adjust stack
pointer.
dwarf2 EH info can't express conditional restore and expressing conditional CFA
adjustment would be quite ugly there.

Untested fix attached, can anyone with an ARM box bootstrap/regtest it?


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

* [Bug regression/59923] [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g
  2014-01-23 16:24 [Bug regression/59923] New: [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g Bernhard.Rosenkranzer at linaro dot org
  2014-01-29 12:54 ` [Bug regression/59923] " rguenth at gcc dot gnu.org
  2014-01-29 17:05 ` jakub at gcc dot gnu.org
@ 2014-01-30 20:21 ` ktkachov at gcc dot gnu.org
  2014-01-30 21:48 ` jakub at gcc dot gnu.org
  2014-01-31 11:36 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-01-30 20:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Patch bootstrapped ok on arm-none-linux-gnueabihf configured
--with-arch=armv7-a --with-fpu=neon-vfpv4 --with-mode=thumb --with-float=hard
--enable-languages=c,c++,fortran

Passed regtest too.


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

* [Bug regression/59923] [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g
  2014-01-23 16:24 [Bug regression/59923] New: [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g Bernhard.Rosenkranzer at linaro dot org
                   ` (2 preceding siblings ...)
  2014-01-30 20:21 ` ktkachov at gcc dot gnu.org
@ 2014-01-30 21:48 ` jakub at gcc dot gnu.org
  2014-01-31 11:36 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-30 21:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 30 21:48:08 2014
New Revision: 207324

URL: http://gcc.gnu.org/viewcvs?rev=207324&root=gcc&view=rev
Log:
    PR target/59923
    * ifcvt.c (cond_exec_process_insns): Don't conditionalize
    frame related instructions.

    * gcc.target/arm/pr59923.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/arm/pr59923.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug regression/59923] [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g
  2014-01-23 16:24 [Bug regression/59923] New: [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g Bernhard.Rosenkranzer at linaro dot org
                   ` (3 preceding siblings ...)
  2014-01-30 21:48 ` jakub at gcc dot gnu.org
@ 2014-01-31 11:36 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-01-31 11:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-01-31 11:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-23 16:24 [Bug regression/59923] New: [4.9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239 with -mcpu=cortex-a15 -mthumb -O2 -fvisibility=hidden -g Bernhard.Rosenkranzer at linaro dot org
2014-01-29 12:54 ` [Bug regression/59923] " rguenth at gcc dot gnu.org
2014-01-29 17:05 ` jakub at gcc dot gnu.org
2014-01-30 20:21 ` ktkachov at gcc dot gnu.org
2014-01-30 21:48 ` jakub at gcc dot gnu.org
2014-01-31 11:36 ` rguenth 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).