typeck.c (build_modify_expr): Say `initialization' for INIT_EXPRs.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 18 Jan 2001 14:25:03 +0000 (14:25 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 18 Jan 2001 14:25:03 +0000 (14:25 +0000)
commitf5ceeec84f7ef85b96400b54d0e2276a0c0a2ef7
treef1e99bdfd621ac1e5fd7a7984d124b3f0e8f76e0
parent2d6dc19dfa98f8852cf648198fe32b918754864f
typeck.c (build_modify_expr): Say `initialization' for INIT_EXPRs.

cp:
* typeck.c (build_modify_expr): Say `initialization' for
INIT_EXPRs.
* init.c (build_default_init): Convert to enumeral type, if
needed.
testsuite:
* g++.old-deja/g++.other/init17.C: New test.

From-SVN: r39121
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/init17.C [new file with mode: 0644]