[PR c++/20022, obvious] fix -fno-access-control crash

Alexandre Oliva aoliva@redhat.com
Thu Feb 17 21:16:00 GMT 2005


We shouldn't assume deferred_access_stack is initialized and
short-circuit the call to get_deferred_access_check().  This patch
fixes -fno-access-control such that it doesn't crash for any
non-trivial testcase.  I'm checking it in as obvious.  Tested on
x86_64-linux-gnu.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-no-access-control.patch
Type: text/x-patch
Size: 1520 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050217/b2df1706/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Gcc-patches mailing list