https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122483

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andrew Pinski from comment #9)
> (In reply to H.J. Lu from comment #7)
> > 
> > It is done on purpose for C++.  Otherwise, we get
> > 
> > g++.dg/tm/pr46270.C
> > g++.dg/tm/pr46567.C
> > g++.dg/tm/pr47340.C
> > g++.dg/tm/unsafe2.C
> > 
> > See
> > 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122428
> 
> That does not mean it can't be different for different attributes on the
> types :).

But C++ front-end does this for all type-affecting attributes.  There are
no exceptions.

Reply via email to