--- Comment #11 from dominiq at lps dot ens dot fr 2007-10-30 16:45 ---
The use of '<', '>', and '=' has been introduced in revision 126468. However
looking at proc parse_atom in gcc/fortran/module.c, they do not seem to be in
the recognized character set.
--
http://gcc.gnu.org/bugz
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Status|WAITING |NEW
Ever Confirmed|0 |1
Ke
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2007-10-30 16:23
---
Further reduced:
module foo
contains
function pop(n) result(item)
integer :: n
character(len=merge(0, 0, n > 0)) :: item
end function pop
end module foo
program test
use foo
end program
--
fxc
--- Comment #9 from dominiq at lps dot ens dot fr 2007-10-30 14:50 ---
Reduced test case:
module m_common_elstack
implicit none
private
! Simple stack to keep track of which elements have appeared so far
! Initial stack size:
integer, parameter :: STACK_SIZE_INIT = 10
! M
--- Comment #8 from dominiq at lps dot ens dot fr 2007-10-30 14:15 ---
Comparing the working mod file to the non working one, I have found that "GT"
was replaced by ">" and "LE" by "<=". I ignored the warning "If you edit this,
you'll get what you deserve." and did the changes in the non
--- Comment #7 from dominiq at lps dot ens dot fr 2007-10-30 13:06 ---
I see the failure for the FOX-3.0 tarball with both revisions 129038 and
129734.
Note that the make succeeds with gfortran 4.2.2. So this seems to be a 4.3
regression, but not a really recent one.
--
http://gcc.g
--- Comment #6 from tow21 at cam dot ac dot uk 2007-10-30 12:23 ---
So much for trying to cut down the testcase.
To replicate the bug
wget http://source.uszla.me.uk/FoX/FoX-3.0.tgz && \
tar xzf FoX-3.0.tgz && cd FoX-3.0 && \
./configure && make
(or if you have gfortran installed somew
--- Comment #5 from dominiq at lps dot ens dot fr 2007-10-30 12:07 ---
The make in the tar file fails with:
m_common_error.f90:4.35:
use pxf, only: pxfabort, pxfflush
1
Fatal Error: Can't open module file 'pxf.mod' for reading at (1): No such file
or
--- Comment #4 from tow21 at cam dot ac dot uk 2007-10-30 10:55 ---
Created an attachment (id=14440)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14440&action=view)
test case for failure
Rather than uploading all the dependencies, here is a tarball. Unpack it, cd
into common/ and
--- Comment #3 from tow21 at cam dot ac dot uk 2007-10-30 10:48 ---
Created an attachment (id=14439)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14439&action=view)
dependency of problem file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941
--- Comment #2 from burnus at gcc dot gnu dot org 2007-10-29 19:32 ---
The example is incomplete as the module m_common_array_str is not in the
example file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941
--- Comment #1 from tow21 at cam dot ac dot uk 2007-10-29 17:04 ---
Created an attachment (id=14435)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14435&action=view)
file causes failure on compilation
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941
13 matches
Mail list logo