diff options
author | giovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-23 12:57:19 +0000 |
---|---|---|
committer | giovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-23 12:57:19 +0000 |
commit | 368ad4b99d582451083988a9975b867443c2edd0 (patch) | |
tree | f81ab6c5e87fac23e85d0194f742f571a89d6fa6 /gcc/cp/ChangeLog | |
parent | 078c5600521782e8fb29c9958bf11e173a27d925 (diff) | |
download | linaro-gcc-368ad4b99d582451083988a9975b867443c2edd0.tar.gz linaro-gcc-368ad4b99d582451083988a9975b867443c2edd0.tar.bz2 linaro-gcc-368ad4b99d582451083988a9975b867443c2edd0.zip |
PR c++/15064
* parser.c (cp_parser_postfix_expression): typeid operator cannot be
used in integral constant expressions.
PR c++/15064
* g++.dg/template/crash18.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f654b18f735..59402a0aa1f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2004-04-23 Giovanni Bajo <giovannibajo@gcc.gnu.org> + + PR c++/15064 + * parser.c (cp_parser_postfix_expression): typeid operator cannot be + used in integral constant expressions. + 2004-04-22 Mark Mitchell <mark@codesourcery.com> * init.c (build_aggr_init): Fix accidental use of C99 construct in |