From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D15693858C01; Wed, 4 Oct 2023 12:05:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D15693858C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696421143; bh=+obhKtpbPmLSTdgzw+2NWxJohMvZ+ujnpSdsvDKauN0=; h=From:To:Subject:Date:From; b=To1zfpvZeBgqcS37UF7rvXHsabY1ImFKow4BBqb2ohf4fY4xHpDd/eAq9z9Tbdxrp 1XGZbMnb7URtLtjPxGoT9L053aWYHddLftF6ior0Psjxdz7LHr9NgTIQXybKDpTksJ zRUJ2CPAccuuiN+BqjdNFsZlbZSW9DOamZXvWW/g= From: "fkastl at suse dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/111692] New: ICE in output_constant at varasm:cc:5267 during RTL "final" pass Date: Wed, 04 Oct 2023 12:05:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fkastl at suse dot cz 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget Message-ID: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111692 Bug ID: 111692 Summary: ICE in output_constant at varasm:cc:5267 during RTL "final" pass Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: fkastl at suse dot cz CC: jamborm at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: x86_64-linux Running gcc on a test from the testsuite with -Os and -frounding-math: gcc src/gcc/testsuite/gcc.target/x86_64/abi/avx512f/test_passing_structs.c = -Os -frounding-math results in an ICE during RTL pass: final ../src/gcc/testsuite/gcc.target/x86_64/abi/avx512f/test_passing_structs.c: = In function =E2=80=98avx512f_test=E2=80=99: ../src/gcc/testsuite/gcc.target/x86_64/abi/avx512f/test_passing_structs.c:6= 5:1: internal compiler error: in output_constant, at varasm.cc:5267 65 | } | ^ 0x867e58 output_constant ../../src/gcc/varasm.cc:5267 0x1317655 output_constructor_regular_field ../../src/gcc/varasm.cc:5610 0x1317655 output_constructor ../../src/gcc/varasm.cc:5876 0x1317655 output_constructor_regular_field ../../src/gcc/varasm.cc:5610 0x1317655 output_constructor ../../src/gcc/varasm.cc:5876 0x13190e5 assemble_constant_contents ../../src/gcc/varasm.cc:3621 0x131a3f8 output_constant_def_contents ../../src/gcc/varasm.cc:3666 0x131a67c mark_constants_in_pattern ../../src/gcc/varasm.cc:4241 0x131ef07 mark_constants ../../src/gcc/varasm.cc:4273 0x131ef07 mark_constant_pool ../../src/gcc/varasm.cc:4289 0x131ef07 output_constant_pool ../../src/gcc/varasm.cc:4504 0x131ef07 assemble_start_function(tree_node*, char const*) ../../src/gcc/varasm.cc:1876 0xbfdaa1 rest_of_handle_final ../../src/gcc/final.cc:4236 0xbfdaa1 execute ../../src/gcc/final.cc:4318 This assert fails: 5265=20=20 5266 case REAL_TYPE: 5267 gcc_assert (size =3D=3D thissize); 5268 if (TREE_CODE (exp) !=3D REAL_CST) 5269 error ("initializer for floating value is not a floating constant");=