diff options
author | Volker Reichelt <reichelt@igpm.rwth-aachen.de> | 2006-08-26 00:25:59 +0000 |
---|---|---|
committer | Volker Reichelt <reichelt@gcc.gnu.org> | 2006-08-26 00:25:59 +0000 |
commit | 398cd19904a68a7f5b7c1a138d9f602f2165d579 (patch) | |
tree | 74df540e6aa73f51e712e18ff456fede8456d1e6 /gcc/cfgexpand.c | |
parent | b30409dacae526d29146a104aad8e51d4518d1a1 (diff) | |
download | gcc-398cd19904a68a7f5b7c1a138d9f602f2165d579.zip gcc-398cd19904a68a7f5b7c1a138d9f602f2165d579.tar.gz gcc-398cd19904a68a7f5b7c1a138d9f602f2165d579.tar.bz2 |
re PR c++/28852 (ICE on invalid conversion operator)
PR c++/28852
* cp-tree.h (grok_op_properties): Return bool instead of void.
* decl.c (grokfndecl): Discard invalid operator declarations.
(copy_fn_p): Revert change for PR 27547.
(grok_op_properties): Return error status (true on success).
* pt.c (tsubst_decl): Discard invalid operator declarations.
* g++.dg/other/operator1.C: Add error-marker.
* g++.dg/other/operator2.C: New test.
From-SVN: r116463
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions