Bug 38178 - [LTO] devirtualization is missing in lto
Summary: [LTO] devirtualization is missing in lto
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: lto
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: xfail
Depends on:
Blocks:
 
Reported: 2008-11-19 18:10 UTC by Rafael Avila de Espindola
Modified: 2009-07-08 06:21 UTC (History)
3 users (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
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 Rafael Avila de Espindola 2008-11-19 18:10:33 UTC
we have to fix g++.dg/opt/devirt1.C
Comment 1 Diego Novillo 2008-11-20 18:47:29 UTC
Subject: Bug 38178

Author: dnovillo
Date: Thu Nov 20 18:45:58 2008
New Revision: 142055

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142055
Log:
2008-11-20  Rafael Espindola  <espindola@google.com>
	    Diego Novillo  <dnovillo@google.com>

	PR 38178
	* tree.c (reset_type_lang_specific): Set TYPE_BINFO to
	NULL.

cp/ChangeLog.lto

	PR 38178
	* cp-lang.c (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Undefine.

testsuite/ChangeLog.lto:

	PR 38178
	* g++.dg/lto/20081119_0.C: New.
	* g++.dg/lto/20081119_1.C: New.
	* g++.dg/opt/devirt1.C: Do not scan for the devirtualized
	call.



Added:
    branches/lto/gcc/testsuite/g++.dg/lto/20081119_0.C
    branches/lto/gcc/testsuite/g++.dg/lto/20081119_1.C
Modified:
    branches/lto/gcc/ChangeLog.lto
    branches/lto/gcc/cp/ChangeLog.lto
    branches/lto/gcc/cp/cp-lang.c
    branches/lto/gcc/testsuite/ChangeLog.lto
    branches/lto/gcc/testsuite/g++.dg/opt/devirt1.C
    branches/lto/gcc/tree.c

Comment 2 Ben Elliston 2009-07-08 06:21:01 UTC
PASS: g++.dg/opt/devirt1.C (test for excess errors)
(in lto revision 149354)