Bug 64060 - [5 Regression] r218009 caused FAIL: g++.dg/ipa/devirt-42.C
Summary: [5 Regression] r218009 caused FAIL: g++.dg/ipa/devirt-42.C
Status: RESOLVED DUPLICATE of bug 64050
Alias: None
Product: gcc
Classification: Unclassified
Component: ipa (show other bugs)
Version: 5.0
: P1 normal
Target Milestone: 5.0
Assignee: Martin Liška
URL:
Keywords:
: 64070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-24 18:46 UTC by H.J. Lu
Modified: 2014-11-25 18:05 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2014-11-24 18:46:29 UTC
On Linux/x86, r218009 caused:

FAIL: g++.dg/ipa/devirt-42.C  -std=gnu++11  scan-ipa-dump-times inline "First type is base of second" 3
FAIL: g++.dg/ipa/devirt-42.C  -std=gnu++14  scan-ipa-dump-times inline "First type is base of second" 3
Comment 1 Martin Liška 2014-11-25 09:40:36 UTC
Dup.

*** This bug has been marked as a duplicate of bug 64050 ***
Comment 2 Martin Liška 2014-11-25 15:16:59 UTC
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
Comment 3 H.J. Lu 2014-11-25 18:05:55 UTC
*** Bug 64070 has been marked as a duplicate of this bug. ***