https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87250
--- Comment #4 from Matthew Beliveau ---
Fixed in r269059
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87250
--- Comment #2 from Matthew Beliveau ---
Reduced code:
template struct a {
constexpr a(int) {}
};
template struct atomic;
template <> struct atomic {
a b;
constexpr atomic(bool c) : b(c) {}
};
~/bld/gcc7/gcc/cc1plus k.ii -Os -fsyntax-on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782
Matthew Beliveau changed:
What|Removed |Added
CC||mbelivea at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90747
--- Comment #1 from Matthew Beliveau ---
Adding missing return on line 4 lets it compile.
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mbelivea at redhat dot com
Target Milestone: ---
struct a {};
template struct b { a operator*(); };
template c e(d);
template auto e(b f) -> decltype(e(*f)) {}
void blah() {
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90736
--- Comment #1 from Matthew Beliveau ---
Started with commit r261971
++
Assignee: unassigned at gcc dot gnu.org
Reporter: mbelivea at redhat dot com
Target Milestone: ---
constexpr unsigned long a(const unsigned long b) { return b; }
const unsigned long c = a(alignof(int));
alignas(c) char d;
./cc1plus -quiet u.ii
u.ii:3:17: error: requested alignment is not an