diff options
author | Kai Tietz <ktietz70@googlemail.com> | 2015-11-13 22:24:45 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-11-13 17:24:45 -0500 |
commit | 269e63b735d6e4e18367e94e8417b5d5eb799960 (patch) | |
tree | 2ab66075ba691c6242d45ab66643cf2f0358a6a5 /gcc/testsuite/c-c++-common/Wshift-negative-value-2.c | |
parent | 9514e74fcd529835a8963f91e12e1ee853149095 (diff) | |
download | gcc-269e63b735d6e4e18367e94e8417b5d5eb799960.zip gcc-269e63b735d6e4e18367e94e8417b5d5eb799960.tar.gz gcc-269e63b735d6e4e18367e94e8417b5d5eb799960.tar.bz2 |
Add non-folding variants for convert_to_*.
2015-11-13 Kai Tietz <ktietz70@googlemail.com>
Marek Polacek <polacek@redhat.com>
Jason Merrill <jason@redhat.com>
gcc/
* convert.c (maybe_fold_build1_loc): New.
(maybe_fold_build2_loc): New.
(convert_to_pointer_1): Split out from convert_to_pointer.
(convert_to_pointer_nofold): New.
(convert_to_real_1): Split out from convert_to_real.
(convert_to_real_nofold): New.
(convert_to_integer_1): Split out from convert_to_integer.
(convert_to_integer_nofold): New.
(convert_to_complex_1): Split out from convert_to_complex.
(convert_to_complex_nofold): New.
* convert.h: Declare new functions.
* tree-complex.c (create_one_component_var): Break up line to
avoid sequence point issues.
gcc/c-family/
* c-lex.c (interpret_float): Use fold_convert.
Co-Authored-By: Jason Merrill <jason@redhat.com>
Co-Authored-By: Marek Polacek <polacek@redhat.com>
From-SVN: r230359
Diffstat (limited to 'gcc/testsuite/c-c++-common/Wshift-negative-value-2.c')
0 files changed, 0 insertions, 0 deletions