This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/32954] mask and -fdefault-integer-8



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]