aboutsummaryrefslogtreecommitdiff
path: root/zlib/example.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2006-09-06 21:12:00 -0400
committerJason Merrill <jason@gcc.gnu.org>2006-09-06 21:12:00 -0400
commitc08cd4c1f169c138784d2a97c47950eed2ae8010 (patch)
treefa6902959ab6f3daa9d485ce7bc53e67d2c28f3b /zlib/example.c
parent6ee3ffe85ea599b1d977615ee31b8421563312c0 (diff)
downloadgcc-c08cd4c1f169c138784d2a97c47950eed2ae8010.zip
gcc-c08cd4c1f169c138784d2a97c47950eed2ae8010.tar.gz
gcc-c08cd4c1f169c138784d2a97c47950eed2ae8010.tar.bz2
re PR c++/27371 (Does not warn about unused function result (__attribute__((warn_unused_result))))
PR c++/27371 * tree-inline.c (copy_result_decl_to_var): New fn. (declare_return_variable): Use it. Call declare_inline_vars here. (expand_call_inline): Not here. * cp/cvt.c (convert_to_void): Strip useless TARGET_EXPR. * cp/cp-tree.h (TARGET_EXPR_IMPLICIT_P): New macro. * cp/tree.c (build_cplus_new): Set it. From-SVN: r116737
Diffstat (limited to 'zlib/example.c')
0 files changed, 0 insertions, 0 deletions