public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468
@ 2007-02-01 14:27 burnus at gcc dot gnu dot org
2007-02-02 14:44 ` [Bug middle-end/30667] " ubizjak at gmail dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-02-01 14:27 UTC (permalink / raw)
To: gcc-bugs
Using gcc version 4.3.0 20070201
and gcc version 4.3.0 20070130 on i386-pc-linux-gnu
(AMD Athlon(tm) XP 2800+) with the following options causes an ICE:
$ gfortran-4.3 -O2 -ftree-vectorize -march=athlon-xp test.f
test.f: In function 'cblank_cvb':
test.f:6: internal compiler error: in immed_double_const, at emit-rtl.c:468
gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk) with
gfortran-4.1.1 -O2 -ftree-vectorize -march=athlon-xp test.f
gives no ICE.
On AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ with today's 4.3 build
(gcc-Version 4.3.0 20070131 (experimental), x86_64-unknown-linux-gnu) and
gfortran -O3 -ftree-vectorize -march=athlon-xp -m32 xxx.f90
it does not give an ICE either.
Test case:
------------------------------------------
subroutine cblank_cvb(a,ndim)
character*(*) a
character*1 blank
data blank/' '/
do 100 i=1,ndim
100 a(i:i)=blank
end
------------------------------------------
Backtrace:
Breakpoint 1, fancy_abort (file=0x84af1dc
"/home/fxcoudert/gfortran_nightbuild/trunk/gcc/emit-rtl.c", line=468,
function=0x84af1c9 "immed_double_const") at
/home/fxcoudert/gfortran_nightbuild/trunk/gcc/diagnostic.c:641
641 /home/fxcoudert/gfortran_nightbuild/trunk/gcc/diagnostic.c: No such
file or directory.
in /home/fxcoudert/gfortran_nightbuild/trunk/gcc/diagnostic.c
(gdb) bt
#0 fancy_abort (file=0x84af1dc
"/home/fxcoudert/gfortran_nightbuild/trunk/gcc/emit-rtl.c", line=468,
function=0x84af1c9 "immed_double_const") at
/home/fxcoudert/gfortran_nightbuild/trunk/gcc/diagnostic.c:641
#1 0x0811089f in immed_double_const (i0=32, i1=0, mode=TImode) at
/home/fxcoudert/gfortran_nightbuild/trunk/gcc/emit-rtl.c:468
#2 0x000001d4 in ?? ()
#3 0x084af1c9 in __FUNCTION__.27361 ()
#4 0x00000080 in ?? ()
#5 0x00000000 in ?? ()
--
Summary: [Regression 4.3] ICE in immed_double_const, at emit-
rtl.c:468
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
GCC target triplet: i386-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/30667] [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468
2007-02-01 14:27 [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468 burnus at gcc dot gnu dot org
@ 2007-02-02 14:44 ` ubizjak at gmail dot com
2007-02-03 17:32 ` [Bug middle-end/30667] [4.3 Regression] " jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2007-02-02 14:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ubizjak at gmail dot com 2007-02-02 14:43 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00153.html
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com
|dot org |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2007-
| |02/msg00153.html
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-02-02 14:43:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/30667] [4.3 Regression] ICE in immed_double_const, at emit-rtl.c:468
2007-02-01 14:27 [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468 burnus at gcc dot gnu dot org
2007-02-02 14:44 ` [Bug middle-end/30667] " ubizjak at gmail dot com
@ 2007-02-03 17:32 ` jsm28 at gcc dot gnu dot org
2007-02-03 23:39 ` uros at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-02-03 17:32 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[Regression 4.3] ICE in |[4.3 Regression] ICE in
|immed_double_const, at emit-|immed_double_const, at emit-
|rtl.c:468 |rtl.c:468
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/30667] [4.3 Regression] ICE in immed_double_const, at emit-rtl.c:468
2007-02-01 14:27 [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468 burnus at gcc dot gnu dot org
2007-02-02 14:44 ` [Bug middle-end/30667] " ubizjak at gmail dot com
2007-02-03 17:32 ` [Bug middle-end/30667] [4.3 Regression] " jsm28 at gcc dot gnu dot org
@ 2007-02-03 23:39 ` uros at gcc dot gnu dot org
2007-02-12 21:25 ` harsha dot jagasia at amd dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-02-03 23:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from uros at gcc dot gnu dot org 2007-02-03 23:39 -------
Subject: Bug 30667
Author: uros
Date: Sat Feb 3 23:39:31 2007
New Revision: 121555
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121555
Log:
PR middle-end/30667
* combine.c (try_combine): Do not substitute source operand
with constants wider than 2 * HOST_BITS_PER_WIDE_INT.
testsuite/ChangeLog:
PR middle-end/30667
* gfortran.dg/pr30667.f: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr30667.f
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/30667] [4.3 Regression] ICE in immed_double_const, at emit-rtl.c:468
2007-02-01 14:27 [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468 burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-02-03 23:39 ` uros at gcc dot gnu dot org
@ 2007-02-12 21:25 ` harsha dot jagasia at amd dot com
2007-02-14 13:45 ` jellby at yahoo dot com
2007-03-02 14:53 ` ubizjak at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: harsha dot jagasia at amd dot com @ 2007-02-12 21:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from harsha dot jagasia at amd dot com 2007-02-12 21:25 -------
Does the patch from Uros fix this bug or is it still unresolved?
--
harsha dot jagasia at amd dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |harsha dot jagasia at amd
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/30667] [4.3 Regression] ICE in immed_double_const, at emit-rtl.c:468
2007-02-01 14:27 [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468 burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-02-12 21:25 ` harsha dot jagasia at amd dot com
@ 2007-02-14 13:45 ` jellby at yahoo dot com
2007-03-02 14:53 ` ubizjak at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: jellby at yahoo dot com @ 2007-02-14 13:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jellby at yahoo dot com 2007-02-14 13:45 -------
It's solved for me with gcc version 4.3.0 20070209 (it failed before).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/30667] [4.3 Regression] ICE in immed_double_const, at emit-rtl.c:468
2007-02-01 14:27 [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468 burnus at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-02-14 13:45 ` jellby at yahoo dot com
@ 2007-03-02 14:53 ` ubizjak at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2007-03-02 14:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ubizjak at gmail dot com 2007-03-02 14:53 -------
Fixed in mainline.
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |4.3.0
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30667
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-03-02 14:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01 14:27 [Bug tree-optimization/30667] New: [Regression 4.3] ICE in immed_double_const, at emit-rtl.c:468 burnus at gcc dot gnu dot org
2007-02-02 14:44 ` [Bug middle-end/30667] " ubizjak at gmail dot com
2007-02-03 17:32 ` [Bug middle-end/30667] [4.3 Regression] " jsm28 at gcc dot gnu dot org
2007-02-03 23:39 ` uros at gcc dot gnu dot org
2007-02-12 21:25 ` harsha dot jagasia at amd dot com
2007-02-14 13:45 ` jellby at yahoo dot com
2007-03-02 14:53 ` ubizjak at gmail 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).