public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/62048] New: -fcilkplus warning for noreturn attribute
@ 2014-08-07 10:56 glisse at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: glisse at gcc dot gnu.org @ 2014-08-07 10:56 UTC (permalink / raw)
  To: gcc-bugs

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-07 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 10:56 [Bug c++/62048] New: -fcilkplus warning for noreturn attribute glisse at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).