]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/cp-demangle.c
re PR c++/7112 (Regression: ICE on C++ code involving templates and sizeof)
authorMark Mitchell <mark@codesourcery.com>
Tue, 2 Jul 2002 03:19:22 +0000 (03:19 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 2 Jul 2002 03:19:22 +0000 (03:19 +0000)
commit5d69ba1faa7a74aaa44795573aa89ebb834c16d0
tree8a402d57cf27037db16d46abdc1f0c6a8166faac
parent68a830fe3a4d760b2a991c706aa12f4716015ec5
re PR c++/7112 (Regression: ICE on C++ code involving templates and sizeof)

PR c++/7112
* g++.dg/template/sizeof2.C: New test.

PR c++/7112
* mangle.c (write_expression): Add mangling for sizeof when
applied to a type.
* operators.def: Remove stale comment.

* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
Set it for the "st" operator.
(demangle_expression): Handle expressions with types as arguments.

From-SVN: r55169
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/cp/operators.def
gcc/testsuite/ChangeLog
libiberty/ChangeLog
libiberty/cp-demangle.c