C++ PATCH for c++/9167
Jason Merrill
jason@redhat.com
Fri Jan 17 23:58:00 GMT 2003
cp_build_parm_decl didn't get the right type for DECL_ARG_TYPE because the
type wasn't complete yet. This is where we fix up DECL_MODE for such
parms, so it seems like the right place to fix DECL_ARG_TYPE as well.
Test in g++.dg/init/inline1.C. Tested i686-pc-linux-gnu. Applied to trunk
and 3.3.
2003-01-17 Jason Merrill <jason@redhat.com>
PR c++/9167, c++/9358
* decl.c (require_complete_types_for_parms): Also update DECL_ARG_TYPE.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030117/10f1aad7/attachment.bin>
More information about the Gcc-patches
mailing list