From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 330223857361; Tue, 11 Oct 2022 22:24:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 330223857361 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665527082; bh=AMClP77VpnpUUEHVYLYOvBzVKQ/TD6+dpuA4R8r5OWo=; h=From:To:Subject:Date:From; b=jxqAxFgi6T202sRvp/SAmUbNnKFO7KVLlaXAPNBTTHfMLEdNx4EsHQXUdbKWp69+d unBfgF+nISgpYt7IvC5MW2oDEYrfXY46MtdWpYmo5ojASBEzrgLsJ+gkHXgDE+2UJZ YB0rhCuciY5O67FOws4oEHRhIn1XjqdeXllMPDfw= From: "andres at anarazel dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107224] New: ICE: verify_cgraph_node failed with -Og Date: Tue, 11 Oct 2022 22:24:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andres at anarazel dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created 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=3D107224 Bug ID: 107224 Summary: ICE: verify_cgraph_node failed with -Og Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: andres at anarazel dot de Target Milestone: --- Created attachment 53693 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53693&action=3Dedit reproducer Hi, When building postgres with gcc 13 I get a lot of ICEs. I reproduced this on today's master (53955284c03) and reduced one of the failing files with cvis= e. $ ~/build/gcc-master/install/bin/gcc -Og -c gindatapage.i -o gindatapage.o [bunch of warnings due to cvise] > QI size unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f3b8de315e8 arg-types >> volatile nothrow public external built-in decl_6 QI :0:0 align:8 warn_if_not_align:0 built-in: BUILT_IN_NORMAL:BUILT_IN_TRAP con= text attributes chain chain chain >>>> chain > Instead of: unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-ty= pe 0x7f3b8de215e8 precision:32 min max pointer_to_this > QI size unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f3b8de30930 pointer_to_this > addressable used public external decl_2 decl_5 QI gindatapage.i:3:5 ali= gn:8 warn_if_not_align:0 chain > ItemPointerSet/0 (ItemPointerSet) Type: function definition analyzed Visibility: semantic_interposition external public References:=20 Referring:=20 Function ItemPointerSet/0 is inline copy in dataBeginPlaceToPage_maxOldIt= em/1 Availability: available Function flags: body Called by: dataBeginPlaceToPage_maxOldItem/1 (inlined)=20 Calls: __builtin_trap/3 (0 (precise),1.00 per call)=20 during GIMPLE pass: einline gindatapage.i:6:3: internal compiler error: verify_cgraph_node failed 0xa35b90 cgraph_node::verify_node() /home/andres/src/gcc/gcc/cgraph.cc:3881 0xa25804 symtab_node::verify() /home/andres/src/gcc/gcc/symtab.cc:1360 0xf5b0da expand_call_inline /home/andres/src/gcc/gcc/tree-inline.cc:4912 0xf5dbd6 gimple_expand_calls_inline /home/andres/src/gcc/gcc/tree-inline.cc:5318 0xf5dbd6 optimize_inline_calls(tree_node*) /home/andres/src/gcc/gcc/tree-inline.cc:5490 0x1d277ed early_inliner(function*) /home/andres/src/gcc/gcc/ipa-inline.cc:3038=