From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6C186385DC2E; Tue, 10 Nov 2020 09:02:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C186385DC2E From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzk3MTcyXSBbMTEgUmVncmVzc2lvbl0gSUNFOiB0cmVl?= =?UTF-8?B?IGNvZGUg4oCYc3NhX25hbWXigJkgaXMgbm90IHN1cHBvcnRlZCBpbiBMVE8g?= =?UTF-8?B?c3RyZWFtcyBzaW5jZSByMTEtMzMwMy1nNjQ1MGYwNzM4OGY5ZmU1Nw==?= Date: Tue, 10 Nov 2020 09:02:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 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, 10 Nov 2020 09:02:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97172 --- Comment #11 from Martin Li=C5=A1ka --- I have one more test-case that started to ICE since the same revision: $ cat 3.i int write_to_fftw_input_buffers_frames; void write_to_fftw_input_buffers(); void write_to_fftw_input_buffers(short buf[write_to_fftw_input_buffers_fram= es * 2]) { } $ gcc -flto -O2 3.i -shared -fPIC lto1: internal compiler error: Segmentation fault 0xc9f3df crash_signal /home/marxin/Programming/gcc/gcc/toplev.c:330 0x7ffff7889d1f ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.32-2.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_= 64/sigaction.c:0 0xb40091 stream_read_tree_ref(lto_input_block*, data_in*) /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1832 0xec7319 lto_input_ts_exp_tree_pointers /home/marxin/Programming/gcc/gcc/tree-streamer-in.c:905 0xec7319 streamer_read_tree_body(lto_input_block*, data_in*, tree_node*) /home/marxin/Programming/gcc/gcc/tree-streamer-in.c:1087 0xb3fa59 lto_read_tree_1 /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1702 0xb4013d lto_read_tree /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1743 0xb4013d lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned in= t) /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1884 0xb403d7 lto_input_scc(lto_input_block*, data_in*, unsigned int*, unsigned int*, bool) /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1772 0xb40451 lto_input_tree(lto_input_block*, data_in*) /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1899 0xb424cb streamer_read_chain /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1334 0xb424cb input_function /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1364 0xb424cb lto_read_body_or_constructor /home/marxin/Programming/gcc/gcc/lto-streamer-in.c:1623 0x86eeed cgraph_node::get_untransformed_body() /home/marxin/Programming/gcc/gcc/cgraph.c:3936 0x87ad2d cgraph_node::expand() /home/marxin/Programming/gcc/gcc/cgraphunit.c:1800 0x87c32f expand_all_functions /home/marxin/Programming/gcc/gcc/cgraphunit.c:1997 0x87c32f symbol_table::compile() /home/marxin/Programming/gcc/gcc/cgraphunit.c:2361 0x7d1d25 lto_main() /home/marxin/Programming/gcc/gcc/lto/lto.c:653 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status=