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



             Bug #: 56378

           Summary: gfortran internal compiler error

    Classification: Unclassified

           Product: gcc

           Version: 4.7.2

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: fortran

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: david.sa...@gmail.com





1) Unpack and cd to the attached directory



2) Run the "doit" script. The result is:



DCS:erpsim1:~/dcs/bmad_distribution/bmad_dist/bad> gfortran --version

GNU Fortran (GCC) 4.6.2

Copyright (C) 2011 Free Software Foundation, Inc.



DCS:erpsim1:~/dcs/bmad_distribution/bmad_dist/bad> ./doit

compiling: precision_def.f90

compiling: bmad_struct.f90

compiling: fortran_cpp_utils.f90

compiling: bmad_cpp_convert_mod.f90

bmad_cpp_convert_mod.f90: In function 'lat_to_c':

bmad_cpp_convert_mod.f90:5622:0: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.





This bug also appears with 4.6.3 and 4.7.2 (GNU Fortran (MacPorts gcc47

4.7.2_2). I have reproduced this bug on Linux and Mac.

Reply via email to