From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C80CA3857C68; Wed, 9 Sep 2020 09:48:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C80CA3857C68 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599644889; bh=HlXP12tK33pm0Ss54/oPzO0a5hQnFb7cv56Y1RrKt8k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pEpGAiTOEpt311PRY4bCmMGxjjbEnF90iUQhIwWiA3RiPXChyT9OXJMF1sNLUw+A1 V58/HyqcPfItGW+FkLWOZFW/Eg1uSiE2LdEqUxzQG00EXYTDJtCXGwYlxcPR5yS2AB yX2X8YfFwm9/IPGX2x/hCA+HE5s3LL/nfQmiDP1A= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96983] [11 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042 Date: Wed, 09 Sep 2020 09:48:09 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget cc cf_gccbuild cf_gcchost Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 09:48:09 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96983 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc64*-linux-gnu |powerpc64*-linux-gnu, | |sparc*-sun-solaris2.11 CC| |ro at gcc dot gnu.org Build|powerpc64*-linux-gnu | Host|powerpc64*-linux-gnu | --- Comment #6 from Rainer Orth --- The test also FAIL on 64-bit SPARC with an ICE/SEGV: Excess errors: /vol/gcc/src/hg/master/local/gcc/testsuite/gfortran.dg/pr96711.f90:20:0: internal compiler error: Segmentation Fault 0xca67df crash_signal /vol/gcc/src/hg/master/local/gcc/toplev.c:327 0x8edab4 fold_convert_loc(unsigned int, tree_node*, tree_node*) /vol/gcc/src/hg/master/local/gcc/fold-const.c:2405 0x67606b build_round_expr /vol/gcc/src/hg/master/local/gcc/fortran/trans-intrinsic.c:408 0x67606b build_fix_expr /vol/gcc/src/hg/master/local/gcc/fortran/trans-intrinsic.c:436 0x676257 gfc_conv_intrinsic_int /vol/gcc/src/hg/master/local/gcc/fortran/trans-intrinsic.c:566 0x662867 gfc_trans_assignment_1 /vol/gcc/src/hg/master/local/gcc/fortran/trans-expr.c:10908 0x605d97 trans_code /vol/gcc/src/hg/master/local/gcc/fortran/trans.c:1864 0x641567 gfc_generate_function_code(gfc_namespace*) /vol/gcc/src/hg/master/local/gcc/fortran/trans-decl.c:6865 0x5a7e13 translate_all_program_units /vol/gcc/src/hg/master/local/gcc/fortran/parse.c:6347 0x5a7e13 gfc_parse_file() /vol/gcc/src/hg/master/local/gcc/fortran/parse.c:6616 0x60143f gfc_be_parse_file /vol/gcc/src/hg/master/local/gcc/fortran/f95-lang.c:212 $ f951 pr96711.f90 -mptr64 -mstack-bias -mno-v8plus -quiet -m64 -mcpu=3Dv9 = -O0 -fdump-tree-original -fintrinsic-modules-path finclude -o pr96711.s Thread 2 received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0x008edab4 in fold_convert_loc (loc=3D0, type=3D, arg=3D) at /vol/gcc/src/hg/master/local/gcc/fold-const.c:2404 2404 if (TREE_CODE (arg) =3D=3D ERROR_MARK (gdb) where #0 0x008edab4 in fold_convert_loc (loc=3D0, type=3D, arg=3D) at /vol/gcc/src/hg/master/local/gcc/fold-const.c:2404 #1 0x0067606c in build_round_expr (restype=3D, arg=3D) at /vol/gcc/src/hg/master/local/gcc/fortran/trans-intrinsic.c:408 #2 build_fix_expr (pblock=3D0xffbfdde4, arg=3D, type=3D, op=3D) = at /vol/gcc/src/hg/master/local/gcc/fortran/trans-intrinsic.c:436 #3 0x00676258 in gfc_conv_intrinsic_int (se=3D0xffbfdde4, expr=3D0x1be80a0, op=3DRND_ROUND) at /vol/gcc/src/hg/master/local/gcc/fortran/trans-intrinsic= .c:566 #4 0x00662868 in gfc_trans_assignment_1 (expr1=3D0x1be7ae0, expr2=3D0x1be8= 0a0, init_flag=3D, dealloc=3D, use_vptr_copy=3D, may_alias=3D) at /vol/gcc/src/hg/master/local/gcc/fortran/trans-expr.c:10908 #5 0x00605d98 in trans_code (code=3D0x1be8138, cond=3D) at /vol/gcc/src/hg/master/local/gcc/fortran/trans.c:1864 #6 0x00641568 in gfc_generate_function_code (ns=3D0x1be52c8) at /vol/gcc/src/hg/master/local/gcc/fortran/trans-decl.c:6865 #7 0x005a7e14 in translate_all_program_units (gfc_global_ns_list=3D0x1be52= c8) at /vol/gcc/src/hg/master/local/gcc/fortran/parse.c:6347 #8 gfc_parse_file () at /vol/gcc/src/hg/master/local/gcc/fortran/parse.c:6= 616 #9 0x00601440 in gfc_be_parse_file () at /vol/gcc/src/hg/master/local/gcc/fortran/f95-lang.c:212 #10 0x00ca69c8 in compile_file () at /vol/gcc/src/hg/master/local/gcc/toplev.c:457 #11 0x00ca9614 in do_compile () at /vol/gcc/src/hg/master/local/gcc/toplev.c:2314 #12 toplev::main (this=3D0xffbfe6b6, argc=3D, argv=3D) at /vol/gcc/src/hg/master/local/gcc/toplev.c:2453 #13 0x016dac70 in main (argc=3D14, argv=3D0xffbfe71c) at /vol/gcc/src/hg/master/local/gcc/main.c:39=