From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B793D385802B; Tue, 9 Feb 2021 17:39:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B793D385802B From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99033] [11 Regression] ICE in tree_to_poly_int64, at tree.c:3091 Date: Tue, 09 Feb 2021 17:39:56 +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 X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: cf_gcctarget keywords 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, 09 Feb 2021 17:39:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99033 G. Steinmetz changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-pc-linux-gnu Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz --- Seems to go back to r6 when configured with --enable-checking=3Dyes : (and then with no need for -fsanitize=3Dundefined) $ g++-11-20210207 -c z1.cc z1.cc:9:1: internal compiler error: tree check: expected constructor, have error_mark in array_size_for_constructor, at varasm.c:5340 9 | } | ^ 0x6629b8 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/tree.c:9814 0x1389b07 tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/tree.h:3349 0x1389b07 array_size_for_constructor ../../gcc/varasm.c:5340 0x1389b07 output_constructor_regular_field ../../gcc/varasm.c:5511 0x1389b07 output_constructor ../../gcc/varasm.c:5797 0x1389ee9 output_constant ../../gcc/varasm.c:5149 #...=