[Bug tree-optimization/106126] [13 Regression] tree check fail in useless_type_conversion_p, at gimple-expr.cc:87 since r13-1184-g57424087e82db140

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 1 06:54:19 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106126

--- Comment #18 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to David Binderman from comment #15)
> Created attachment 53230 [details]
> gzipped C++ source code
> 
> 
> Please find attached an additional C++ test case. -O3 required this time:
> 
> $ /home/dcb/gcc/results/bin/g++ -c -O3 q1.ii
> during GIMPLE pass: iftoswitch
> ../src/common/uri.cpp: In member function ‘const char*
> wxURI::ParseUserInfo(const char*)’:
> ../src/common/uri.cpp:1086:1: internal compiler error: Segmentation fault
> 0x10ba099 crash_signal(int)
> 	../../trunk.git/gcc/toplev.cc:322
> 0x134244a gimple_nop_p(gimple const*)
> 	../../trunk.git/gcc/gimple.h:6747
> 0x134244a verify_use(basic_block_def*, basic_block_def*, ssa_use_operand_t*,
> gimple*, bool, bitmap_head*)
> 	../../trunk.git/gcc/tree-ssa.cc:880

I've just verified the following test-case is resolved fine with the current
master.


More information about the Gcc-bugs mailing list