[Bug libfortran/32954] mask and -fdefault-integer-8
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Thu Aug 2 08:06:00 GMT 2007
------- Comment #17 from dominiq at lps dot ens dot fr 2007-08-02 08:06 -------
The following reduced cas:
integer,allocatable :: foo(:,:)
allocate(foo(0,1:7))
print *, pack(foo(:,1),foo(:,1)==0,(/1,2/))
deallocate(foo)
end
gives a "Bus error" when run. It works if I replace the mask by a scalar or if
I remove the vector (/1,2/).
This is for gfortran 4.3.0 revision 127147 for which I have reloaded iresolve.c
from the repository (anyway I had the right version). Do you see the bus error?
or is it a bug for big endian machines only?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32954
More information about the Gcc-bugs
mailing list