From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8853 invoked by alias); 24 Apr 2011 22:06:55 -0000 Received: (qmail 8842 invoked by uid 22791); 24 Apr 2011 22:06:54 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Apr 2011 22:06:34 +0000 From: "chilikin.k at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/48757] New: internal compiler error: in compensate_edge, at reg-stack.c:2788 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chilikin.k at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 24 Apr 2011 22:06:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg02506.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: chilikin.k@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 for instructions.