public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32348] New: ICE on valid code
@ 2007-06-14 20:12 edmar at freescale dot com
2007-06-14 23:26 ` [Bug target/32348] " joseph at codesourcery dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: edmar at freescale dot com @ 2007-06-14 20:12 UTC (permalink / raw)
To: gcc-bugs
Gcc version 4.2.0 configured for e500v2, i.e.:
--target=powerpc-unknown-linux-gnuspe --enable-e500_double
ICE occurs during build of eglic-2.5.
Here is the command with -v, attached is e_expl.i
/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/libexec/gcc/powerpc-unknown-linux-gnuspe/4.2.0/cc1
-E -quiet -nostdinc -v -I../include -I/tmp/edmar/gcc_420/build/obj_glibc/math
-I/tmp/edmar/gcc_420/build/obj_glibc -I../sysdeps/powerpc/powerpc32/elf
-I../sysdeps/powerpc/elf
-I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu
-I../ports/sysdeps/powerpc/powerpc32/e500/fpu
-I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
-I../sysdeps/powerpc/powerpc32/fpu
-I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../nptl/sysdeps/unix/sysv/linux/powerpc
-I../ports/sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux/powerpc
-I../sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc
-I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../ports/sysdeps/powerpc/powerpc32/e500
-I../ports/sysdeps/powerpc/powerpc32 -I../sysdeps/powerpc/powerpc32
-I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu -I../nptl/sysdeps/powerpc
-I../ports/sysdeps/powerpc -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -MD
/tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.d -MF
/tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o.dt -MP -MT
/tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o -MQ
/tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o -D__unix__ -D__gnu_linux__
-D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix
-Asystem=posix -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES
-D_LIBC_REENTRANT -DNOT_IN_libc=1 -DIS_IN_libm=1 -isystem
/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include
-isystem
/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include-fixed
-isystem
/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/sysroot/usr/include
-include ../include/libc-symbols.h ../sysdeps/ieee754/ldbl-128ibm/e_expl.c
-mnew-mnemonics -mlong-double-128 -std=gnu99 -Wall -Winline -Wwrite-strings
-Wstrict-prototypes -Wno-uninitialized -fmerge-all-constants
-fworking-directory -O2 -fpch-preprocess -o e_expl.i
ignoring nonexistent directory
"/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include-fixed"
#include "..." search starts here:
#include <...> search starts here:
../include
/tmp/edmar/gcc_420/build/obj_glibc/math
/tmp/edmar/gcc_420/build/obj_glibc
../sysdeps/powerpc/powerpc32/elf
../sysdeps/powerpc/elf
../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/fpu
../ports/sysdeps/powerpc/powerpc32/e500/fpu
../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500
../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
../sysdeps/powerpc/powerpc32/fpu
../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32
../sysdeps/unix/sysv/linux/powerpc/powerpc32
../nptl/sysdeps/unix/sysv/linux/powerpc
../ports/sysdeps/unix/sysv/linux/powerpc
../sysdeps/unix/sysv/linux/powerpc
../sysdeps/ieee754/ldbl-128ibm
../sysdeps/ieee754/ldbl-opt
../nptl/sysdeps/unix/sysv/linux
../nptl/sysdeps/pthread
../sysdeps/pthread
../ports/sysdeps/unix/sysv/linux
../sysdeps/unix/sysv/linux
../sysdeps/gnu
../sysdeps/unix/common
../sysdeps/unix/mman
../sysdeps/unix/inet
../nptl/sysdeps/unix/sysv
../ports/sysdeps/unix/sysv
../sysdeps/unix/sysv
../sysdeps/unix/powerpc
../nptl/sysdeps/unix
../ports/sysdeps/unix
../sysdeps/unix
../sysdeps/posix
../ports/sysdeps/powerpc/powerpc32/e500
../ports/sysdeps/powerpc/powerpc32
../sysdeps/powerpc/powerpc32
../sysdeps/wordsize-32
../sysdeps/powerpc/fpu
../nptl/sysdeps/powerpc
../ports/sysdeps/powerpc
../sysdeps/powerpc
../sysdeps/ieee754/dbl-64
../sysdeps/ieee754/flt-32
../sysdeps/ieee754
../sysdeps/generic/elf
../sysdeps/generic
../nptl
../ports
..
../libio
.
/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include
/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/sysroot/usr/include
End of search list.
/_TOOLS_/dist/gnu_toolchain/gnu-gcc-4.2.0-binutils-2.17-eglibc-2.5-e500v2-powerpc-unknown-linux-gnuspe/i686-pc-linux2.4/libexec/gcc/powerpc-unknown-linux-gnuspe/4.2.0/cc1
-fpreprocessed e_expl.i -quiet -dumpbase e_expl.c -mnew-mnemonics
-mlong-double-128 -auxbase-strip
/tmp/edmar/gcc_420/build/obj_glibc/math/e_expl.o -g -O2 -Wall -Winline
-Wwrite-strings -Wstrict-prototypes -Wno-uninitialized -std=gnu99 -version
-fmerge-all-constants -o e_expl.s
GNU C version 4.2.0 (powerpc-unknown-linux-gnuspe)
compiled by GNU C version 4.1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a666172138ca0c0512de464b313f1fec
In file included from ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:68:
../sysdeps/generic/inttypes.h:399: warning: C99 inline functions are not
supported; using GNU89
../sysdeps/generic/inttypes.h:399: warning: to disable this warning use
-fgnu89-inline or the gnu_inline function attribute
../sysdeps/generic/inttypes.h:417: warning: C99 inline functions are not
supported; using GNU89
../sysdeps/generic/inttypes.h:433: warning: C99 inline functions are not
supported; using GNU89
../sysdeps/generic/inttypes.h:452: warning: C99 inline functions are not
supported; using GNU89
In file included from ../posix/sys/types.h:224,
from ../include/sys/types.h:2,
from ../math/math_private.h:21,
from
../ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h:2,
from ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:69:
../sysdeps/unix/sysv/linux/sys/sysmacros.h:43: warning: C99 inline functions
are not supported; using GNU89
../sysdeps/unix/sysv/linux/sys/sysmacros.h:49: warning: C99 inline functions
are not supported; using GNU89
../sysdeps/unix/sysv/linux/sys/sysmacros.h:55: warning: C99 inline functions
are not supported; using GNU89
In file included from
../ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h:2,
from ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:69:
../math/math_private.h:196: warning: C99 inline functions are not supported;
using GNU89
../math/math_private.h:243: warning: C99 inline functions are not supported;
using GNU89
../math/math_private.h:311: warning: C99 inline functions are not supported;
using GNU89
../sysdeps/ieee754/ldbl-128ibm/e_expl.c: In function '__ieee754_expl':
../sysdeps/ieee754/ldbl-128ibm/e_expl.c:257: error: unrecognizable insn:
(insn 766 765 767 6 ../sysdeps/ieee754/ldbl-128ibm/e_expl.c:156 (set (reg:DF 7
7)
(mem/s/u:DF (plus:SI (reg:SI 29 29 [181])
(const_int 2848 [0xb20])) [5 __expl_table S8 A128])) -1 (nil)
(nil))
../sysdeps/ieee754/ldbl-128ibm/e_expl.c:257: internal compiler error: in
extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE on valid code
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edmar at freescale dot com
GCC build triplet: x86_64-redhat-linux
GCC host triplet: x86_64-redhat-linux
GCC target triplet: powerpc-unknown-linux-gnuspe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32348
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/32348] ICE on valid code
2007-06-14 20:12 [Bug c/32348] New: ICE on valid code edmar at freescale dot com
@ 2007-06-14 23:26 ` joseph at codesourcery dot com
2009-03-23 1:54 ` bje at gcc dot gnu dot org
2009-03-23 15:13 ` edmar at freescale dot com
2 siblings, 0 replies; 4+ messages in thread
From: joseph at codesourcery dot com @ 2007-06-14 23:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from joseph at codesourcery dot com 2007-06-14 23:26 -------
Subject: Re: New: ICE on valid code
On Thu, 14 Jun 2007, edmar at freescale dot com wrote:
> Gcc version 4.2.0 configured for e500v2, i.e.:
> --target=powerpc-unknown-linux-gnuspe --enable-e500_double
>
> ICE occurs during build of eglic-2.5.
glibc for Power requires IBM long double, and IBM long double for E500 is
not supported by unmodified FSF GCC 4.2 (since my patch to add the support
was large and depended on changes to target-independent RTL parts of the
compiler that were potentially risky to other targets - and indeed did
need followup patches to fix problems with other targets that showed up
when those changes went on mainline).
If you are using a compiler with all the relevant changes backported, then
GCC Bugzilla isn't the right place to report bugs in it. Of course, if
the bug still applies when building glibc (2.6 or later in order to work
with newer GCC) with current unmodified GCC trunk, then report it here as
a bug against trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32348
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/32348] ICE on valid code
2007-06-14 20:12 [Bug c/32348] New: ICE on valid code edmar at freescale dot com
2007-06-14 23:26 ` [Bug target/32348] " joseph at codesourcery dot com
@ 2009-03-23 1:54 ` bje at gcc dot gnu dot org
2009-03-23 15:13 ` edmar at freescale dot com
2 siblings, 0 replies; 4+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-03-23 1:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bje at gcc dot gnu dot org 2009-03-23 01:53 -------
Edmar, can you confirm Joseph's suggestion? Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32348
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/32348] ICE on valid code
2007-06-14 20:12 [Bug c/32348] New: ICE on valid code edmar at freescale dot com
2007-06-14 23:26 ` [Bug target/32348] " joseph at codesourcery dot com
2009-03-23 1:54 ` bje at gcc dot gnu dot org
@ 2009-03-23 15:13 ` edmar at freescale dot com
2 siblings, 0 replies; 4+ messages in thread
From: edmar at freescale dot com @ 2009-03-23 15:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from edmar at freescale dot com 2009-03-23 15:13 -------
Ben, this bug is almost 2 years old.
I don't remember what we did to resolve the issue.
I am surprised to find it is still open. I am going try to close it.
Edmar
--
edmar at freescale dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32348
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-23 15:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-14 20:12 [Bug c/32348] New: ICE on valid code edmar at freescale dot com
2007-06-14 23:26 ` [Bug target/32348] " joseph at codesourcery dot com
2009-03-23 1:54 ` bje at gcc dot gnu dot org
2009-03-23 15:13 ` edmar at freescale dot com
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).