cp-tree.h (complete_type_or_else): Declare.
* cp-tree.h (complete_type_or_else): Declare. * init.c (build_new_1, build_delete): Use it. * typeck.c (require_complete_type): Use complete_type, rather than expanding it inline. (complete_type_or_else): New function. (build_component_ref): Use it. (pointer_int_sum): Make sure the type pointed to is complete. (pointer_diff): Likewise. From-SVN: r20499
Showing
gcc/testsuite/g++.old-deja/g++.pt/pointer1.C
0 → 100644
Please
register
or
sign in
to comment