public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42678] [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
@ 2010-01-09 23:52 ` burnus at gcc dot gnu dot org
2010-01-10 21:37 ` [Bug middle-end/42678] " rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-01-09 23:52 UTC (permalink / raw)
To: gcc-bugs
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253
@ 2010-01-09 23:52 burnus at gcc dot gnu dot org
2010-01-09 23:52 ` [Bug middle-end/42678] " burnus at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-01-09 23:52 UTC (permalink / raw)
To: gcc-bugs
The following program causes an ICE. With an older version of the 4.5 trunk it
worked thus it is a true regression.
$ gfortran -Wall -c -flto -O1 test.f
$ ${PATH}/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto1 -o /dev/null ylm4.o
Performing interprocedural optimizations
<whole-program> <inline>Assembling functions:
ylm4
In file included from test.f:5:0,
from :0:
test.f: In function 'ylm4':
test.f:9:0: internal compiler error: in expand_mult, at expmed.c:3253
SUBROUTINE ylm4(ylm)
COMPLEX, INTENT (OUT):: ylm(1)
INTEGER l,m
COMPLEX ylms
REAL, ALLOCATABLE, SAVE :: ynorm(:)
ylms = 0
DO m = 1, 1
DO l = m, 1
ylm(m) = conjg(ylms)*ynorm(m)
ENDDO
ENDDO
END SUBROUTINE ylm4
--
Summary: [4.5 Regression] ICE with lto1 in expand_mult, at
expmed.c:3253
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/42678] ICE with lto1 in expand_mult, at expmed.c:3253
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
2010-01-09 23:52 ` [Bug middle-end/42678] " burnus at gcc dot gnu dot org
@ 2010-01-10 21:37 ` rguenth at gcc dot gnu dot org
2010-01-10 21:38 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-10 21:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-10 21:37 -------
It can't be a regression. We never lower complex operations if you compile
with -Ox but link with -O0.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |lto
Last reconfirmed|0000-00-00 00:00:00 |2010-01-10 21:37:38
date| |
Summary|[4.5 Regression] ICE with |ICE with lto1 in
|lto1 in expand_mult, at |expand_mult, at
|expmed.c:3253 |expmed.c:3253
Target Milestone|4.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/42678] ICE with lto1 in expand_mult, at expmed.c:3253
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
2010-01-09 23:52 ` [Bug middle-end/42678] " burnus at gcc dot gnu dot org
2010-01-10 21:37 ` [Bug middle-end/42678] " rguenth at gcc dot gnu dot org
@ 2010-01-10 21:38 ` rguenth at gcc dot gnu dot org
2010-01-10 22:39 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-10 21:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-10 21:38 -------
*** Bug 40409 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rmansfield at qnx dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/42678] ICE with lto1 in expand_mult, at expmed.c:3253
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-01-10 21:38 ` rguenth at gcc dot gnu dot org
@ 2010-01-10 22:39 ` rguenth at gcc dot gnu dot org
2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-10 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-10 22:39 -------
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-01-10 21:37:38 |2010-01-10 22:39:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/42678] ICE with lto1 in expand_mult, at expmed.c:3253
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-01-10 22:39 ` rguenth at gcc dot gnu dot org
@ 2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-13 10:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-13 10:08 -------
Subject: Bug 42678
Author: rguenth
Date: Wed Jan 13 10:07:47 2010
New Revision: 155853
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155853
Log:
2010-01-13 Richard Guenther <rguenther@suse.de>
PR lto/42678
* tree-pass.h (PROP_gimple_lcx): New.
* cfgexpand.c (pass_expand): Require PROP_gimple_lcx.
* passes.c (init_optimization_passes): Move pass_lower_complex_O0
before the final cleanup_eh.
(dump_properties): Dump PROP_gimple_lcx.
* tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx.
(tree_lower_complex_O0): Remove.
(gate_no_optimization): Run if PROP_gimple_lcx is not set.
(pass_lower_complex_O0): Provide PROP_gimple_lcx. Run
tree_lower_complex, schedule TODO_update_ssa.
* lto-streamer-out.c (output_function): Stream the functions
properties.
* lto-streamer-in.c (input_function): Likewise.
(lto_read_body): Do not override them here.
* gfortran.dg/lto/20100110-1_0.f90: New testcase.
Added:
trunk/gcc/testsuite/gfortran.dg/lto/20100110-1_0.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
trunk/gcc/lto-streamer-in.c
trunk/gcc/lto-streamer-out.c
trunk/gcc/passes.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-complex.c
trunk/gcc/tree-pass.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/42678] ICE with lto1 in expand_mult, at expmed.c:3253
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
` (4 preceding siblings ...)
2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
@ 2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-13 10:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-13 10:08 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42678
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-01-13 10:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
2010-01-09 23:52 ` [Bug middle-end/42678] " burnus at gcc dot gnu dot org
2010-01-10 21:37 ` [Bug middle-end/42678] " rguenth at gcc dot gnu dot org
2010-01-10 21:38 ` rguenth at gcc dot gnu dot org
2010-01-10 22:39 ` rguenth at gcc dot gnu dot org
2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
2010-01-13 10:09 ` rguenth 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).