From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122133 invoked by alias); 29 Sep 2015 23:03:08 -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 Received: (qmail 117451 invoked by uid 48); 29 Sep 2015 23:03:03 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67758] [GCC 6 regression] ICE on invalid use of COMMON Date: Tue, 29 Sep 2015 23:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg02334.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67758 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #4 from Dominique d'Humieres --- OK. I can reproduce the ICE in free form (*.f90) by replacing '80 000 000' with '80000000'. The change occurred between r226476 (2015-08-02, error) and r227016 (2015-08-19, ICE), likely r226732 (pr59746). > But, the real issue is that the second COMMON is not > allowed to appear in the execution block of a program. > gfortran should probably error out earlier. Agreed, although the original error Error: PROCEDURE attribute conflicts with COMMON attribute in 'xx' at (1) may not be obvious to understand.