C++ PATCH for c++/64222 (ICE with __FUNCTION__)

Jason Merrill jason@redhat.com
Wed Dec 10 02:49:00 GMT 2014


In this testcase, while we're tentatively parsing a function declarator 
we came across __FUNCTION__, tried to predeclare it, and failed because 
we were in function parameter scope; then when we try again later it 
fails again because we cached the error_mark_node.  So don't try the 
first time.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 64222.patch
Type: text/x-patch
Size: 1199 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141210/71dede9a/attachment.bin>


More information about the Gcc-patches mailing list