When compiling test.f90 file as follows:

> gfortran test.f90

I get the following error message:

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

Not sure if this is actually a bug as such. The code that causes this is
slightly bad. See sample file test.f90 attached.


-- 
           Summary: ICE: For character function with length specifier
                    dependent on non-present arg.
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pmason at ricardo dot com
 GCC build triplet: 4.6.0 20100828 (experimental)
  GCC host triplet: x86_64
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to