This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/51919] New: g++.dg/pch/mangle1.* test FAILs without LTO
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jan 2012 17:46:08 +0000
- Subject: [Bug testsuite/51919] New: g++.dg/pch/mangle1.* test FAILs without LTO
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51919
Bug #: 51919
Summary: g++.dg/pch/mangle1.* test FAILs without LTO
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ro@gcc.gnu.org
CC: jason@gcc.gnu.org
Host: alpha-dec-osf5.1b
Target: alpha-dec-osf5.1b
Build: alpha-dec-osf5.1b
The new g++.dg/pch/mangle1.* test FAILs on Tru64 UNIX, which has no LTO
support:
FAIL: ./mangle1.H -g (test for excess errors)
FAIL: g++.dg/pch/mangle1.C -g
FAIL: g++.dg/pch/mangle1.C -g assembly comparison
FAIL: ./mangle1.H -O2 -g (test for excess errors)
FAIL: g++.dg/pch/mangle1.C -O2 -g
FAIL: g++.dg/pch/mangle1.C -O2 -g assembly comparison
FAIL: ./mangle1.H -O2 (test for excess errors)
FAIL: g++.dg/pch/mangle1.C -O2
FAIL: g++.dg/pch/mangle1.C -O2 assembly comparison
Compiling mangle1.H gives
FAIL: ./mangle1.H -g (test for excess errors)
Excess errors:
cc1plus: error: LTO support has not been enabled in this configuration
This one can be avoided with dg-require-effective-target lto.
The next two failures
pch file 'mangle1.H.gch' missing
FAIL: g++.dg/pch/mangle1.C -g
assembly file 'mangle1.s' missing
can not, unfortunately. It seems that dg-pch.exp doesn't check for dg-
directives in mangle1.C.
FAIL: g++.dg/pch/mangle1.C -g assembly comparison