diff options
author | Lee Millward <lmillward@gcc.gnu.org> | 2006-10-17 23:22:14 +0000 |
---|---|---|
committer | Lee Millward <lmillward@gcc.gnu.org> | 2006-10-17 23:22:14 +0000 |
commit | 72f8fc592bc86e22853d389886f326b201f7d8ac (patch) | |
tree | 6b65296bdb4fe909caa51f2ee2b16f75b74179f1 /libgfortran/runtime/environ.c | |
parent | 4ac6f4c5e645b310acc0f9a0e22ef0e3e4fd6019 (diff) | |
download | gcc-72f8fc592bc86e22853d389886f326b201f7d8ac.zip gcc-72f8fc592bc86e22853d389886f326b201f7d8ac.tar.gz gcc-72f8fc592bc86e22853d389886f326b201f7d8ac.tar.bz2 |
re PR c++/27952 (ICE with invalid virtual inheritance)
PR c++/27952
* cp-tree.h (xref_basetypes): Return bool instead of void.
* decl.c (xref_basetypes): Adjust definition. Return false
if the class bases are invalid.
* parser.c (cp_parser_class_head): Check the return value
from xref_basetypes.
* g++.dg/inherit/virtual1.C: New test.
From-SVN: r117839
Diffstat (limited to 'libgfortran/runtime/environ.c')
0 files changed, 0 insertions, 0 deletions