aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr-devices.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-12-02 09:36:01 +0100
committerMartin Liska <marxin@gcc.gnu.org>2016-12-02 08:36:01 +0000
commita4f2895465da4c8856b119a5787b95db345567a9 (patch)
treed78ade7d79b89f366b780063e24f411faa024243 /gcc/config/avr/avr-devices.c
parent32ff7e39c15206dada1406bdc06e18db9e02d248 (diff)
downloadgcc-a4f2895465da4c8856b119a5787b95db345567a9.zip
gcc-a4f2895465da4c8856b119a5787b95db345567a9.tar.gz
gcc-a4f2895465da4c8856b119a5787b95db345567a9.tar.bz2
Fix runtime error: left shift of negative value (PR
PR ipa/78555 * sreal.c (sreal::to_int): Make absolute value before shifting. (sreal::operator/): Likewise. (sreal_verify_negative_division): New test. (void sreal_c_tests): Call the new test. * sreal.h (sreal::normalize_up): Use new SREAL_ABS and SREAL_SIGN macros. (sreal::normalize_down): Likewise. From-SVN: r243163
Diffstat (limited to 'gcc/config/avr/avr-devices.c')
0 files changed, 0 insertions, 0 deletions