diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2013-02-08 13:23:34 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2013-02-08 13:23:34 +0000 |
commit | ff54464986fd1994754f5cbaa3921628818cc63f (patch) | |
tree | f151da27f7789e368ab8961edc7f453c040b899a /gcc/fold-const.c | |
parent | e45cde982611c5a86c215dd4079ca7f0375e141b (diff) | |
download | gcc-ff54464986fd1994754f5cbaa3921628818cc63f.zip gcc-ff54464986fd1994754f5cbaa3921628818cc63f.tar.gz gcc-ff54464986fd1994754f5cbaa3921628818cc63f.tar.bz2 |
re PR tree-optimization/56064 (Optimize VIEW_CONVERT_EXPR with FIXED_CST)
gcc/
PR tree-optimization/56064
* fixed-value.c (fixed_from_double_int): Sign/zero extend payload
bits according to mode.
* fixed-value.h (fixed_from_double_int)
(const_fixed_from_double_int): Adjust comments.
gcc/testsuite/
PR tree-optimization/56064
* gcc.dg/fixed-point/view-convert-2.c: New test.
From-SVN: r195885
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions