https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048
Bug 93048 depends on bug 93033, which changed state.
Bug 93033 Summary: [10 Regression] error: incorrect sharing of tree nodes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048
--- Comment #5 from Pilar Latiesa ---
(In reply to Arseny Solokha from comment #3)
> It is likely a duplicate of PR93033.
It is certainly related. The fix for that PR made that all of the provided
testcases compile with yesterday spapshot (20200
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048
--- Comment #4 from Pilar Latiesa ---
Minimal testcase ;-)
#include
struct TTensor {};
struct TCoefs
{
double aP;
std::valarray aF;
TTensor b;
};
TCoefs CalcCoefs()
{
double aP = 0.0;
return {aP, {}, {}};
}
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048
Arseny Solokha changed:
What|Removed |Added
CC||asolokha at gmx dot com
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048
--- Comment #2 from Pilar Latiesa ---
Even more reduced:
#include
template
struct TTensor {};
template
struct TCoefs
{
double aP;
std::valarray aF;
TTensor b;
};
template
class TExprDiv
{
public:
TCoefs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048
--- Comment #1 from Pilar Latiesa ---
Reduced:
#include
template
class valarray {};
template
struct TTensor
{};
template
struct TCoefs
{
double aP;
std::valarray aF;
TTensor b;
};
template
class TCampo {}