[Bug c++/87250] Internal compiler error with -Os -fsyntax-only

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 10 18:34:00 GMT 2019


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Matthew Beliveau from comment #2)
> Reduced code:
> 
> template <typename> struct a {
>   constexpr a(int) {}
> };
> template <typename> struct atomic;
> template <> struct atomic<bool> {
>   a<bool> b;
>   constexpr atomic(bool c) : b(c) {}
> };

Thanks, this looks great.  Let's bisect it and add to the testsuite.


More information about the Gcc-bugs mailing list