OSDN Git Service

PR c++/38648
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Jan 2009 11:49:04 +0000 (11:49 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Jan 2009 11:49:04 +0000 (11:49 +0000)
commitf3056c5903878061b38250d1ac4944d08624d776
tree5ec0b33bb25bc29454382b2d843ff3ff1fbc955e
parent9d8ca5bfd418051156d14827bd03b99049fd3ae1
PR c++/38648
* typeck.c (cp_build_modify_expr): Check for NULL current_function_decl.

* g++.dg/expr/string-1.C: New test.
* g++.dg/expr/string-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143245 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/string-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/expr/string-2.C [new file with mode: 0644]