[Bug fortran/34143] alloc_comp_constructor.f90 fails with -fdefault-integer-8
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 11 17:48:00 GMT 2008
------- Comment #12 from pault at gcc dot gnu dot org 2008-02-11 17:48 -------
(In reply to comment #11)
OK I have a fix, up to a wrinkle that raises a standard question:
alloc_comp_constructor.f90 now compiles and runs OK but aborts because the
bounds are changed by the implicit conversion when -fdefault-integer-8 is used.
All that the standard says, as far as I can tell is that the descriptor be
copied. In fact, Erik and I had temporaries renormalised to unity lbounds; I
am begining to think that this is incorrect. If so, the bounds checks in the
testcase will fail, as they are doing with the implicit conversion.
Cheers
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34143
More information about the Gcc-bugs
mailing list