re PR middle-end/79536 (ICE in fold_binary_loc, at fold-const.c:9060)
authorMarek Polacek <polacek@redhat.com>
Fri, 17 Feb 2017 09:51:38 +0000 (09:51 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 17 Feb 2017 09:51:38 +0000 (09:51 +0000)
commit5bf69d74abbf3b0971b9dae37b804ff685e7298c
tree6eb599938beefc3cd66ca5dcf874dab6c0fe890f
parent6a011df26ef12e31343fcb2ce4f47fb74be34f71
re PR middle-end/79536 (ICE in fold_binary_loc, at fold-const.c:9060)

PR middle-end/79536
* fold-const.c (fold_negate_expr_1): Renamed from fold_negate_expr.
(fold_negate_expr): New wrapper.

* gcc.dg/torture/pr79536.c: New test.

From-SVN: r245526
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr79536.c [new file with mode: 0644]