public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57118] New: g++.dg/debug/* tests fail on MIPS due to micromips checkin, scan-assembler pattern needs update
@ 2013-04-29 20:36 sje at gcc dot gnu.org
  2013-05-25  8:22 ` [Bug target/57118] " rsandifo at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: sje at gcc dot gnu.org @ 2013-04-29 20:36 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 57118
           Summary: g++.dg/debug/* tests fail on MIPS due to micromips
                    checkin, scan-assembler pattern needs update
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sje@gcc.gnu.org
                CC: clm@codesourcery.com
            Target: mips*-*-*


The micromips checkin changed the assembler output for MIPS by adding a '.set
nomicromips' psuedo-instruction to the instruction stream.  This is causing the
following tests to fail.  I think the fix is to update the scan pattern for
mips in gcc/testsuite/lib/scanasm.exp.  It looks for mips16/nomips16 but does
not check for micromips/nomicromips.

Tests that fail:

FAIL: g++.dg/debug/dwarf2/lineno-simple1.C -std=gnu++11  scan-assembler
\\t\\.loc [0-9]+ 13 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\tmain\\n\\t\\.type\\tmain,
@function\\nmain:\\n
FAIL: g++.dg/debug/dwarf2/lineno-simple1.C -std=gnu++11  scan-assembler
\\t\\.loc [0-9]+ 4 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN1CC[12]Ev\\n\\t\\.type\\t_ZN1CC[12]Ev,
@function\\n_ZN1CC[12]Ev:\\n
FAIL: g++.dg/debug/dwarf2/lineno-simple1.C -std=gnu++11  scan-assembler
\\t\\.loc [0-9]+ 7 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN1C3fooEv\\n\\t\\.type\\t_ZN1C3fooEv,
@function\\n_ZN1C3fooEv:\\n
FAIL: g++.dg/debug/dwarf2/lineno-simple1.C -std=gnu++98  scan-assembler
\\t\\.loc [0-9]+ 13 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\tmain\\n\\t\\.type\\tmain,
@function\\nmain:\\n
FAIL: g++.dg/debug/dwarf2/lineno-simple1.C -std=gnu++98  scan-assembler
\\t\\.loc [0-9]+ 4 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN1CC[12]Ev\\n\\t\\.type\\t_ZN1CC[12]Ev,
@function\\n_ZN1CC[12]Ev:\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C -std=gnu++11  scan-assembler \\t\\.loc
[0-9]+ 22 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN12MisplacedDbgI4FullEC[12]Ev\\n\\t\\.type\\t_ZN12MisplacedDbgI4FullEC[12]Ev,
@function\\n_ZN12MisplacedDbgI4FullEC[12]Ev:\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C -std=gnu++11  scan-assembler \\t\\.loc
[0-9]+ 22 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN12MisplacedDbgI4FullED0Ev\\n\\t\\.type\\t_ZN12MisplacedDbgI4FullED0Ev,
@function\\n_ZN12MisplacedDbgI4FullED0Ev:\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C -std=gnu++11  scan-assembler \\t\\.loc
[0-9]+ 29 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN12MisplacedDbgIP3ArgEC[12]Ev\\n\\t\\.type\\t_ZN12MisplacedDbgIP3ArgEC[12]Ev,
@function\\n_ZN12MisplacedDbgIP3ArgEC[12]Ev:\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C -std=gnu++98  scan-assembler \\t\\.loc
[0-9]+ 35 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN12MisplacedDbgI3ArgEC[12]Ev\\n\\t\\.type\\t_ZN12MisplacedDbgI3ArgEC[12]Ev,
@function\\n_ZN12MisplacedDbgI3ArgEC[12]Ev:\\n
FAIL: g++.dg/debug/dwarf2/pr44641.C -std=gnu++98  scan-assembler \\t\\.loc
[0-9]+ 35 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN12MisplacedDbgI3ArgED0Ev\\n\\t\\.type\\t_ZN12MisplacedDbgI3ArgED0Ev,
@function\\n_ZN12MisplacedDbgI3ArgED0Ev:\\n
FAIL: g++.dg/debug/dwarf2/pr46527.C -std=gnu++11  scan-assembler \\t\\.loc
[0-9]+ 12 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN6StructIdE13defined_laterEv\\n\\t\\.type\\t_ZN6StructIdE13defined_laterEv,
@function\\n_ZN6StructIdE13defined_laterEv:\\n
FAIL: g++.dg/debug/dwarf2/pr46527.C -std=gnu++98  scan-assembler \\t\\.loc
[0-9]+ 12 0(
[^\\n]*)?\\n(\\t.cfi_startproc[^\\t]*\\n)*\\t\\.set\\t(no)?mips16\\n\\t\\.ent\\t_ZN6StructIdE13defined_laterEv\\n\\t\\.type\\t_ZN6StructIdE13defined_laterEv,
@function\\n_ZN6StructIdE13defined_laterEv:\\n


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

end of thread, other threads:[~2013-05-25  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-29 20:36 [Bug target/57118] New: g++.dg/debug/* tests fail on MIPS due to micromips checkin, scan-assembler pattern needs update sje at gcc dot gnu.org
2013-05-25  8:22 ` [Bug target/57118] " rsandifo 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).