This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] Fix for PR c++/19076 and PR c++/6628
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>,Douglas Gregor <dgregor at cs dot indiana dot edu>, gcc-patches at gcc dot gnu dot org,mark at codesourcery dot com
- Date: Tue, 22 Feb 2005 15:36:54 +0100
- Subject: Re: [C++ Patch] Fix for PR c++/19076 and PR c++/6628
- References: <200501222253.46148.dgregor@cs.indiana.edu> <m3r7j9wj5p.fsf@uniton.integrable-solutions.net> <xyp4qg43c0j.fsf@miranda.boston.redhat.com>
Jason Merrill wrote:
GCC has an extension whereby
volatile foo F;
is legal and means that "F" cannot return. How does your patch
interact with that extension?
This has not been true of the C++ front end for a long time. I thought
that the documentation said that, but I don't see it now.
Thanks. Therefore, I guess the documentation (only!) should be patched,
because,
as pointed out privately by Doug, it's still saying that the extension
exists. See
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#Function-Attributes
under "noreturn".
Paolo.