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

            Bug ID: 93530
           Summary: [10 Regression] ICE on invalid alignas
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kretz at kde dot org
  Target Milestone: ---

Test case (no flags required):

template <typename> struct a {
  using b = a;
  void c() alignas(b::d);
};

This test case fell out of creduce while trying to reduce a different ICE. This
should diagnose
a) that b::d does not exist
b) that alignas is incorrectly placed

Reply via email to