r255860 - in /trunk/gcc: ChangeLog poly-int.h t...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Dec 20 12:50:00 GMT 2017


Author: rsandifo
Date: Wed Dec 20 12:50:35 2017
New Revision: 255860

URL: https://gcc.gnu.org/viewcvs?rev=255860&root=gcc&view=rev
Log:
Fix multiple_p for two non-poly_ints

Fix a stupid inversion.  This function is very rarely used and was
mostly to help split patches up, which is why it didn't get picked
up during initial testing.

2017-12-20  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	* poly-int.h (multiple_p): Fix handling of two non-poly_ints.

gcc/testsuite/
	* gcc.dg/plugin/poly-int-tests.h (test_nonpoly_multiple_p): New
	function.
	(test_nonpoly_type): Call it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/poly-int.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/plugin/poly-int-tests.h



More information about the Gcc-cvs mailing list