https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
--- Comment #9 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep 29 18:35:49 2016
New Revision: 240628
URL: https://gcc.gnu.org/viewcvs?rev=240628&root=gcc&view=rev
Log:
2016-09-29 Steven G. Kargl
Backport from trunk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
kargl at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
--- Comment #7 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep 8 22:33:10 2016
New Revision: 240039
URL: https://gcc.gnu.org/viewcvs?rev=240039&root=gcc&view=rev
Log:
2016-09-08 Steven G. Kargl
PR fortran/69514
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
--- Comment #6 from lkrupp at gcc dot gnu.org ---
Here's a test case for the paranoid among us:
! { dg-do run }
program p
implicit none
real , parameter :: arr(3) = [ real:: 2, 2.5, (1.5, 2.5) ]
real , parameter :: ari(3) = [ integer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
--- Comment #4 from lkrupp at gcc dot gnu.org ---
This patch is a kludge. I don't recommend it. But it does fix at least one of
the test cases, it passes the test suite, and it might point to a proper
solution:
Index: arith.c
==
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
lkrupp at gcc dot gnu.org changed:
What|Removed |Added
CC||lkrupp at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
--- Comment #2 from Gerhard Steinmetz
---
Test case from comment 0 can be reduced to e.g.
$ cat z3.f90
program p
real, parameter :: w(2) = [real :: 0, 3.0*[real :: 2]]
print *, w
end program
$ gfortran-6 -c z3.f90
f951: internal compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69514
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|