PR c++/84938 - ICE with division by ~-1.
authorJason Merrill <jason@redhat.com>
Thu, 5 Apr 2018 00:09:10 +0000 (20:09 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 Apr 2018 00:09:10 +0000 (20:09 -0400)
commita7ec7182dbbd85f14dd5d9f4adb5f16faed9581d
treef221fb4ea704d1fc3476ff125541a26614683dc0
parent0dd285f9a8da75fd01a36acb6b427a9afbd189ce
PR c++/84938 - ICE with division by ~-1.

* call.c (set_up_extended_ref_temp): Call cp_fully_fold.

From-SVN: r259108
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/expr/div-by-zero1.C [new file with mode: 0644]