From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E75D7385DC0C; Tue, 14 Apr 2020 09:53:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E75D7385DC0C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586857987; bh=QvSPdjZcu+46YuWT2u+9FZc89PPrnKD96+c7CrjUcdE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C5bC7yooT/71kYNQ/GfOV1U/QxtZl+RiUzJUvwPyaRc9C/oD7Sj8bDE4PR8kJ92LI GveVjn3uOmvfGZdMN4MURN5CYMf1WB+DRH9S9HdixOjQZsuo313JIbYT/7hFBczPHy zfWb4nMRqtVkNTX4Y0CFZt3EBt/0gsIBljSEwV/o= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94530] [9/10 Regression] ICE: SIGSEGV in rhs_regno (rtl.h:1924) with -Os -mcpu=falkor -mpc-relative-literal-loads -mcmodel=large Date: Tue, 14 Apr 2020 09:53:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: akrl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Tue, 14 Apr 2020 09:53:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94530 --- Comment #5 from Zdenek Sojka --- (In reply to CVS Commits from comment #4) > The master branch has been updated by Andrea Corallo : >=20 > https://gcc.gnu.org/g:af19e4d0e23e5f61fc15e44a58bfa3b047854b1e >=20 > commit r10-7651-gaf19e4d0e23e5f61fc15e44a58bfa3b047854b1e > Author: Andrea Corallo > Date: Wed Apr 8 13:38:28 2020 +0100 >=20 > PR target/94530 >=20=20=20=20=20 > gcc/ChangeLog >=20=20=20=20=20 > 2020-04-09 Andrea Corallo >=20=20=20=20=20 > PR target/94530 > * config/aarch64/falkor-tag-collision-avoidance.c > (valid_src_p): Fix missing rtx type check. >=20=20=20=20=20 > gcc/testsuite/ChangeLog >=20=20=20=20=20 > 2020-04-09 Andrea Corallo >=20=20=20=20=20 > * gcc.target/aarch64/pr94530.c: New test. Thank you for checking this; I am still observing the issue with r10-7691: $ aarch64-unknown-linux-gnu-gcc -Os -mcpu=3Dfalkor -mpc-relative-literal-lo= ads -mcmodel=3Dlarge testcase.c -wrapper valgrind,-q =3D=3D24849=3D=3D Use of uninitialised value of size 8 =3D=3D24849=3D=3D at 0x14BACFD: valid_src_p (falkor-tag-collision-avoida= nce.c:541) =3D=3D24849=3D=3D by 0x14BACFD: get_load_info(rtx_insn*, loop*, rtx_def*= *, rtx_def**, rtx_def**, bool*, bool*) (falkor-tag-collision-avoidance.c:644) =3D=3D24849=3D=3D by 0x14BC0E5: record_loads (falkor-tag-collision-avoid= ance.c:774) =3D=3D24849=3D=3D by 0x14BC0E5: execute_tag_collision_avoidance() (falkor-tag-collision-avoidance.c:827) =3D=3D24849=3D=3D by 0x14BCD18: pass_tag_collision_avoidance::execute(fu= nction*) (falkor-tag-collision-avoidance.c:874) =3D=3D24849=3D=3D by 0xFD438E: execute_one_pass(opt_pass*) (passes.c:250= 2) =3D=3D24849=3D=3D by 0xFD4B3F: execute_pass_list_1(opt_pass*) (passes.c:= 2590) =3D=3D24849=3D=3D by 0xFD4B51: execute_pass_list_1(opt_pass*) (passes.c:= 2591) =3D=3D24849=3D=3D by 0xFD4B51: execute_pass_list_1(opt_pass*) (passes.c:= 2591) =3D=3D24849=3D=3D by 0xFD4B78: execute_pass_list(function*, opt_pass*) (passes.c:2601) =3D=3D24849=3D=3D by 0xC2EB6B: cgraph_node::expand() (cgraphunit.c:2299) =3D=3D24849=3D=3D by 0xC2FC0F: expand_all_functions (cgraphunit.c:2470) =3D=3D24849=3D=3D by 0xC2FC0F: symbol_table::compile() [clone .part.0] (cgraphunit.c:2820) =3D=3D24849=3D=3D by 0xC3237C: compile (cgraphunit.c:2733) =3D=3D24849=3D=3D by 0xC3237C: symbol_table::finalize_compilation_unit() (cgraphunit.c:3000) =3D=3D24849=3D=3D by 0x10D2F9A: compile_file() (toplev.c:483) =3D=3D24849=3D=3D=20 =3D=3D24849=3D=3D Invalid read of size 2 =3D=3D24849=3D=3D at 0x14BACFD: valid_src_p (falkor-tag-collision-avoida= nce.c:541) =3D=3D24849=3D=3D by 0x14BACFD: get_load_info(rtx_insn*, loop*, rtx_def*= *, rtx_def**, rtx_def**, bool*, bool*) (falkor-tag-collision-avoidance.c:644) =3D=3D24849=3D=3D by 0x14BC0E5: record_loads (falkor-tag-collision-avoid= ance.c:774) =3D=3D24849=3D=3D by 0x14BC0E5: execute_tag_collision_avoidance() (falkor-tag-collision-avoidance.c:827) =3D=3D24849=3D=3D by 0x14BCD18: pass_tag_collision_avoidance::execute(fu= nction*) (falkor-tag-collision-avoidance.c:874) =3D=3D24849=3D=3D by 0xFD438E: execute_one_pass(opt_pass*) (passes.c:250= 2) =3D=3D24849=3D=3D by 0xFD4B3F: execute_pass_list_1(opt_pass*) (passes.c:= 2590) =3D=3D24849=3D=3D by 0xFD4B51: execute_pass_list_1(opt_pass*) (passes.c:= 2591) =3D=3D24849=3D=3D by 0xFD4B51: execute_pass_list_1(opt_pass*) (passes.c:= 2591) =3D=3D24849=3D=3D by 0xFD4B78: execute_pass_list(function*, opt_pass*) (passes.c:2601) =3D=3D24849=3D=3D by 0xC2EB6B: cgraph_node::expand() (cgraphunit.c:2299) =3D=3D24849=3D=3D by 0xC2FC0F: expand_all_functions (cgraphunit.c:2470) =3D=3D24849=3D=3D by 0xC2FC0F: symbol_table::compile() [clone .part.0] (cgraphunit.c:2820) =3D=3D24849=3D=3D by 0xC3237C: compile (cgraphunit.c:2733) =3D=3D24849=3D=3D by 0xC3237C: symbol_table::finalize_compilation_unit() (cgraphunit.c:3000) =3D=3D24849=3D=3D by 0x10D2F9A: compile_file() (toplev.c:483) =3D=3D24849=3D=3D Address 0x1 is not stack'd, malloc'd or (recently) free'd =3D=3D24849=3D=3D=20 during RTL pass: tag_collision_avoidance testcase.c: In function 'foo': testcase.c:6:1: internal compiler error: Segmentation fault 6 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Note I am using gcc with RTL checking enabled; this might also explain why = you weren't seeing the crash on the 9-branch.=