https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
Bug ID: 111482
Summary: ice in lower_bound with -O3
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 55934
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55934&action=edit
gzipped C++ source code
Given the attached C++ code and compiler flag -O3, recent gcc does
this:
during GIMPLE pass: vrp
bicgstab.cpp: In member function ‘QuantLib::BiCGStabResult
QuantLib::BiCGstab::solve(const QuantLib::Array&, const QuantLib::Array&)
const’:
bicgstab.cpp:37:20: internal compiler error: in lower_bound, at
value-range.h:1078
0xd452bb irange::lower_bound(unsigned int) const
../../trunk.year/gcc/value-range.h:1078
0x1800346 gimple_simplify_EXACT_DIV_EXPR(gimple_match_op*, gimple**, tree_node*
(*)(tree_node*), code_helper, tree_node*, tree_node*, tree_node*)
/home/dcb38/gcc/working/gcc/gimple-match-9.cc:8878
git range seems to be g:a335cf241b93ae9e .. g:fe0f9e0941304748,
a range of 48 commits.
I have a reduction running, but since this is C++, I am not expecting
fast results.