From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10874 invoked by alias); 11 Feb 2013 09:51:59 -0000 Received: (qmail 10821 invoked by uid 48); 11 Feb 2013 09:51:41 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56284] [OOP] ICE with contained routine which inappropriately compares a string and a number Date: Mon, 11 Feb 2013 09:51: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Summary Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-02/txt/msg01038.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56284 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-02-11 CC| |janus at gcc dot gnu.org Summary|ICE with contained routine |[OOP] ICE with contained |which inappropriately |routine which |compares a string and a |inappropriately compares a |number |string and a number Ever Confirmed|0 |1 --- Comment #2 from janus at gcc dot gnu.org 2013-02-11 09:51:39 UTC --- Reduced test case: module try_this implicit none type :: table_t contains procedure, nopass :: getRecord end type contains subroutine getRecord ( * ) end subroutine end module ICEs with 4.6, 4.7 and trunk. Backtrace: f951: internal compiler error: Segmentation fault 0xb0f2cd crash_signal /home/jweil/gcc48/trunk/gcc/toplev.c:332 0x57d360 compare_type_rank /home/jweil/gcc48/trunk/gcc/fortran/interface.c:522 0x57e327 check_dummy_characteristics /home/jweil/gcc48/trunk/gcc/fortran/interface.c:1027 0x57f25d gfc_compare_interfaces(gfc_symbol*, gfc_symbol*, char const*, int, int, char*, int, char const*, char const*) /home/jweil/gcc48/trunk/gcc/fortran/interface.c:1424 0x5d7600 resolve_structure_cons /home/jweil/gcc48/trunk/gcc/fortran/resolve.c:1221 0x5eb85f resolve_values /home/jweil/gcc48/trunk/gcc/fortran/resolve.c:10461 0x611b53 do_traverse_symtree /home/jweil/gcc48/trunk/gcc/fortran/symbol.c:3448 0x611c1f gfc_traverse_ns(gfc_namespace*, void (*)(gfc_symbol*)) /home/jweil/gcc48/trunk/gcc/fortran/symbol.c:3473 0x5f663c resolve_types /home/jweil/gcc48/trunk/gcc/fortran/resolve.c:14913 0x5f69a0 gfc_resolve(gfc_namespace*) /home/jweil/gcc48/trunk/gcc/fortran/resolve.c:14995 0x5ce423 gfc_parse_file() /home/jweil/gcc48/trunk/gcc/fortran/parse.c:4608 0x61adcd gfc_be_parse_file /home/jweil/gcc48/trunk/gcc/fortran/f95-lang.c:189