http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56052
Bug #: 56052 Summary: [4.7/4.8 Regression] ICE in omp_add_variable, at gimplify.c:5606 Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: ja...@gcc.gnu.org As reported at http://gcc.gnu.org/ml/fortran/2013-01/msg00161.html the attached code ICE with 4.7.2 and trunk. This is a regression which occurred between revisions 181881 (2011-12-01, executable prints 'Correct') and 182076 (2011-12-07, ICE). Trunk at revision 195310 gives tst_openmp.f90: In function 'final': tst_openmp.f90:241:0: internal compiler error: in omp_add_variable, at gimplify.c:5894 select type (args)