[Bug tree-optimization/22199] fold does not optimize (int)ABS_EXPR<(long long)(int_var)>

2021-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22199 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0 --- Comment #5 from Andrew Pinski

[Bug tree-optimization/22199] fold does not optimize (int)ABS_EXPR<(long long)(int_var)>

2021-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22199 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/22199] fold does not optimize (int)ABS_EXPR(long long)(int_var)

2005-12-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-24 20:15 --- Hmm, actually this is not really valid to do except when -fwrapv is supplied as (int)ABS_EXPR(long long) 0x8000 is defined to be 0 but ABS_EXPR (int)0x8000 is undefined. --

[Bug tree-optimization/22199] fold does not optimize (int)ABS_EXPR(long long)(int_var)

2005-09-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-24 16:22 --- Changing the summary to be more reflect what this bug is about. -- What|Removed |Added