This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/32954] mask and -fdefault-integer-8
- 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: 1 Aug 2007 21:19:16 -0000
- Subject: [Bug libfortran/32954] mask and -fdefault-integer-8
- References: <bug-32954-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from dominiq at lps dot ens dot fr 2007-08-01 21:19 -------
As far as I can tell, I have applied correctly your latest patch. But the
following reduced test
! { dg-do run }
! Transformational functions for zero-sized array and array sections
! Contributed by Francois-Xavier Coudert <coudert@clipper.ens.fr>
integer,allocatable :: foo(:,:)
allocate(foo(0,1:7))
foo = 1
if (size(pack(foo,foo/=0,(/1,3,4,5,1,0,7,9/))) /= 8 ) call abort
deallocate(foo)
end
gives a "Bus error" with -fdefault-integer-8.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32954