public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/51919] New: g++.dg/pch/mangle1.* test FAILs without LTO
@ 2012-01-20 18:06 ro at gcc dot gnu.org
  2012-01-20 22:09 ` [Bug testsuite/51919] " jason at gcc dot gnu.org
  2012-01-20 22:26 ` jason at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2012-01-20 18:06 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/51919] g++.dg/pch/mangle1.* test FAILs without LTO
  2012-01-20 18:06 [Bug testsuite/51919] New: g++.dg/pch/mangle1.* test FAILs without LTO ro at gcc dot gnu.org
@ 2012-01-20 22:09 ` jason at gcc dot gnu.org
  2012-01-20 22:26 ` jason at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2012-01-20 22:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51919

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-20 21:53:33 UTC ---
Author: jason
Date: Fri Jan 20 21:53:29 2012
New Revision: 183355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183355
Log:
    PR c++/51919
    * g++.dg/pch/mangle1.{C,Hs}: Remove.

Removed:
    trunk/gcc/testsuite/g++.dg/pch/mangle1.C
    trunk/gcc/testsuite/g++.dg/pch/mangle1.Hs
Modified:
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/51919] g++.dg/pch/mangle1.* test FAILs without LTO
  2012-01-20 18:06 [Bug testsuite/51919] New: g++.dg/pch/mangle1.* test FAILs without LTO ro at gcc dot gnu.org
  2012-01-20 22:09 ` [Bug testsuite/51919] " jason at gcc dot gnu.org
@ 2012-01-20 22:26 ` jason at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2012-01-20 22:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51919

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-20 22:00:17 UTC ---
I decided to just remove the test, since now PCH disables LTO.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-20 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-20 18:06 [Bug testsuite/51919] New: g++.dg/pch/mangle1.* test FAILs without LTO ro at gcc dot gnu.org
2012-01-20 22:09 ` [Bug testsuite/51919] " jason at gcc dot gnu.org
2012-01-20 22:26 ` jason at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).