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

2019-06-10 Thread mbelivea at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87250 --- Comment #4 from Matthew Beliveau --- Fixed in r269059

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

2019-06-10 Thread mbelivea at redhat dot com
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

[Bug c++/90782] [7/8/9/10 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:25409

2019-06-07 Thread mbelivea at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 Matthew Beliveau changed: What|Removed |Added CC||mbelivea at redhat dot com

[Bug c++/90747] Internal compiler error: Error reporting routines re-entered.

2019-06-04 Thread 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.

[Bug c++/90747] New: Internal compiler error: Error reporting routines re-entered.

2019-06-04 Thread mbelivea at redhat dot com
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() {

[Bug c++/90736] Bogus error with alignas

2019-06-03 Thread mbelivea at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90736 --- Comment #1 from Matthew Beliveau --- Started with commit r261971

[Bug c++/90736] New: Bogus error with alignas

2019-06-03 Thread mbelivea at redhat dot com
++ 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