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

           Summary: [4.6/4.7 Regression] ICE in fold_binary_loc, at
                    fold-const.c:9324
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: bur...@gcc.gnu.org


Created attachment 23880
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23880
Test case

Reported by Douglas Foulds at
http://gcc.gnu.org/ml/fortran/2011-04/msg00033.html

Said to fail (on Windows/MinGW) with:
  4.6.0 20110214 (experimental) [trunk revision 170140]
said to work with:
  4.6.0 20101027 (experimental) [trunk revision 166022]

Fails also with the current 4.7 trunk (on x86-64-linux).


The attached program fails with:

test.f90: In function ‘print_after_transfer’:
test.f90:99:0: internal compiler error: in fold_binary_loc, at
fold-const.c:9324

Reply via email to