diff options
| author | lerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-05 15:44:22 +0000 |
|---|---|---|
| committer | lerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-05 15:44:22 +0000 |
| commit | 33d18491a1270ecdd8e3d896df6f0e9c5b4dc3c5 (patch) | |
| tree | 8e6216ca8d3e3a7f15f173ab7e56307bb21bef86 /gcc/java/expr.c | |
| parent | 7d12ea9690dada627cda5cc62898ca934051c258 (diff) | |
| download | ppe42-gcc-33d18491a1270ecdd8e3d896df6f0e9c5b4dc3c5.tar.gz ppe42-gcc-33d18491a1270ecdd8e3d896df6f0e9c5b4dc3c5.zip | |
PR c++/19311
* init.c (build_offset_ref): Don't build non-dependent SCOPE_REF.
* pt.c (build_non_dependent_expr): Don't build NON_DEPENDENT_EXPR
for OFFSET_TYPE.
* typeck.c (build_x_unary_op): Don't build non-dependent SCOPE_REF.
Also set PTRMEM_OK_P for NON_DEPENDENT_EXPR.
(build_unary_op): Handle building ADDR_EXPR of OFFSET_REF inside
template.
* g++.dg/template/non-dependent11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions

