https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124002
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
Summary|ice: virtual use of |[16 regression] ice:
|statement not up to date |virtual use of statement
| |not up to date
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Reduced code seems to be
--- bug1182.cc ---
extern "C" double pow(double, double);
double sigmoid_x;
double sigmoid() {
if (sigmoid_x)
return sigmoid_x;
return 0;
}
double der_sigmoid() {
double tmp = sigmoid();
return tmp - pow(tmp, 2);
}
It also appears to be a 16 regression:
cvise $ ~/gcc/results.15.2.0/bin/gcc -c -w -O2 -march=native bug1182.cc
cvise $
There are 55 commits in the git hash range I mentioned.