aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-11-28 14:58:11 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-11-28 14:58:11 +0000
commit4aa458f2ac11aef044a08fcb32dc2c2401cf6561 (patch)
tree4de8c7b0b37f10808fb3874b112408d5dc6787ce /gcc/fortran/resolve.c
parent73ff3db2f452c816fce0c14c6c40bc7df56ebf9f (diff)
downloadgcc-4aa458f2ac11aef044a08fcb32dc2c2401cf6561.zip
gcc-4aa458f2ac11aef044a08fcb32dc2c2401cf6561.tar.gz
gcc-4aa458f2ac11aef044a08fcb32dc2c2401cf6561.tar.bz2
re PR tree-optimization/80776 (-Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable)
2017-11-28 Richard Biener <rguenther@suse.de> PR tree-optimization/80776 * gimple-ssa-evrp-analyze.h (evrp_range_analyzer::set_ssa_range_info): Declare. * gimple-ssa-evrp-analyze.c (evrp_range_analyzer::set_ssa_range_info): New function. (evrp_range_analyzer::record_ranges_from_incoming_edges): If the incoming edge is an effective fallthru because the other edge only reaches a __builtin_unreachable () then record ranges derived from the controlling condition in SSA info. (evrp_range_analyzer::record_ranges_from_phis): Use set_ssa_range_info. (evrp_range_analyzer::record_ranges_from_stmt): Likewise. * gcc.dg/pr80776-1.c: New testcase. * gcc.dg/pr80776-2.c: Likewise. From-SVN: r255201
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions