ABataev added a comment. Investigated the bug. Seems to me, the bug is not related to OpenMP. The following code crashes the compiler too:
struct FOO { static const int vec_align_bytes = 32; void foo() { alignas(vec_align_bytes) double a; ; } }; Seems to me, the bug is in `Actions.ClassifyName` which does not clean up the list of the possibly odr-used decls. Or in the code, which tries to parse the align argument `Parser::ParseAlignArgument`. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80590/new/ https://reviews.llvm.org/D80590 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits