public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57118] New: g++.dg/debug/* tests fail on MIPS due to micromips checkin, scan-assembler pattern needs update Date: Mon, 29 Apr 2013 20:36:00 -0000 [thread overview] Message-ID: <bug-57118-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2013-04-29 20:36 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-29 20:36 sje at gcc dot gnu.org [this message] 2013-05-25 8:22 ` [Bug target/57118] " rsandifo at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-57118-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).