[Bug c++/62048] New: -fcilkplus warning for noreturn attribute

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 7 10:56:00 GMT 2014


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

            Bug ID: 62048
           Summary: -fcilkplus warning for noreturn attribute
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: glisse at gcc dot gnu.org

extern void f () __attribute__ ((__noreturn__));

$ g++ -fcilkplus -c  marc1.c
marc1.c:1:47: warning: '__noreturn__' attribute does not apply to types
[-Wattributes]
 extern void f () __attribute__ ((__noreturn__));
                                               ^

(no warning if I use gcc or remove -fcilkplus)



More information about the Gcc-bugs mailing list