public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/60949] New: Thumb2 LRA ICE for case pr34856.c
@ 2014-04-24  6:33 tony.wang at arm dot com
  2014-04-24  7:55 ` [Bug target/60949] " ramana at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tony.wang at arm dot com @ 2014-04-24  6:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60949
           Summary: Thumb2 LRA ICE for case pr34856.c
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tony.wang at arm dot com

I'm running regression test for the latest GCC trunk, and run into below ICE.
And if I disable the LRA feature with option mno-lra, the test case will pass:

./install-native/bin/arm-none-eabi-gcc -fno-diagnostics-show-caret -O3
-fomit-frame-pointer -funroll-loops  -w -c    -mthumb -mcpu=cortex-m3 -o
pr34856.o 
./src/gcc/gcc/testsuite/gcc.c-torture/compile/pr34856.c
./src/gcc/gcc/testsuite/gcc.c-torture/compile/pr34856.c: In function 'f1':
./src/gcc/gcc/testsuite/gcc.c-torture/compile/pr34856.c:17:1: internal compiler
error: in split_reg, at lra-constraints.c:4801
0x854bfc split_reg
   
/work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:4801
0x8558a5 split_if_necessary
   
/work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:4904
0x85df76 inherit_in_ebb
   
/work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:5391
0x85df76 lra_inheritance()
   
/work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra-constraints.c:5552
0x84d74a lra(_IO_FILE*)
    /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/lra.c:2368
0x80fb36 do_reload
    /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/ira.c:5457
0x80fb36 execute
    /work/arm_gcc/gcc-arm-none-eabi-4_8-2014q1-20140314/src/gcc/gcc/ira.c:5618
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.


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

* [Bug target/60949] Thumb2 LRA ICE for case pr34856.c
  2014-04-24  6:33 [Bug target/60949] New: Thumb2 LRA ICE for case pr34856.c tony.wang at arm dot com
@ 2014-04-24  7:55 ` ramana at gcc dot gnu.org
  2015-04-22 12:06 ` jakub at gcc dot gnu.org
  2015-07-16  9:15 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-04-24  7:55 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2014-04-24
                 CC|                            |ramana at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |ramana at gcc dot gnu.org
     Ever confirmed|0                           |1
   Target Milestone|---                         |4.10.0
           Severity|blocker                     |normal

--- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Identical to the report by clyon on the lists indicating it's my patch to
loosen reg classes that triggers this. 

digging.


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

* [Bug target/60949] Thumb2 LRA ICE for case pr34856.c
  2014-04-24  6:33 [Bug target/60949] New: Thumb2 LRA ICE for case pr34856.c tony.wang at arm dot com
  2014-04-24  7:55 ` [Bug target/60949] " ramana at gcc dot gnu.org
@ 2015-04-22 12:06 ` jakub at gcc dot gnu.org
  2015-07-16  9:15 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-04-22 12:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.0                         |5.2

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5.1 has been released.


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

* [Bug target/60949] Thumb2 LRA ICE for case pr34856.c
  2014-04-24  6:33 [Bug target/60949] New: Thumb2 LRA ICE for case pr34856.c tony.wang at arm dot com
  2014-04-24  7:55 ` [Bug target/60949] " ramana at gcc dot gnu.org
  2015-04-22 12:06 ` jakub at gcc dot gnu.org
@ 2015-07-16  9:15 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


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

end of thread, other threads:[~2015-07-16  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24  6:33 [Bug target/60949] New: Thumb2 LRA ICE for case pr34856.c tony.wang at arm dot com
2014-04-24  7:55 ` [Bug target/60949] " ramana at gcc dot gnu.org
2015-04-22 12:06 ` jakub at gcc dot gnu.org
2015-07-16  9:15 ` 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).