public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45845] New: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin
@ 2010-09-30 18:21 howarth at nitro dot med.uc.edu
  2010-09-30 18:30 ` [Bug c++/45845] " howarth at nitro dot med.uc.edu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-09-30 18:21 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE
                    regressed on darwin
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


Between r164716 and r164731, a regression in the g++ test suite appeared on
both powerpc-apple-darwin9 and x86_64-apple-darwin10.

FAIL: g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[
\\t]+external name


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

* [Bug c++/45845] g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin
  2010-09-30 18:21 [Bug c++/45845] New: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin howarth at nitro dot med.uc.edu
@ 2010-09-30 18:30 ` howarth at nitro dot med.uc.edu
  2010-09-30 19:36 ` [Bug c++/45845] g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[\\t]+external name howarth at nitro dot med.uc.edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-09-30 18:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-09-30 13:47:26 UTC ---
Caused by...

Author: rguenth
Date: Wed Sep 29 13:59:08 2010
New Revision: 164719

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164719
Log:
2010-09-29  Richard Guenther  <rguenther@suse.de>

    * tree.h (SCOPE_FILE_SCOPE_P): New macro.
    (DECL_FILE_SCOPE_P): Use it.
    (TYPE_FILE_SCOPE_P): New macro.

        cp/
    * cp-tree.h (CP_DECL_CONTEXT): Check DECL_FILE_SCOPE_P.
    (CP_TYPE_CONTEXT): Similar.
    (FROB_CONTEXT): Frob global_namespace to the global
    TRANSLATION_UNIT_DECL.
    * decl.c (cxx_init_decl_processing): Build a TRANSLATION_UNIT_DECL,
    set DECL_CONTEXT of global_namespace to it.
    (start_decl): Use CP_DECL_CONTEXT and test TYPE_P
    instead of zeroing context.
    (cp_finish_decl): Use DECL_FILE_SCOPE_P.
    (grokfndecl): Likewise.
    (start_preparsed_function): Likewise.
    * name-lookup.c (maybe_push_decl): Use DECL_NAMESPACE_SCOPE_P.
    (namespace_binding): Use SCOPE_FILE_SCOPE_P.
    * pt.c (template_class_depth): Use CP_TYPE_CONTEXT.
    (is_specialization_of_friend): Use CP_DECL_CONTEXT.
    (push_template_decl_real): Likewise.
    (tsubst_friend_class): Likewise.  Adjust context comparisons.
    (instantiate_class_template): Use CP_TYPE_CONTEXT.
    (tsubst): Do not substitute into TRANSLATION_UNIT_DECL.
    * cxx-pretty-print.c (pp_cxx_nested_name_specifier): Use
    SCOPE_FILE_SCOPE_P.


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

* [Bug c++/45845] g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[\\t]+external name
  2010-09-30 18:21 [Bug c++/45845] New: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin howarth at nitro dot med.uc.edu
  2010-09-30 18:30 ` [Bug c++/45845] " howarth at nitro dot med.uc.edu
@ 2010-09-30 19:36 ` howarth at nitro dot med.uc.edu
  2010-10-01 16:34 ` howarth at nitro dot med.uc.edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-09-30 19:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-09-30 17:02:29 UTC ---
The failing testcase was introduced with the proposed patch...

http://gcc.gnu.org/ml/gcc-patches/2006-11/msg00438.html

that added the ability to generate the DWARF pubtypes section on Darwin
architectures (or any other architecture that defines DEBUG_PUBTYPES_SECTION).


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

* [Bug c++/45845] g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[\\t]+external name
  2010-09-30 18:21 [Bug c++/45845] New: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin howarth at nitro dot med.uc.edu
  2010-09-30 18:30 ` [Bug c++/45845] " howarth at nitro dot med.uc.edu
  2010-09-30 19:36 ` [Bug c++/45845] g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[\\t]+external name howarth at nitro dot med.uc.edu
@ 2010-10-01 16:34 ` howarth at nitro dot med.uc.edu
  2010-11-22  0:19 ` howarth at nitro dot med.uc.edu
  2010-11-22 17:51 ` mrs at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-10-01 16:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-10-01 16:34:15 UTC ---
The regression caused by r164719 was not eliminated with the change introduced
in r164874. The change in pubtypes.s of...


@@ -2575,19 +2575,15 @@
        .ascii "main\0" # external name
        .long   0
        .section __DWARF,__debug_pubtypes,regular,debug
-       .long   0x2a    # Length of Public Type Names Info
+       .long   0x1e    # Length of Public Type Names Info
        .word   0x2     # DWARF Version
        .set L$set$185,Ldebug_info0-Lsection__debug_info
        .long L$set$185 # Offset of Compilation Unit Info
        .long   0x421   # Compilation Unit Length
        .long   0x72    # DIE offset
        .ascii "empty\0"        # external name
-       .long   0xef    # DIE offset
-       .ascii "A\0"    # external name
        .long   0x7c    # DIE offset
        .ascii "B\0"    # external name
-       .long   0xef    # DIE offset
-       .ascii "A\0"    # external name
        .long   0
        .section __DWARF,__debug_aranges,regular,debug
        .long   0x1c    # Length of Address Ranges Info

caused by r164719 still remains.


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

* [Bug c++/45845] g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[\\t]+external name
  2010-09-30 18:21 [Bug c++/45845] New: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin howarth at nitro dot med.uc.edu
                   ` (2 preceding siblings ...)
  2010-10-01 16:34 ` howarth at nitro dot med.uc.edu
@ 2010-11-22  0:19 ` howarth at nitro dot med.uc.edu
  2010-11-22 17:51 ` mrs at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-11-22  0:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-11-22 00:11:16 UTC ---
Fiexed between r166242 and r166277.


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

* [Bug c++/45845] g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[\\t]+external name
  2010-09-30 18:21 [Bug c++/45845] New: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin howarth at nitro dot med.uc.edu
                   ` (3 preceding siblings ...)
  2010-11-22  0:19 ` howarth at nitro dot med.uc.edu
@ 2010-11-22 17:51 ` mrs at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: mrs at gcc dot gnu.org @ 2010-11-22 17:51 UTC (permalink / raw)
  To: gcc-bugs

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

mrs@gcc.gnu.org <mrs at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mrs at gcc dot gnu.org
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.0

--- Comment #10 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2010-11-22 17:39:35 UTC ---
Jack says fixed...


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

end of thread, other threads:[~2010-11-22 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 18:21 [Bug c++/45845] New: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE regressed on darwin howarth at nitro dot med.uc.edu
2010-09-30 18:30 ` [Bug c++/45845] " howarth at nitro dot med.uc.edu
2010-09-30 19:36 ` [Bug c++/45845] g++.dg/pubtypes.C scan-assembler "A\\\\\\\\0"+[ \\t]+[#;@]+[\\t]+external name howarth at nitro dot med.uc.edu
2010-10-01 16:34 ` howarth at nitro dot med.uc.edu
2010-11-22  0:19 ` howarth at nitro dot med.uc.edu
2010-11-22 17:51 ` mrs 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).