aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpp-id-data.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-19 00:21:34 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2009-04-19 00:21:34 +0100
commitf37acdf9b1089f74cd5ca953fbe508ae7e9e34c0 (patch)
tree9cf337c7fba41b385386e352cb0ce692c4edb4cf /libcpp/include/cpp-id-data.h
parent7d0a3061a8364ff56ace51413f29b50416fda3a0 (diff)
downloadgcc-f37acdf9b1089f74cd5ca953fbe508ae7e9e34c0.zip
gcc-f37acdf9b1089f74cd5ca953fbe508ae7e9e34c0.tar.gz
gcc-f37acdf9b1089f74cd5ca953fbe508ae7e9e34c0.tar.bz2
re PR c/27676 (gcc is overly strict in assignment to read-only data)
PR c/27676 * c-typeck.c (readonly_warning): new. (build_unary_op, build_modify_expr): Use readonly_warning for storing into something readonly but not const-qualified. testsuite: * gcc.dg/lvalue-5.c: New test. From-SVN: r146336
Diffstat (limited to 'libcpp/include/cpp-id-data.h')
0 files changed, 0 insertions, 0 deletions