https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68158
Bug ID: 68158 Summary: Function attributes parsed incorrectly in C++ (while -fcilkplus) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kyukhin at gcc dot gnu.org Target Milestone: --- Created attachment 36621 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36621&action=edit Reproducer This testcase (attached as well): void f () __attribute__((__noreturn__)); Attached testcase gives when compiled w/ `-fcilkplus': /export/users/kyukhin/gcc/git/gcc2/gcc/testsuite/c-c++-common/attr-simd-3.c:6:39: warning: ‘__noreturn__’ attribute does not apply to types [-Wattributes] Works fine without it.