diff options
author | Tobias Burnus <burnus@net-b.de> | 2012-04-25 08:25:48 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2012-04-25 08:25:48 +0200 |
commit | f1fb11f1e8322a94b90ea8c1a1cbae79c5f1bab5 (patch) | |
tree | cf5861882524a9b89885cd03d357099ba5ab7625 /gcc/tree-vrp.c | |
parent | ad1d9a5079591596b5ccd5a924a8b9c65c542e3e (diff) | |
download | gcc-f1fb11f1e8322a94b90ea8c1a1cbae79c5f1bab5.zip gcc-f1fb11f1e8322a94b90ea8c1a1cbae79c5f1bab5.tar.gz gcc-f1fb11f1e8322a94b90ea8c1a1cbae79c5f1bab5.tar.bz2 |
re PR fortran/52196 (Add -Wrealloc-lhs)
2012-04-25 Tobias Burnus <burnus@net-b.de>
PR fortran/52196
* lang.opt (Wrealloc-lhs, Wrealloc-lhs-all): New flags.
* gfortran.h (gfc_option_t): Add them.
* options.c (gfc_init_options, gfc_post_options,
gfc_handle_option): Handle them.
* invoke.texi: Document them.
* trans-expr.c (realloc_lhs_warning): New function.
(gfc_trans_arrayfunc_assign,
alloc_scalar_allocatable_for_assignment,
gfc_trans_assignment_1): Use it.
2012-04-25 Tobias Burnus <burnus@net-b.de>
PR fortran/52196
* gfortran.dg/realloc_on_assign_14.f90: New.
From-SVN: r186806
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions