public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/29255] New: [4.2.0 regression] ICE on valid code
@ 2006-09-27 18:13 edmar at freescale dot com
2006-09-27 18:14 ` [Bug c/29255] " edmar at freescale dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: edmar at freescale dot com @ 2006-09-27 18:13 UTC (permalink / raw)
To: gcc-bugs
Compiler configure with --enable-e500_double
Problem reproduced with:
//temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2/bin/powerpc-unknown-linux-gnuspe-gcc
-O3 -funroll-loops -funroll-all-loops -S stream.i -v
Using built-in specs.
Target: powerpc-unknown-linux-gnuspe
Configured with: ../gcc-trunk/configure
--prefix=/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2
--with-local-prefix=/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2
--enable-languages=c,c++,fortran --enable-threads
--target=powerpc-unknown-linux-gnuspe
--with-gmp=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64
--with-mpfr=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64
--disable-shared --disable-multilib --disable-linux-futex --enable-e500_double
Thread model: posix
gcc version 4.2.0 20060926 (experimental)
/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20060926-e500v2/libexec/gcc/powerpc-unknown-linux-gnuspe/4.2.0/cc1
-fpreprocessed stream.i -quiet -dumpbase stream.i -auxbase stream -O3 -version
-funroll-loops -funroll-all-loops -o stream.s
GNU C version 4.2.0 20060926 (experimental) (powerpc-unknown-linux-gnuspe)
compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: af19c94719eeca398c0b645020867b59
stream.c: In function 'main':
stream.c:269: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.2.0 regression] 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 host triplet: x86_64-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnuspe-gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/29255] [4.2.0 regression] ICE on valid code
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
@ 2006-09-27 18:14 ` edmar at freescale dot com
2006-09-28 2:32 ` [Bug target/29255] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: edmar at freescale dot com @ 2006-09-27 18:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from edmar at freescale dot com 2006-09-27 18:14 -------
Created an attachment (id=12339)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12339&action=view)
Source code that causes the ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/29255] [4.2.0 regression] ICE on valid code
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
2006-09-27 18:14 ` [Bug c/29255] " edmar at freescale dot com
@ 2006-09-28 2:32 ` pinskia at gcc dot gnu dot org
2006-09-28 2:53 ` [Bug target/29255] [4.2 " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-28 2:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-28 02:32 -------
Reducing ....
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/29255] [4.2 regression] ICE on valid code
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
2006-09-27 18:14 ` [Bug c/29255] " edmar at freescale dot com
2006-09-28 2:32 ` [Bug target/29255] " pinskia at gcc dot gnu dot org
@ 2006-09-28 2:53 ` pinskia at gcc dot gnu dot org
2006-10-24 8:14 ` [Bug target/29255] [4.2/4.3 " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-28 2:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-28 02:53 -------
Reduced testcase:
static double a[2000000 +0],avgtime[4] = {0},maxtime[4] = {0};
main()
{
int j, k;
for (j=0; j<4; j++)
{
avgtime[j] = avgtime[j]/(double)(10 -1);
g(avgtime[j],maxtime[j] );
}
}
checktick(double asum, int j)
{
asum += a[j];
if (asum)
f();
}
-------------------
The instruction which it is failing on is:
(insn:TI 22 121 138 (set (subreg:DF (reg:DI 9 9) 0)
(mem/s/c:DF (plus:SI (reg/f:SI 29 29 [130])
(reg:SI 3 3 [131])) [3 avgtime+0 S8 A64])) 919 {*frob_di_df_2}
(nil)
(expr_list:REG_DEAD (reg:SI 3 3 [131])
(nil)))
Which is invalid as you should be splitting the DI part.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC host triplet|x86_64-unknown-linux-gnu |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-09-28 02:53:34
date| |
Summary|[4.2.0 regression] ICE on |[4.2 regression] ICE on
|valid code |valid code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/29255] [4.2/4.3 regression] ICE on valid code
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
` (2 preceding siblings ...)
2006-09-28 2:53 ` [Bug target/29255] [4.2 " pinskia at gcc dot gnu dot org
@ 2006-10-24 8:14 ` pinskia at gcc dot gnu dot org
2007-02-19 20:32 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-24 8:14 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/29255] [4.2/4.3 regression] ICE on valid code
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
` (3 preceding siblings ...)
2006-10-24 8:14 ` [Bug target/29255] [4.2/4.3 " pinskia at gcc dot gnu dot org
@ 2007-02-19 20:32 ` mmitchel at gcc dot gnu dot org
2007-03-11 3:23 ` [Bug target/29255] [4.2/4.3 regression] ICE on valid code on PPC SPE mmitchel at gcc dot gnu dot org
2007-03-11 13:59 ` jsm28 at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 20:32 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/29255] [4.2/4.3 regression] ICE on valid code on PPC SPE
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
` (4 preceding siblings ...)
2007-02-19 20:32 ` mmitchel at gcc dot gnu dot org
@ 2007-03-11 3:23 ` mmitchel at gcc dot gnu dot org
2007-03-11 13:59 ` jsm28 at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-03-11 3:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from mmitchel at gcc dot gnu dot org 2007-03-11 03:22 -------
Joseph --
Do you have any insight into this bug, from your work on SPE?
Thanks,
-- Mark
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joseph at codesourcery dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/29255] [4.2/4.3 regression] ICE on valid code on PPC SPE
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
` (5 preceding siblings ...)
2007-03-11 3:23 ` [Bug target/29255] [4.2/4.3 regression] ICE on valid code on PPC SPE mmitchel at gcc dot gnu dot org
@ 2007-03-11 13:59 ` jsm28 at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-03-11 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2007-03-11 13:59 -------
I can't reproduce this bug with current 4.2 branch or trunk. My guess as to
the most likely patch to have fixed this is:
2006-11-16 Joseph Myers <joseph@codesourcery.com>
* config/rs6000/spe.md (frob_di_df_2): Handle non-offsettable
memory operand.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29255
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-03-11 13:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-27 18:13 [Bug c/29255] New: [4.2.0 regression] ICE on valid code edmar at freescale dot com
2006-09-27 18:14 ` [Bug c/29255] " edmar at freescale dot com
2006-09-28 2:32 ` [Bug target/29255] " pinskia at gcc dot gnu dot org
2006-09-28 2:53 ` [Bug target/29255] [4.2 " pinskia at gcc dot gnu dot org
2006-10-24 8:14 ` [Bug target/29255] [4.2/4.3 " pinskia at gcc dot gnu dot org
2007-02-19 20:32 ` mmitchel at gcc dot gnu dot org
2007-03-11 3:23 ` [Bug target/29255] [4.2/4.3 regression] ICE on valid code on PPC SPE mmitchel at gcc dot gnu dot org
2007-03-11 13:59 ` jsm28 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).