public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/59043] New: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info
@ 2013-11-07 21:01 dominiq at lps dot ens.fr
  2013-11-08 10:35 ` [Bug testsuite/59043] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-11-07 21:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59043
           Summary: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes*
                    scan-assembler long.*Length of Public Type Names Info
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: howarth at bromo dot med.uc.edu, iains at gcc dot gnu.org,
                    sterling at gcc dot gnu.org
              Host: *-apple-darwin*
            Target: *-apple-darwin*
             Build: *-apple-darwin*

On *-apple-darwin* the tests g++.dg/pubtypes.C and gcc.dg/pubtypes-*.c fail
after revision 203936 because the string "Length of Public Names Info" has been
changed to "Pub Info Length" without adjusting the tests for darwin. The
following patch fixes the failures:

--- ../_clean/gcc/testsuite/g++.dg/pubtypes.C    2009-11-25 18:16:31.000000000
+0100
+++ gcc/testsuite/g++.dg/pubtypes.C    2013-10-24 13:54:59.000000000 +0200
@@ -2,7 +2,7 @@
 /* { dg-do compile { target *-*-darwin* } } */
 /* { dg-options "-O0 -gdwarf-2 -dA -fno-eliminate-unused-debug-types" } */
 /* { dg-final { scan-assembler "__debug_pubtypes" } } */
-/* { dg-final { scan-assembler "long+\[ \t\]+\(0x\)?\[0-9a-f]+\[
\t\n\]+\[#;@]+\[ \t\]+Length of Public Type Names Info" } } */
+/* { dg-final { scan-assembler "long+\[ \t\]+\(0x\)?\[0-9a-f]+\[
\t\n\]+\[#;@]+\[ \t\]+Pub Info Length" } } */
 /* { dg-final { scan-assembler "\"empty\\\\0\"+\[ \t\]+\[#;@]+\[ \t\]+external
name" } } */
 /* { dg-final { scan-assembler "\"A\\\\0\"+\[ \t\]+\[#;@]+\[ \t\]+external
name" } } */
 /* { dg-final { scan-assembler "\"B\\\\0\"+\[ \t\]+\[#;@]+\[ \t\]+external
name" } } */

--- ../_clean/gcc/testsuite/gcc.dg/pubtypes-1.c    2009-11-25
18:15:40.000000000 +0100
+++ gcc/testsuite/gcc.dg/pubtypes-1.c    2013-10-24 13:52:37.000000000 +0200
@@ -2,7 +2,7 @@
 /* { dg-options "-O0 -gdwarf-2 -dA -fno-eliminate-unused-debug-types" } */
 /* { dg-skip-if "Unmatchable assembly" { mmix-*-* } { "*" } { "" } } */
 /* { dg-final { scan-assembler "__debug_pubtypes" } } */
-/* { dg-final { scan-assembler "long+\[ \t\]+0x\[0-9a-f]+\[ \t\]+\[#;]+\[
\t\]+Length of Public Type Names Info" } } */
+/* { dg-final { scan-assembler "long+\[ \t\]+0x\[0-9a-f]+\[ \t\]+\[#;]+\[
\t\]+Pub Info Length" } } */
 /* { dg-final { scan-assembler "used_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */
 /* { dg-final { scan-assembler "unused_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */

--- ../_clean/gcc/testsuite/gcc.dg/pubtypes-2.c    2012-06-26
20:42:19.000000000 +0200
+++ gcc/testsuite/gcc.dg/pubtypes-2.c    2013-10-24 13:53:05.000000000 +0200
@@ -2,7 +2,7 @@
 /* { dg-options "-O0 -gdwarf-2 -dA" } */
 /* { dg-skip-if "Unmatchable assembly" { mmix-*-* } { "*" } { "" } } */
 /* { dg-final { scan-assembler "__debug_pubtypes" } } */
-/* { dg-final { scan-assembler "long+\[ \t\]+0x13b+\[ \t\]+\[#;]+\[
\t\]+Length of Public Type Names Info" } } */
+/* { dg-final { scan-assembler "long+\[ \t\]+0x13b+\[ \t\]+\[#;]+\[ \t\]+Pub
Info Length" } } */
 /* { dg-final { scan-assembler "used_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */
 /* { dg-final { scan-assembler-not "unused_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */

--- ../_clean/gcc/testsuite/gcc.dg/pubtypes-3.c    2012-06-26
20:42:19.000000000 +0200
+++ gcc/testsuite/gcc.dg/pubtypes-3.c    2013-10-24 13:53:33.000000000 +0200
@@ -2,7 +2,7 @@
 /* { dg-options "-O0 -gdwarf-2 -dA" } */
 /* { dg-skip-if "Unmatchable assembly" { mmix-*-* } { "*" } { "" } } */
 /* { dg-final { scan-assembler "__debug_pubtypes" } } */
-/* { dg-final { scan-assembler "long+\[ \t\]+0x13b+\[ \t\]+\[#;]+\[
\t\]+Length of Public Type Names Info" } } */
+/* { dg-final { scan-assembler "long+\[ \t\]+0x13b+\[ \t\]+\[#;]+\[ \t\]+Pub
Info Length" } } */
 /* { dg-final { scan-assembler "used_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */
 /* { dg-final { scan-assembler-not "unused_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */
 /* { dg-final { scan-assembler-not "\"list_name_type\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */
--- ../_clean/gcc/testsuite/gcc.dg/pubtypes-4.c    2012-06-26
20:42:19.000000000 +0200
+++ gcc/testsuite/gcc.dg/pubtypes-4.c    2013-10-24 13:53:53.000000000 +0200
@@ -2,7 +2,7 @@
 /* { dg-options "-O0 -gdwarf-2 -dA" } */
 /* { dg-skip-if "Unmatchable assembly" { mmix-*-* } { "*" } { "" } } */
 /* { dg-final { scan-assembler "__debug_pubtypes" } } */
-/* { dg-final { scan-assembler "long+\[ \t\]+0x172+\[ \t\]+\[#;]+\[
\t\]+Length of Public Type Names Info" } } */
+/* { dg-final { scan-assembler "long+\[ \t\]+0x172+\[ \t\]+\[#;]+\[ \t\]+Pub
Info Length" } } */
 /* { dg-final { scan-assembler "used_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */
 /* { dg-final { scan-assembler-not "unused_struct\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */
 /* { dg-final { scan-assembler "\"list_name_type\\\\0\"+\[ \t\]+\[#;]+\[
\t\]+external name" } } */


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

* [Bug testsuite/59043] [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info
  2013-11-07 21:01 [Bug testsuite/59043] New: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info dominiq at lps dot ens.fr
@ 2013-11-08 10:35 ` rguenth at gcc dot gnu.org
  2013-11-18 18:39 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-08 10:35 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug testsuite/59043] [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info
  2013-11-07 21:01 [Bug testsuite/59043] New: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info dominiq at lps dot ens.fr
  2013-11-08 10:35 ` [Bug testsuite/59043] " rguenth at gcc dot gnu.org
@ 2013-11-18 18:39 ` dominiq at lps dot ens.fr
  2013-12-06 19:26 ` mrs at gcc dot gnu.org
  2013-12-09 10:55 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-11-18 18:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Patch submitted at http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02105.html.


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

* [Bug testsuite/59043] [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info
  2013-11-07 21:01 [Bug testsuite/59043] New: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info dominiq at lps dot ens.fr
  2013-11-08 10:35 ` [Bug testsuite/59043] " rguenth at gcc dot gnu.org
  2013-11-18 18:39 ` dominiq at lps dot ens.fr
@ 2013-12-06 19:26 ` mrs at gcc dot gnu.org
  2013-12-09 10:55 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 5+ messages in thread
From: mrs at gcc dot gnu.org @ 2013-12-06 19:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Fri Dec  6 19:26:26 2013
New Revision: 205758

URL: http://gcc.gnu.org/viewcvs?rev=205758&root=gcc&view=rev
Log:
2013-12-06  Dominique d'Humieres  <dominiq@lps.ens.fr>

        PR testsuite/59043
        * g++.dg/pubtypes.C: Adjust the regular expression.
        * gcc.dg/pubtypes-1.c: Likewise.
        * gcc.dg/pubtypes-2.c: Likewise.
        * gcc.dg/pubtypes-3.c: Likewise.
        * gcc.dg/pubtypes-4.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/pubtypes.C
    trunk/gcc/testsuite/gcc.dg/pubtypes-1.c
    trunk/gcc/testsuite/gcc.dg/pubtypes-2.c
    trunk/gcc/testsuite/gcc.dg/pubtypes-3.c
    trunk/gcc/testsuite/gcc.dg/pubtypes-4.c


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

* [Bug testsuite/59043] [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info
  2013-11-07 21:01 [Bug testsuite/59043] New: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2013-12-06 19:26 ` mrs at gcc dot gnu.org
@ 2013-12-09 10:55 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-12-09 10:55 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Thanks for the commit. Closing as FIXED.


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

end of thread, other threads:[~2013-12-09 10:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07 21:01 [Bug testsuite/59043] New: [4.9 Regression] FAIL: (gcc|++).dg/pubtypes* scan-assembler long.*Length of Public Type Names Info dominiq at lps dot ens.fr
2013-11-08 10:35 ` [Bug testsuite/59043] " rguenth at gcc dot gnu.org
2013-11-18 18:39 ` dominiq at lps dot ens.fr
2013-12-06 19:26 ` mrs at gcc dot gnu.org
2013-12-09 10:55 ` dominiq at lps dot ens.fr

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).