From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13385 invoked by alias); 23 Oct 2015 23:25:52 -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 13337 invoked by uid 48); 23 Oct 2015 23:25:48 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68055] ICE on using unsupported kinds in program without program statement Date: Fri, 23 Oct 2015 23:25: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed 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-10/txt/msg01980.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68055 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-10-23 CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from kargl at gcc dot gnu.org --- I could not generate an ICE with z1.f90. Instead, I the following error: % gfc6 -c g1.f90 g1.f90:3:7: c = 1 1 Error: Can't convert INTEGER(4) to INTEGER(3) at (1) with gcc 4.9.x, 5.2.x, and 6. gfortran should reject the *3. I have a patch that does now does % gfc6 -c g1.f90 g1.f90:2:12: integer*3 c 1 Error: Old-style type declaration INTEGER*3 not supported at (1)