public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/34040]  New: [4.3 Regression] ICE: in simplify_subreg, at simplify-rtx.c:4921 building libgfortran
@ 2007-11-09 10:42 rask at gcc dot gnu dot org
  2007-11-09 10:45 ` [Bug middle-end/34040] " rask at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: rask at gcc dot gnu dot org @ 2007-11-09 10:42 UTC (permalink / raw)
  To: gcc-bugs

Build failure in libgfortran with revision 129967 (128328 worked):

/home/rask/build/gcc-sh-unknown-elf/./gcc/gfortran
-B/home/rask/build/gcc-sh-unknown-elf/./gcc/ -nostdinc
-B/home/rask/build/gcc-sh-unknown-elf/sh-unknown-elf/m2e/newlib/ -isystem
/home/rask/build/gcc-sh-unknown-elf/sh-unknown-elf/m2e/newlib/targ-include
-isystem /n/12/rask/src/all/newlib/libc/include
-B/usr/local/sh-unknown-elf/bin/ -B/usr/local/sh-unknown-elf/lib/ -isystem
/usr/local/sh-unknown-elf/include -isystem
/usr/local/sh-unknown-elf/sys-include
-L/home/rask/build/gcc-sh-unknown-elf/./ld -m2e -DHAVE_CONFIG_H -I.
-I/n/12/rask/src/all/libgfortran -I. -iquote/n/12/rask/src/all/libgfortran/io
-I/n/12/rask/src/all/libgfortran/../gcc
-I/n/12/rask/src/all/libgfortran/../gcc/config -I../../.././gcc -D_GNU_SOURCE
-I . -Wall -fno-repack-arrays -fno-underscoring -fallow-leading-underscore -g
-O2 -m2e -c /n/12/rask/src/all/libgfortran/generated/_sign_r8.F90 -o _sign_r8.o
/n/12/rask/src/all/libgfortran/generated/_sign_r8.F90: In function
'_gfortran_specific__sign_r8':
/n/12/rask/src/all/libgfortran/generated/_sign_r8.F90:46: internal compiler
error: in simplify_subreg, at simplify-rtx.c:4921

(gdb) call debug_rtx (target)
(reg:SF 159 [ D.489 ])
(gdb) frame 6
#6  0x000000000069c488 in expand_copysign (op0=0x2ae08e34bba0,
op1=0x2ae08e34ba80, target=0x1ffffffff) at /n/12/rask/src/all/gcc/optabs.c:3621
3621              rtx targ_piece = operand_subword (target, i, 1, mode);
(gdb) call debug_rtx (op0)
(mem:DF (reg/v/f:SI 161 [ p1 ]) [2 (* p1) S8 A32])
(gdb) call debug_rtx (op1)
(mem:DF (reg/v/f:SI 162 [ p2 ]) [2 (* p2) S8 A32])
(gdb) print mode
$4 = DFmode

Notice the mismatching modes: mode = DFmode with SFmode target.

(gdb) frame 4
#4  0x000000000076a6c9 in simplify_subreg (outermode=SImode, op=0x2ae08e34dfa0,
innermode=DFmode, byte=0) at /n/12/rask/src/all/gcc/simplify-rtx.c:4920
4920      gcc_assert (GET_MODE (op) == innermode
(gdb) call debug_rtx(op)
(reg:SF 159 [ D.489 ])

Command line:
./gcc/f951 _sign_r8.f95 -ffree-form -quiet -dumpbase _sign_r8.F90 -m2e -m2e
-auxbase-strip _sign_r8.o -g -O2 -Wall -fno-repack-arrays -fno-underscoring
-fallow-leading-underscore -I. -I/n/12/rask/src/all/libgfortran -I.
-I/n/12/rask/src/all/libgfortran/../gcc
-I/n/12/rask/src/all/libgfortran/../gcc/config -I../../.././gcc -I .
-fpreprocessed -o /dev/null

Configure flags:
--target sh-unknown-elf --enable-checking=yes,rtl --with-newlib --enable-sim
--disable-gdb --disable-nls


-- 
           Summary: [4.3 Regression] ICE: in simplify_subreg, at simplify-
                    rtx.c:4921 building libgfortran
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rask at gcc dot gnu dot org
GCC target triplet: sh-unknown-elf


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


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

end of thread, other threads:[~2009-05-05  8:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-09 10:42 [Bug middle-end/34040] New: [4.3 Regression] ICE: in simplify_subreg, at simplify-rtx.c:4921 building libgfortran rask at gcc dot gnu dot org
2007-11-09 10:45 ` [Bug middle-end/34040] " rask at gcc dot gnu dot org
2007-11-09 18:49 ` [Bug rtl-optimization/34040] " pinskia at gcc dot gnu dot org
2007-11-12 19:21 ` ebotcazou at gcc dot gnu dot org
2007-11-12 19:21 ` ebotcazou at gcc dot gnu dot org
2007-11-12 21:06 ` [Bug fortran/34040] " ebotcazou at gcc dot gnu dot org
2007-11-13 12:28 ` fxcoudert at gcc dot gnu dot org
2007-11-14  4:02 ` kkojima at gcc dot gnu dot org
2007-11-16 23:43 ` fxcoudert at gcc dot gnu dot org
2007-11-17 17:10 ` [Bug fortran/34040] relation between kinds and C types (for math builtins) shouldn't be hardcoded fxcoudert at gcc dot gnu dot org
2007-11-18 10:27 ` kkojima at gcc dot gnu dot org
2008-03-30 20:00 ` pinskia at gcc dot gnu dot org
2008-06-15 15:12 ` fxcoudert at gcc dot gnu dot org
2009-04-10 20:44 ` dfranke at gcc dot gnu dot org
2009-05-05  8:18 ` [Bug fortran/34040] Support for DOUBLE_TYPE_SIZE != 64 targets fxcoudert at gcc dot gnu dot 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).