http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48757
Summary: internal compiler error: in compensate_edge, at reg-stack.c:2788 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: chiliki...@gmail.com Created attachment 24093 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24093 fconc64.f (from CERNLIB / MATHLIB, simplified) Version of compiler: 4.6.0 The same problem exists in version 4.5.2 System type and configuration of the compiler: Target: i686-pc-linux-gnu Configured with: ./configure --prefix=/opt/gcc-4.6.0/ Thread model: posix Triggering the bug (fconc64.f is attached file): gfortran -c -O2 fconc64.f The bug does not occur without optimization flag -O2 Compiler output: fconc64.f:18.72: ASSIGN 1 TO JP 1 Warning: Deleted feature: ASSIGN statement at (1) fconc64.f:20.72: 1 ASSIGN 2 TO JP 1 Warning: Deleted feature: ASSIGN statement at (1) fconc64.f:24.72: 12 ASSIGN 3 TO JP 1 Warning: Deleted feature: ASSIGN statement at (1) fconc64.f:28.72: 13 ASSIGN 4 TO JP 1 Warning: Deleted feature: ASSIGN statement at (1) fconc64.f:36.38: IF(ABS(R-RR) .LT. EPS) GO TO JP, (1,2,3,4) 1 Warning: Deleted feature: Assigned GOTO statement at (1) fconc64.f:43.38: IF(ABS(R-RR) .LT. EPS) GO TO JP, (1,2,3,4) 1 Warning: Deleted feature: Assigned GOTO statement at (1) fconc64.f: In function 'dfconc': fconc64.f:52:0: internal compiler error: in compensate_edge, at reg-stack.c:2788 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.