]> gcc.gnu.org Git - gcc.git/commit
re PR c++/15337 (sizeof on incomplete type diagnostic)
authorMark Mitchell <mark@codesourcery.com>
Mon, 7 Jun 2004 15:54:15 +0000 (15:54 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 7 Jun 2004 15:54:15 +0000 (15:54 +0000)
commitd5a10cf069a2f84e5b24a22e1eecc91918ea8875
tree576e0ec637de9afd595c03b47bb46c01da79d012
parent0ab80019b6aadd0fb427920d38428db7ed1ccbf1
re PR c++/15337 (sizeof on incomplete type diagnostic)

PR c++/15337
* error.c (c_sizeof_or_alignof_type): Use more detailed error
message.

PR c++/15766
* parser.c (cp_parser_iteration_statement): Fix typo in error
message.

PR c++/14777
* pt.c (tsubst_default_argument): Do not defer access checks
while substituting into the default argument.

PR c++/15554
* pt.c (tsubst_copy): Do not try to substitute for an enumeration
constant in a non-dependent context.

PR c++/15057
* except.c (build_throw): Ensure that temp_expr has been
initialized.

PR c++/15337
* g++.dg/expr/sizeof3.C: New test.

PR c++/14777
* g++.dg/template/access14.C: New test.

PR c++/15554
* g++.dg/template/enum1.C: New test.

PR c++/15057
* g++.dg/eh/throw1.C: New test.

From-SVN: r82693
gcc/ChangeLog
gcc/c-common.c
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/eh/throw1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/expr/sizeof3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/access14.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/enum1.C [new file with mode: 0644]
This page took 0.064596 seconds and 5 git commands to generate.