Fix overflow handling in sparc.c:sparc_fold_builtin
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 9 Jul 2018 12:44:19 +0000 (12:44 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 9 Jul 2018 12:44:19 +0000 (12:44 +0000)
commitc36c567c59336e3b611c2961864f567995f98051
treee42fdfed0c9ead671f891146fd7da4b63bc4ba79
parent56d04c75ef9df0e2c052c280cb8926e493edda6c
Fix overflow handling in sparc.c:sparc_fold_builtin

* config/sparc/sparc.c (sparc_fold_builtin) <SPARC_BUILTIN_PDIST,
SPARC_BUILTIN_PDISTN>: Adapt for signature change of wi::neg,
wi::add.

From-SVN: r262518
gcc/ChangeLog
gcc/config/sparc/sparc.c