aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-10-19 16:24:39 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-10-19 16:24:39 +0200
commitd969783705f55506c111e4f4d0342b09ef301ea2 (patch)
tree35137fd3ab0e4e10028a005e2479124b10726f70 /gcc/cfgexpand.c
parentdb62ad7c66e97b45a4286932bcab3926bd571227 (diff)
downloadgcc-d969783705f55506c111e4f4d0342b09ef301ea2.zip
gcc-d969783705f55506c111e4f4d0342b09ef301ea2.tar.gz
gcc-d969783705f55506c111e4f4d0342b09ef301ea2.tar.bz2
re PR c++/82600 (Address of local variable returned [-Werror=return-local-addr] when building mozilla-central)
PR c++/82600 * typeck.c (check_return_expr): Don't call maybe_warn_about_returning_address_of_local in templates. * g++.dg/warn/Wreturn-local-addr-4.C: New test. From-SVN: r253899
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions