[Bug c++/93048] ICE in verify_gimple
pilarlatiesa at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 23 10:43:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048
--- Comment #4 from Pilar Latiesa <pilarlatiesa at gmail dot com> ---
Minimal testcase ;-)
#include <valarray>
struct TTensor {};
struct TCoefs
{
double aP;
std::valarray<double> aF;
TTensor b;
};
TCoefs CalcCoefs()
{
double aP = 0.0;
return {aP, {}, {}};
}
I still don't understand why one of the members must be std::valarray. With a
contrived valarray class with the same constructors and noexcept qualifiers as
the std version the code compiles fine.
More information about the Gcc-bugs
mailing list