This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31608] wrong types in character array/scalar binop
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2007 21:47:10 -0000
- Subject: [Bug fortran/31608] wrong types in character array/scalar binop
- References: <bug-31608-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from dominiq at lps dot ens dot fr 2007-10-06 21:47 -------
The patch in comment #22 fixes the 3 PR's, but cause a quite massive regression
on my tests, for instance:
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
now gives
pr31216.f90:5: internal compiler error: Segmentation Fault
and so on. I did not have the time to comb the regressions, but for 3 ICE's
fixed I have15 new ones.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31608