[Bug c++/83979] New: [8 Regression] ICE with pointer comparison
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 22 20:56:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83979
Bug ID: 83979
Summary: [8 Regression] ICE with pointer comparison
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
Target Milestone: ---
Compiling the testcase gcc/testsuite/gcc.dg/strict-overflow-6.c
as C++ code (i.e. with "g++ -x c++") triggers an ICE on trunk:
strict-overflow-6.c: In function 'int foo(char*)':
strict-overflow-6.c:10:1: error: non-trivial conversion at assignment
foo (char* p)
^~~
int
bool
D.2355 = 0;
strict-overflow-6.c:10:1: internal compiler error: verify_gimple failed
0xee696d verify_gimple_in_seq(gimple*)
../../gcc/gcc/tree-cfg.c:5242
0xc65a85 gimplify_body(tree_node*, bool)
../../gcc/gcc/gimplify.c:12710
0xc65c74 gimplify_function_tree(tree_node*)
../../gcc/gcc/gimplify.c:12800
0xae43f7 cgraph_node::analyze()
../../gcc/gcc/cgraphunit.c:670
0xae6d93 analyze_functions
../../gcc/gcc/cgraphunit.c:1131
0xae7b82 symbol_table::finalize_compilation_unit()
../../gcc/gcc/cgraphunit.c:2691
Please submit a full bug report, [etc.]
The regression was introduced between 2017-12-18 and 2017-12-22.
More information about the Gcc-bugs
mailing list