diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-09-17 18:07:08 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-09-17 18:07:08 +0200 |
commit | 8aff539b6829d3a984615f011851e3cbf6fa7ba8 (patch) | |
tree | e19625cd09d95efc3c523d785717dd1dba53c2a4 /gcc/objcp/objcp-lang.c | |
parent | 1b829d45a824ffabbc1e0cd6b3999d64bd783a17 (diff) | |
download | gcc-8aff539b6829d3a984615f011851e3cbf6fa7ba8.zip gcc-8aff539b6829d3a984615f011851e3cbf6fa7ba8.tar.gz gcc-8aff539b6829d3a984615f011851e3cbf6fa7ba8.tar.bz2 |
re PR c++/37552 (ICE with invalid array access)
PR c++/37552
* typeck.c (build_array_ref): Use protected_set_expr_location instead
of SET_EXPR_LOCATION when ret might not be an expression.
* g++.dg/parse/crash49.C: New test.
From-SVN: r140422
Diffstat (limited to 'gcc/objcp/objcp-lang.c')
0 files changed, 0 insertions, 0 deletions