aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2017-01-24 01:10:10 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2017-01-23 18:10:10 -0700
commit02f1ef408f0a05feebbd4fdcd73d04c8d2aa52c6 (patch)
treeeb81e3ea32b3ff7a8b62c08962a6784417771f39 /gcc/function.h
parenta151e93b2bf042c44d37044e887ebfaf038c2a73 (diff)
downloadgcc-02f1ef408f0a05feebbd4fdcd73d04c8d2aa52c6.zip
gcc-02f1ef408f0a05feebbd4fdcd73d04c8d2aa52c6.tar.gz
gcc-02f1ef408f0a05feebbd4fdcd73d04c8d2aa52c6.tar.bz2
PR middle-end/78703 - -fprintf-return-value floating point handling incorrect...
PR middle-end/78703 - -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point * gimple-ssa-sprintf.c (warn_level): New global. (format_integer): Use it here and throughout the rest of the file. Use the same switch to compute sign as base. (maybe_warn): New function. (format_directive): Factor out warnings into maybe_warn. Add debugging output. Use warn_level. (add_bytes): Use warn_level. (pass_sprintf_length::compute_format_length): Add debugging output. (try_substitute_return_value): Same. (pass_sprintf_length::handle_gimple_call): Set and use warn_level. From-SVN: r244847
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions