Unaligned COMMON blocks generate bus erros. One of the most basic test used by
configure to test the alignement of the Fortran types fail to compile. Even
worst it generate a bus error on an Apple computer.

      program falign
      external ALIGN
      LOGICAL  w,x,y,z
      CHARACTER a,b,c
      common /foo/a,w,b,x,y,c,z
      call ALIGN(w,x,y,z)
      end


gfortran has been compiled from snapshot download today (4 May 2005) from the
gcc website. I compile it on a dual G5 machine using the flags "-mcpu=G5 
-maltivec".

-- 
           Summary: internal compiler error: Bus error
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gbosilca at utk dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin8.0.0
  GCC host triplet: powerpc-apple-darwin8.0.0
GCC target triplet: powerpc-apple-darwin8.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21384

Reply via email to