public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64310] New: libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383
@ 2014-12-15  8:27 sebastian.huber@embedded-brains.de
  2014-12-15 11:43 ` [Bug target/64310] " bernd.edlinger at hotmail dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sebastian.huber@embedded-brains.de @ 2014-12-15  8:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64310
           Summary: libgcc2.c:2051:1: internal compiler error: in
                    curr_insn_transform, at lra-constraints.c:3383
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sebastian.huber@embedded-brains.de

Building the arm-rtems target leads to this ICE:

/scratch/git-build/b-gcc-git-arm-rtems4.11/./gcc/xgcc
-B/scratch/git-build/b-gcc-git-arm-rtems4.11/./gcc/ -nostdinc
-B/scratch/git-build/b-gcc-git-arm-rtems4.11/arm-rtems4.11/newlib/ -isystem
/scratch/git-build/b-gcc-git-arm-rtems4.11/arm-rtems4.11/newlib/targ-include
-isystem /home/sh/archive/gcc-git/newlib/libc/include
-B/opt/rtems-4.11/arm-rtems4.11/bin/ -B/opt/rtems-4.11/arm-rtems4.11/lib/
-isystem /opt/rtems-4.11/arm-rtems4.11/include -isystem
/opt/rtems-4.11/arm-rtems4.11/sys-include    -g -O2 -mthumb -march=armv7-r
-mfpu=vfpv3-d16 -mfloat-abi=hard -O2
-I/home/sh/archive/gcc-git/libgcc/../newlib/libc/sys/rtems/include -g -O2
-DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -Dinhibit_libc  -fno-inline -I. -I.
-I../../../../../.././gcc -I/home/sh/archive/gcc-git/libgcc
-I/home/sh/archive/gcc-git/libgcc/. -I/home/sh/archive/gcc-git/libgcc/../gcc
-I/home/sh/archive/gcc-git/libgcc/../include  -DHAVE_CC_TLS  -o _divdc3.o -MT
_divdc3.o -MD -MP -MF _divdc3.dep -DL_divdc3 -c
/home/sh/archive/gcc-git/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/home/sh/archive/gcc-git/libgcc/libgcc2.c: In function '__divdc3':
/home/sh/archive/gcc-git/libgcc/libgcc2.c:2051:1: error: unable to generate
reloads for:
 }
 ^
(insn 29 27 30 3 (set (reg/v:DF 120 [ denom ])
        (plus:DF (mult:DF (reg/v:DF 191 [ c ])
                (reg/v:DF 118 [ ratio ]))
            (reg/v:DF 192 [ d ])))
/home/sh/archive/gcc-git/libgcc/libgcc2.c:2011 643 {*muldf3adddf_vfp}
     (nil))
/home/sh/archive/gcc-git/libgcc/libgcc2.c:2051:1: internal compiler error: in
curr_insn_transform, at lra-constraints.c:3383
0x8e9f85 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/sh/archive/gcc-git/gcc/rtl-error.c:110
0x81c7b7 curr_insn_transform
        /home/sh/archive/gcc-git/gcc/lra-constraints.c:3383
0x81d39e lra_constraints(bool)
        /home/sh/archive/gcc-git/gcc/lra-constraints.c:4324
0x80dbf4 lra(_IO_FILE*)
        /home/sh/archive/gcc-git/gcc/lra.c:2277
0x7cca89 do_reload
        /home/sh/archive/gcc-git/gcc/ira.c:5391
0x7cca89 execute
        /home/sh/archive/gcc-git/gcc/ira.c:5561
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/64310] libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383
  2014-12-15  8:27 [Bug target/64310] New: libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383 sebastian.huber@embedded-brains.de
@ 2014-12-15 11:43 ` bernd.edlinger at hotmail dot de
  2015-01-15 10:52 ` ramana at gcc dot gnu.org
  2015-01-15 10:56 ` bernd.edlinger at hotmail dot de
  2 siblings, 0 replies; 4+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-12-15 11:43 UTC (permalink / raw)
  To: gcc-bugs

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

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
I have something similar with:
../gcc-5-20141214/configure --prefix=/home/ed/gnu/arm-linux-gnueabihf
--enable-languages=all,ada,go,obj-c++ --with-arch=armv7-a --with-tune=cortex-a9
--with-fpu=vfpv3-d16 --with-float=hard


../../../gcc-5-20141214/libgcc/libgcc2.c: In function '__subvdi3':
../../../gcc-5-20141214/libgcc/libgcc2.c:147:1: error: unable to generate
reloads for:
 }
 ^
(insn 7 3 8 2 (parallel [
            (set (reg/v:DI 114 [ w ])
                (minus:DI (reg/v:DI 116 [ a ])
                    (reg/v:DI 117 [ b ])))
            (clobber (reg:CC 100 cc))
        ]) ../../../gcc-5-20141214/libgcc/libgcc2.c:141 27 {*arm_subdi3}
     (expr_list:REG_UNUSED (reg:CC 100 cc)
        (nil)))
../../../gcc-5-20141214/libgcc/libgcc2.c:147:1: internal compiler error: in
curr_insn_transform, at lra-constraints.c:3383
0x9a55ef _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    ../../gcc-5-20141214/gcc/rtl-error.c:110
0x85ebaf curr_insn_transform
    ../../gcc-5-20141214/gcc/lra-constraints.c:3383
0x8620ff lra_constraints(bool)
    ../../gcc-5-20141214/gcc/lra-constraints.c:4324
0x848cfb lra(_IO_FILE*)
    ../../gcc-5-20141214/gcc/lra.c:2277
0x7e4127 do_reload
    ../../gcc-5-20141214/gcc/ira.c:5391
0x7e466f execute
    ../../gcc-5-20141214/gcc/ira.c:5561
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/64310] libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383
  2014-12-15  8:27 [Bug target/64310] New: libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383 sebastian.huber@embedded-brains.de
  2014-12-15 11:43 ` [Bug target/64310] " bernd.edlinger at hotmail dot de
@ 2015-01-15 10:52 ` ramana at gcc dot gnu.org
  2015-01-15 10:56 ` bernd.edlinger at hotmail dot de
  2 siblings, 0 replies; 4+ messages in thread
From: ramana at gcc dot gnu.org @ 2015-01-15 10:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Preprocessed file - command line options etc.... something that can help people
reproduce this issue would be useful.

This still an issue ?


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

* [Bug target/64310] libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383
  2014-12-15  8:27 [Bug target/64310] New: libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383 sebastian.huber@embedded-brains.de
  2014-12-15 11:43 ` [Bug target/64310] " bernd.edlinger at hotmail dot de
  2015-01-15 10:52 ` ramana at gcc dot gnu.org
@ 2015-01-15 10:56 ` bernd.edlinger at hotmail dot de
  2 siblings, 0 replies; 4+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2015-01-15 10:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Ramana Radhakrishnan from comment #2)
> Preprocessed file - command line options etc.... something that can help
> people reproduce this issue would be useful.
> 
> This still an issue ?

It works again on current trunk.

Thanks.


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

end of thread, other threads:[~2015-01-15 10:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-15  8:27 [Bug target/64310] New: libgcc2.c:2051:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383 sebastian.huber@embedded-brains.de
2014-12-15 11:43 ` [Bug target/64310] " bernd.edlinger at hotmail dot de
2015-01-15 10:52 ` ramana at gcc dot gnu.org
2015-01-15 10:56 ` bernd.edlinger at hotmail dot de

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).