r218048 - in /trunk/gcc: ChangeLog sreal.c srea...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Tue Nov 25 15:16:00 GMT 2014


Author: marxin
Date: Tue Nov 25 15:16:27 2014
New Revision: 218048

URL: https://gcc.gnu.org/viewcvs?rev=218048&root=gcc&view=rev
Log:
2014-11-25  Martin Liska  <mliska@suse.cz>

	PR bootstrap/64050
	PR ipa/64060
	* sreal.c (sreal::operator+): Addition fixed.
	(sreal::signedless_plus): Negative numbers are
	handled correctly.
	(sreal::operator-): Subtraction is fixed.
	(sreal::signedless_minus): Negative numbers are
	handled correctly.
	* sreal.h (sreal::operator<): Equal negative numbers
	are compared correctly.
	(sreal::shift): New checking asserts are introduced.
	Operation is fixed.
	* gcc.dg/plugin/plugin.exp: New plugin.
	* gcc.dg/plugin/sreal-test-1.c: New test.
	* gcc.dg/plugin/sreal_plugin.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/plugin/sreal-test-1.c
    trunk/gcc/testsuite/gcc.dg/plugin/sreal_plugin.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sreal.c
    trunk/gcc/sreal.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/plugin/plugin.exp



More information about the Gcc-cvs mailing list