public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14924] New: Compiler ICE on valid code
@ 2004-04-12 16:49 edmar at motorola dot com
2004-04-12 17:08 ` [Bug c/14924] " edmar at motorola dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: edmar at motorola dot com @ 2004-04-12 16:49 UTC (permalink / raw)
To: gcc-bugs
There is a problem with NE rtl handling for powerpc e500 target on the latest
3.4 pre-release.
This little program, seg faults the compiler:
#include <spe.h>
__ev64_u16__ * g_vp_u16 ;
__ev64_u16__ g_v_u16 ;
void
test___ev_stdd (void)
{
__ev_stdd (g_v_u16,g_vp_u16,31U);
}
Command line was:
gcc-3.4-20040406/bin/gcc -O1 -S x.c -save-temps
Here is the output:
x.c: In function `test___ev_stdd':
x.c:9: internal compiler error: in copy_to_mode_reg, at explow.c:667
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Several benchmarks in spec2k have problems. Perlbmk also ICE:
op.c: In function `list_assignment':
op.c:2552: error: unrecognizable insn:
(insn:HI 257 256 258 18 (set (reg:CCEQ 212)
(compare:CCEQ (gtu:SI (reg:CCUNS 211)
(const_int 0 [0x0]))
(const_int 0 [0x0]))) -1 (nil)
(expr_list:REG_DEAD (reg:CCUNS 211)
(nil)))
op.c:2552: internal compiler error: in extract_insn, at recog.c:2083
--
Summary: Compiler ICE on valid code
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edmar at motorola dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnuspe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
@ 2004-04-12 17:08 ` edmar at motorola dot com
2004-04-12 17:12 ` [Bug target/14924] " bangerth at dealii dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: edmar at motorola dot com @ 2004-04-12 17:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From edmar at motorola dot com 2004-04-12 16:00 -------
Created an attachment (id=6077)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6077&action=view)
This is the .i file for the small test case submited
This is the .i file for the small test case submited
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
2004-04-12 17:08 ` [Bug c/14924] " edmar at motorola dot com
@ 2004-04-12 17:12 ` bangerth at dealii dot org
2004-04-12 17:12 ` [Bug c/14924] " edmar at motorola dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-04-12 17:12 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
2004-04-12 17:08 ` [Bug c/14924] " edmar at motorola dot com
2004-04-12 17:12 ` [Bug target/14924] " bangerth at dealii dot org
@ 2004-04-12 17:12 ` edmar at motorola dot com
2004-04-12 17:45 ` [Bug target/14924] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: edmar at motorola dot com @ 2004-04-12 17:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From edmar at motorola dot com 2004-04-12 16:03 -------
Here is the outut of -v (config info)
-------------------------------------
Reading specs from
/root/edmar/gcc-3.4-20040406/lib/gcc/powerpc-unknown-linux-gnuspe/3.4.0/specs
Configured with: ../src/gcc_sources/configure
--prefix=/root/edmar/gcc-3.4-20040406 --target=powerpc-unknown-linux-gnuspe
--host=powerpc-unknown-linux-gnuspe --enable-languages=c,c++ --disable-gdbtk
--without-x
Thread model: posix
gcc version 3.4.0 20040407 (prerelease)
/root/edmar/gcc-3.4-20040406/libexec/gcc/powerpc-unknown-linux-gnuspe/3.4.0/cc1
-E -quiet -v -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux
-D__linux -Asystem=linux -Asystem=unix -Asystem=posix x.c -O1 -o x.i
ignoring nonexistent directory
"/root/edmar/gcc-3.4-20040406/lib/gcc/powerpc-unknown-linux-gnuspe/3.4.0/../../../../powerpc-unknown-linux-gnuspe/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/root/edmar/gcc-3.4-20040406/include
/root/edmar/gcc-3.4-20040406/lib/gcc/powerpc-unknown-linux-gnuspe/3.4.0/include
/usr/include
End of search list.
/root/edmar/gcc-3.4-20040406/libexec/gcc/powerpc-unknown-linux-gnuspe/3.4.0/cc1
-fpreprocessed x.i -quiet -dumpbase x.c -auxbase x -O1 -version -o x.s
GNU C version 3.4.0 20040407 (prerelease) (powerpc-unknown-linux-gnuspe)
compiled by GNU C version 2.95.4 20010319 (prerelease/franzo/20011204).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64501
x.c: In function `test___ev_stdd':
x.c:9: internal compiler error: in copy_to_mode_reg, at explow.c:667
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
` (2 preceding siblings ...)
2004-04-12 17:12 ` [Bug c/14924] " edmar at motorola dot com
@ 2004-04-12 17:45 ` pinskia at gcc dot gnu dot org
2004-05-13 11:51 ` dhazeghi at yahoo dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-12 17:45 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
` (3 preceding siblings ...)
2004-04-12 17:45 ` [Bug target/14924] " pinskia at gcc dot gnu dot org
@ 2004-05-13 11:51 ` dhazeghi at yahoo dot com
2004-05-27 14:45 ` aldyh at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-05-13 11:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-05-12 23:19 -------
typedef unsigned short __attribute__((vector_size(8))) __ev64_u16__;
Confirmed with current tree-ssa. Reduced snippet is:
__ev64_u16__ * g_vp_u16 ;
__ev64_u16__ g_v_u16 ;
void
test___ev_stdd (void)
{
__builtin_spe_evstdd (g_v_u16,g_vp_u16,31U);
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-12 23:19:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
` (4 preceding siblings ...)
2004-05-13 11:51 ` dhazeghi at yahoo dot com
@ 2004-05-27 14:45 ` aldyh at gcc dot gnu dot org
2004-05-27 17:02 ` aldyh at gcc dot gnu dot org
2004-05-31 16:45 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2004-05-27 14:45 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aldyh at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
` (5 preceding siblings ...)
2004-05-27 14:45 ` aldyh at gcc dot gnu dot org
@ 2004-05-27 17:02 ` aldyh at gcc dot gnu dot org
2004-05-31 16:45 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2004-05-27 17:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aldyh at gcc dot gnu dot org 2004-05-26 23:56 -------
Fixed.
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01701.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14924] Compiler ICE on valid code
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
` (6 preceding siblings ...)
2004-05-27 17:02 ` aldyh at gcc dot gnu dot org
@ 2004-05-31 16:45 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 16:45 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14924
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-05-30 15:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-12 16:49 [Bug c/14924] New: Compiler ICE on valid code edmar at motorola dot com
2004-04-12 17:08 ` [Bug c/14924] " edmar at motorola dot com
2004-04-12 17:12 ` [Bug target/14924] " bangerth at dealii dot org
2004-04-12 17:12 ` [Bug c/14924] " edmar at motorola dot com
2004-04-12 17:45 ` [Bug target/14924] " pinskia at gcc dot gnu dot org
2004-05-13 11:51 ` dhazeghi at yahoo dot com
2004-05-27 14:45 ` aldyh at gcc dot gnu dot org
2004-05-27 17:02 ` aldyh at gcc dot gnu dot org
2004-05-31 16:45 ` pinskia 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).