[Bug ipa/107224] [13 Regression] ICE: verify_cgraph_node failed with -Og
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 11 23:20:04 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107224
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The full ICE is:
<source>: In function 'dataBeginPlaceToPage_maxOldItem':
<source>:6:3: error: edge points to wrong declaration:
6 | ItemPointerSet(dataBeginPlaceToPage_maxOldItem);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<function_decl 0x7f6525e97f00 __builtin_trap
type <function_type 0x7f6525ddd690
type <void_type 0x7f6525dcdf18 void VOID
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f6525dcdf18
pointer_to_this <pointer_type 0x7f6525dd5000>>
QI
size <integer_cst 0x7f6525daee58 constant 8>
unit-size <integer_cst 0x7f6525daee70 constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f6525ddd690
arg-types <tree_list 0x7f6525dc9cd0 value <void_type 0x7f6525dcdf18
void>>>
volatile nothrow public external built-in decl_6 QI <built-in>:0:0
align:8 warn_if_not_align:0 built-in: BUILT_IN_NORMAL:BUILT_IN_TRAP context
<translation_unit_decl 0x7f6525dbcc30 <source>>
attributes <tree_list 0x7f6525e99168
purpose <identifier_node 0x7f6525dd9c30 nothrow>
chain <tree_list 0x7f6525e99140
purpose <identifier_node 0x7f6525dd9c80 leaf>
chain <tree_list 0x7f6525e99118
purpose <identifier_node 0x7f6525dd9be0 noreturn>
chain <tree_list 0x7f6525e990f0
purpose <identifier_node 0x7f6525dd9a50 cold>>>>> chain
<function_decl 0x7f6525e9a000 __builtin_unreachable>>
Instead of: <function_decl 0x7f6525ef0700 ExceptionalCondition
type <function_type 0x7f6525dda9d8
type <integer_type 0x7f6525dcd5e8 int asm_written public SI
size <integer_cst 0x7f6525daefa8 constant 32>
unit-size <integer_cst 0x7f6525daefc0 constant 4>
align:32 warn_if_not_align:0 symtab:636507872 alias-set -1
canonical-type 0x7f6525dcd5e8 precision:32 min <integer_cst 0x7f6525daef60
-2147483648> max <integer_cst 0x7f6525daef78 2147483647>
pointer_to_this <pointer_type 0x7f6525dd5a80>>
QI
size <integer_cst 0x7f6525daee58 constant 8>
unit-size <integer_cst 0x7f6525daee70 constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f6525dda9d8
pointer_to_this <pointer_type 0x7f6525efa3f0>>
addressable used public external decl_2 decl_5 QI <source>:3:5 align:8
warn_if_not_align:0 chain <function_decl 0x7f6525ef0900
dataBeginPlaceToPage_maxOldItem>>
ItemPointerSet/0 (ItemPointerSet)
Type: function definition analyzed
Visibility: semantic_interposition external public
References:
Referring:
Function ItemPointerSet/0 is inline copy in dataBeginPlaceToPage_maxOldItem/1
Availability: available
Function flags: body
Called by: dataBeginPlaceToPage_maxOldItem/1 (inlined)
Calls: __builtin_trap/3 (0 (precise),1.00 per call)
during GIMPLE pass: einline
<source>: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 <https://gcc.gnu.org/bugs/> for instructions.
ASM generation compiler returned: 1
<source>: In function 'dataBeginPlaceToPage_maxOldItem':
<source>:6:3: error: edge points to wrong declaration:
6 | ItemPointerSet(dataBeginPlaceToPage_maxOldItem);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<function_decl 0x7f568b641f00 __builtin_trap
type <function_type 0x7f568b587690
type <void_type 0x7f568b577f18 void VOID
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f568b577f18
pointer_to_this <pointer_type 0x7f568b57f000>>
QI
size <integer_cst 0x7f568b558e58 constant 8>
unit-size <integer_cst 0x7f568b558e70 constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f568b587690
arg-types <tree_list 0x7f568b573cd0 value <void_type 0x7f568b577f18
void>>>
volatile nothrow public external built-in decl_6 QI <built-in>:0:0
align:8 warn_if_not_align:0 built-in: BUILT_IN_NORMAL:BUILT_IN_TRAP context
<translation_unit_decl 0x7f568b566c30 <source>>
attributes <tree_list 0x7f568b643168
purpose <identifier_node 0x7f568b583c30 nothrow>
chain <tree_list 0x7f568b643140
purpose <identifier_node 0x7f568b583c80 leaf>
chain <tree_list 0x7f568b643118
purpose <identifier_node 0x7f568b583be0 noreturn>
chain <tree_list 0x7f568b6430f0
purpose <identifier_node 0x7f568b583a50 cold>>>>> chain
<function_decl 0x7f568b644000 __builtin_unreachable>>
Instead of: <function_decl 0x7f568b69a700 ExceptionalCondition
type <function_type 0x7f568b5849d8
type <integer_type 0x7f568b5775e8 int asm_written public SI
size <integer_cst 0x7f568b558fa8 constant 32>
unit-size <integer_cst 0x7f568b558fc0 constant 4>
align:32 warn_if_not_align:0 symtab:-1955924256 alias-set -1
canonical-type 0x7f568b5775e8 precision:32 min <integer_cst 0x7f568b558f60
-2147483648> max <integer_cst 0x7f568b558f78 2147483647>
pointer_to_this <pointer_type 0x7f568b57fa80>>
QI
size <integer_cst 0x7f568b558e58 constant 8>
unit-size <integer_cst 0x7f568b558e70 constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f568b5849d8
pointer_to_this <pointer_type 0x7f568b6a43f0>>
addressable used public external decl_2 decl_5 QI <source>:3:5 align:8
warn_if_not_align:0 chain <function_decl 0x7f568b69a900
dataBeginPlaceToPage_maxOldItem>>
ItemPointerSet/0 (ItemPointerSet)
Type: function definition analyzed
Visibility: semantic_interposition external public
References:
Referring:
Function ItemPointerSet/0 is inline copy in dataBeginPlaceToPage_maxOldItem/1
Availability: available
Function flags: body
Called by: dataBeginPlaceToPage_maxOldItem/1 (inlined)
Calls: __builtin_trap/3 (0 (precise),1.00 per call)
during GIMPLE pass: einline
<source>: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 <https://gcc.gnu.org/bugs/> for instructions.
Execution build compiler returned: 1
More information about the Gcc-bugs
mailing list