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

             Bug #: 50692
           Summary: option -finstrument-functions causes ICE
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: lo...@cray.com


> cat test1.F
      program hello

      include 'mpif.h'

      integer rank, size

      call MPI_INIT(ierr)
      call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr)
      call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierr)

      print *, "Hello from process ", rank, " of ", size, " !"

      call MPI_FINALIZE(rc)

      stop
      end
> ftn -finstrument-functions test1.F
test1.F: In function 'main':
test1.F:16: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.


Appears to be a regression - OK with 4.5.3.

Reply via email to