re PR c++/3543 (gcc-3.0 Internal error #56 in resolve_offset_ref, at cp/init.c:1963)
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 25 Jul 2001 09:00:37 +0000 (09:00 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 25 Jul 2001 09:00:37 +0000 (09:00 +0000)
commitab085207aad52d58945ea30b78c04e050d7b5a9a
treecdaef3f76b7987573e0d77de853d8f8b8f7ccd5b
parent0abe00c528965ac8c84fed624ab93dc30e7636b9
re PR c++/3543 (gcc-3.0 Internal error #56 in resolve_offset_ref, at cp/init.c:1963)

cp:
PR c++/3543
* typeck.c (condition_conversion): Resolve an OFFSET_REF.
* expr.c (cplus_expand_expr): An OFFSET_REF should never get here.
testsuite:
* g++.old-deja/g++.other/optimize4.C: New test.

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