This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36577] Segmentation fault from gfortran compilation
- From: "zhonghaij at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2008 13:45:49 -0000
- Subject: [Bug fortran/36577] Segmentation fault from gfortran compilation
- References: <bug-36577-16352@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from zhonghaij at yahoo dot com 2008-06-20 13:45 -------
This code (coart.f) works fine on several SGI and SUN systems. On my mac, only
gfortran is available. based on the error message, I extracted the component
(start at line 12657) with problem and named as junk.f. However, compilation of
junk.f is fine. This is the puzzle!
(In reply to comment #0)
> I got an error message when compiling my code ?coart.f? . Seems gfortran does
> not like the block data. But I tried to separate the component with problem
> (the attached junk.f), it was fine. Could you please tell me why?
> Here is what happened:
>
> [zjin:~/coart/spec] jin% gfortran -c coart.f
> coart.f:12657: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
>
> [zjin:~/coart/spec] jin% gfortran -v
> Using built-in specs.
> Target: i386-apple-darwin8.9.1
> Configured with: ../gcc-4.3-20070518/configure --enable-languages=fortran,c++
> Thread model: posix
> gcc version 4.3.0 20070518 (experimental)
>
> Thank you in advance.
>
(In reply to comment #0)
> I got an error message when compiling my code ?coart.f? . Seems gfortran does
> not like the block data. But I tried to separate the component with problem
> (the attached junk.f), it was fine. Could you please tell me why?
> Here is what happened:
>
> [zjin:~/coart/spec] jin% gfortran -c coart.f
> coart.f:12657: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
>
> [zjin:~/coart/spec] jin% gfortran -v
> Using built-in specs.
> Target: i386-apple-darwin8.9.1
> Configured with: ../gcc-4.3-20070518/configure --enable-languages=fortran,c++
> Thread model: posix
> gcc version 4.3.0 20070518 (experimental)
>
> Thank you in advance.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577