This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20059] internal compiler error: Segmentation Fault - For common blocks
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2005 00:06:41 -0000
- Subject: [Bug fortran/20059] internal compiler error: Segmentation Fault - For common blocks
- References: <20050218162655.20059.dir@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-13 00:06 -------
(In reply to comment #2)
> Does this still segfault on powerpc? On i686 I get:
> In file pr20059.f90:10
>
> COMMON /CCPOOL/ RMIN,RMAX,ZMIN,ZMAX,IMIN,JMIN,IMAX,JMAX,NFLOP, &
> 1
> Warning: Padding of 4 bytes required before 'htp' in COMMON 'ccpool' at (1)
This is most likely because building a compiler for i686, HWI is 32bits but for PPC, it is 64bit and
because of PR 19387, we don't deal with HWI in the fortran front-end error/warning functions don't
understand HWI. (HWI == Host_Wide_int).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20059