public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31216] New: ICE on valid code with gfortran
@ 2007-03-16 11:44 jv244 at cam dot ac dot uk
2007-03-16 19:50 ` [Bug fortran/31216] " fxcoudert at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jv244 at cam dot ac dot uk @ 2007-03-16 11:44 UTC (permalink / raw)
To: gcc-bugs
A recent gfortran ICEs on the following code:
INTEGER :: I
CHARACTER(LEN=100) :: data="1.0 3.0"
REAL :: C,D
READ(data,*) C,D
I=TRANSFER(C/D,I)
SELECT CASE(I)
CASE (TRANSFER(1.0/3.0,1))
CASE DEFAULT
CALL ABORT()
END SELECT
END
--
Summary: ICE on valid code with gfortran
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31216
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/31216] ICE on valid code with gfortran
2007-03-16 11:44 [Bug fortran/31216] New: ICE on valid code with gfortran jv244 at cam dot ac dot uk
@ 2007-03-16 19:50 ` fxcoudert at gcc dot gnu dot org
2007-04-06 21:58 ` [Bug fortran/31216] TRANSFER in CASE leads to ICE brooks at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-03-16 19:50 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-03-16 19:50 -------
Reduced testcase follows:
$ cat a.f90
integer :: i
select case(i)
case (transfer(1,1))
end select
end
$ gfortran -c a.f90
a.f90: In function MAIN__:
a.f90:1: internal compiler error: in gfc_conv_constant_to_tree, at
fortran/trans-const.c:278
This is another TRANSFER constant-folding bug, they should probably be fixed by
the same function. Brooks said he was looking into it.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |18769, 30881
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.1.3 4.2.0 4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2007-03-16 19:50:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31216
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/31216] TRANSFER in CASE leads to ICE
2007-03-16 11:44 [Bug fortran/31216] New: ICE on valid code with gfortran jv244 at cam dot ac dot uk
2007-03-16 19:50 ` [Bug fortran/31216] " fxcoudert at gcc dot gnu dot org
@ 2007-04-06 21:58 ` brooks at gcc dot gnu dot org
2007-05-16 5:41 ` pault at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-04-06 21:58 UTC (permalink / raw)
To: gcc-bugs
--
brooks at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |brooks at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-03-16 19:50:30 |2007-04-06 22:58:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31216
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/31216] TRANSFER in CASE leads to ICE
2007-03-16 11:44 [Bug fortran/31216] New: ICE on valid code with gfortran jv244 at cam dot ac dot uk
2007-03-16 19:50 ` [Bug fortran/31216] " fxcoudert at gcc dot gnu dot org
2007-04-06 21:58 ` [Bug fortran/31216] TRANSFER in CASE leads to ICE brooks at gcc dot gnu dot org
@ 2007-05-16 5:41 ` pault at gcc dot gnu dot org
2007-05-16 8:14 ` pault at gcc dot gnu dot org
2007-05-26 3:09 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-05-16 5:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pault at gcc dot gnu dot org 2007-05-16 06:41 -------
Subject: Bug 31216
Author: pault
Date: Wed May 16 05:40:51 2007
New Revision: 124759
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124759
Log:
2007-05-16 Brooks Moses <brooks.moses@codesourcery.com>
PR fortran/18769
PR fortran/30881
PR fortran/31194
PR fortran/31216
PR fortran/31427
* target-memory.c: New file.
* target-memory.h: New file.
* simplify.c: Add #include "target-memory.h".
(gfc_simplify_transfer): Implement constant-
folding for TRANSFER intrinsic.
* Make-lang.in: Add dependencies on new target-memory.* files.
2007-05-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/18769
PR fortran/30881
PR fortran/31194
PR fortran/31216
PR fortran/31427
* transfer_simplify_1.f90: New test.
* transfer_simplify_2.f90: New test.
Added:
trunk/gcc/fortran/target-memory.c
trunk/gcc/fortran/target-memory.h
trunk/gcc/testsuite/gfortran.dg/transfer_simplify_1.f90
trunk/gcc/testsuite/gfortran.dg/transfer_simplify_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/Make-lang.in
trunk/gcc/fortran/simplify.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31216
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/31216] TRANSFER in CASE leads to ICE
2007-03-16 11:44 [Bug fortran/31216] New: ICE on valid code with gfortran jv244 at cam dot ac dot uk
` (2 preceding siblings ...)
2007-05-16 5:41 ` pault at gcc dot gnu dot org
@ 2007-05-16 8:14 ` pault at gcc dot gnu dot org
2007-05-26 3:09 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-05-16 8:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pault at gcc dot gnu dot org 2007-05-16 09:14 -------
Fixed on trunk
Paul and Brooks
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31216
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/31216] TRANSFER in CASE leads to ICE
2007-03-16 11:44 [Bug fortran/31216] New: ICE on valid code with gfortran jv244 at cam dot ac dot uk
` (3 preceding siblings ...)
2007-05-16 8:14 ` pault at gcc dot gnu dot org
@ 2007-05-26 3:09 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-26 3:09 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31216
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-05-26 3:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 11:44 [Bug fortran/31216] New: ICE on valid code with gfortran jv244 at cam dot ac dot uk
2007-03-16 19:50 ` [Bug fortran/31216] " fxcoudert at gcc dot gnu dot org
2007-04-06 21:58 ` [Bug fortran/31216] TRANSFER in CASE leads to ICE brooks at gcc dot gnu dot org
2007-05-16 5:41 ` pault at gcc dot gnu dot org
2007-05-16 8:14 ` pault at gcc dot gnu dot org
2007-05-26 3:09 ` 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).