From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6A3D385DC02; Tue, 11 Oct 2022 23:20:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6A3D385DC02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665530404; bh=wvktuLtOxBDinebM4Ws4M/R0my5xxAyhzt2xAoOwvA4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YZDGnGM47JYGpozTdo0dLEmFb0qc3I/5quBLBLdm3ozWg7+79w9ogIllXxzWlp1Yq ZVZ9b11ftft5fXPZR3sgbpOVQP707TVKIh1c4bsChG48nZF8WKD1EbXVm3VVuYLidH KQ77WZNrpTMXLJ20GtdJUZFUqh/H7DAzaWa3vOxY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/107224] [13 Regression] ICE: verify_cgraph_node failed with -Og Date: Tue, 11 Oct 2022 23:20:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 13.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107224 --- Comment #1 from Andrew Pinski --- The full ICE is: : In function 'dataBeginPlaceToPage_maxOldItem': :6:3: error: edge points to wrong declaration: 6 | ItemPointerSet(dataBeginPlaceToPage_maxOldItem); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > QI size unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f6525ddd690 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:636507872 alias-set -1 canonical-type 0x7f6525dcd5e8 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 0x7f6525dda9d8 pointer_to_this > addressable used public external decl_2 decl_5 QI :3:5 align: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 :6:3: internal compiler error: verify_cgraph_node failed 0x204ebde internal_error(char const*, ...) ???:0 0xb69ba7 cgraph_node::verify_node() ???:0 0xb57e0c symtab_node::verify() ???:0 0x10cc531 optimize_inline_calls(tree_node*) ???:0 0x1eb22d6 early_inliner(function*) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ASM generation compiler returned: 1 : In function 'dataBeginPlaceToPage_maxOldItem': :6:3: error: edge points to wrong declaration: 6 | ItemPointerSet(dataBeginPlaceToPage_maxOldItem); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > QI size unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f568b587690 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:-1955924256 alias-set -1 canonical-type 0x7f568b5775e8 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 0x7f568b5849d8 pointer_to_this > addressable used public external decl_2 decl_5 QI :3:5 align: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 :6:3: internal compiler error: verify_cgraph_node failed 0x204ebde internal_error(char const*, ...) ???:0 0xb69ba7 cgraph_node::verify_node() ???:0 0xb57e0c symtab_node::verify() ???:0 0x10cc531 optimize_inline_calls(tree_node*) ???:0 0x1eb22d6 early_inliner(function*) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. Execution build compiler returned: 1=