You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix builds with gcc 10.1 libstdc++ builds (VectorSubscriptBox error)
Fixes#1157.
The std::variant implementation of some libstdc++ cause clang to try
constructing a LoweredVectorSubscript from a LoweredTriplet, causing
crash.
This was possible because the compiler thought it could build and
fir::ExtendedValue to build a LoweredVectorSubscript (because
fir::ExtendedValue has a template constructor where the template can match
anything.).
Prevent the compiler from attempting to build a LoweredVectorSubscript here
by adding a constructor to LowereVectorSubscript.
0 commit comments