This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33507] New: Erroneous warning with __attribute__((noreturn)) function
- From: "eric dot paire at st dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2007 06:46:37 -0000
- Subject: [Bug c/33507] New: Erroneous warning with __attribute__((noreturn)) function
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
A function declared with __attribute__((noreturn)) ending with __asm__
statement should not warn "'noreturn' funtion does return", as the parser can
not understand what is within the last __asm__ statement.
--
Summary: Erroneous warning with __attribute__((noreturn))
function
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eric dot paire at st dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33507