Revert Fission patches r182490, r182891, r183042, and r183320.
commit2b4b068a57d557c27338e2bc2cc97c34c42a37ba
authorccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jun 2012 00:50:17 +0000 (21 00:50 +0000)
committerccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jun 2012 00:50:17 +0000 (21 00:50 +0000)
tree0fe333067a7302caef26bf623b1fe2d3cdc93bc1
parent5c76f2dcd8ac0943010451574848613fcd5a1220
Revert Fission patches r182490, r182891, r183042, and r183320.
This will clear the way to backport the final patches from trunk.

2012-06-15   Cary Coutant  <ccoutant@google.com>

    r182490:

gcc/c-family/

2011-12-19  Sterling Augustine <saugustine@google.com>

    * c-pretty-print.c (pp_c_specifier_qualifier_list): Move conditional
    from beginning to end.

gcc/cp/

2011-12-19  Sterling Augustine <saugustine@google.com>

    * error.c (dump_decl): Reformat return value to "(anonymous namespace)".
    (lang_decl_name): Return "(anonymous namespace)" when appropriate.

gcc/

2011-12-19  Sterling Augustine <saugustine@google.com>

    * dwarf2out.c (DEBUG_PUBNAMES_SECTION_LABEL,
    DEBUG_PUBTYPES_SECTION_LABEL): Define.
    (debug_pubnames_section_label, debug_pubtypes_section_label):
    Declare.
    (is_namespace_die, is_class_die): New functions.
    (add_enumerator_pubname): New function.
    (add_pubname): Call is_namespace_die, is_cu_die, and is_class_die in
    conditional.
    (add_pubtype): Call is_namespace_die. Rework name calculation.  Call
    type_tag, lang_hooks.dwarf_name and add_enumerator_pubname.
    (output_pubnames): Output debug_pubnames_section_label or
    debug_pubtypes_section_label.
    (base_type_die): Call add_pubtype.
    (gen_namespace_die): Call add_pubname_string and lang_hooks.dwarf_name.
    (dwarf2_out_init): Generate debug_pubnames_section_label and
    debug_pubtypes_section_label.
    (pubtypes_section_empty): New function.
    (dwarf2_out_finish): Call add_AT_lineptr if pubnames or pubtypes is
    non-empty.  When dealing with pubnames, change assertion to conditional.
    Call pubtypes_section_empty.  Likewise when dealing with pubtypes.
    Move code checking for empty section to...
    (pubtypes_section_empty): Here.
    * target.def: Switch boolean to enable pubnames and pubtypes.

    r182891:

gcc/

2012-01-04   Sterling Augustine  <saugustine@google.com>

    * dwarf2out.c (add_pubname): Move conditional clause from outer to
    inner if-statement.
    (dwarf2out_finish): Fix conditions to output DW_AT_GNU_pubnames and
    DW_AT_GNU_pubtypes.  Move decision to output pubnames and pubtypes from
    here...
    (output_pubnames): ...to here.
    (pubtypes_section_empty): Delete unused function.

gcc/testsuite/

2012-01-04   Sterling Augustine  <saugustine@google.com>

    * g++.dg/diagnostic/bindings1.C: Adjust expected output.
    * g++.dg/ext/pretty3.C: Likewise.
    * g++.dg/pr44486.C: Likewise.
    * g++.dg/warn/Wuninitializable-member.C: Likewise.
    * g++.dg/warn/pr35711.C: Likewise.
    * g++.old-deja/g++.pt/memtemp77.C: Likewise.

    r183042:

gcc/

2012-01-09   Sterling Augustine  <saugustine@google.com>

    * dwarf2out.c (output_pubnames): Add check for info_section_emitted.

    r183320:

gcc/

2012-01-19   Sterling Augustine  <saugustine@google.com>

    * dwarf2out.c (break_out_comdat_types): Add DW_AT_GNU_pubnames and
    DW_AT_GNU_pubtypes attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@188848 138bc75d-0d04-0410-961f-82ee72b054a4
14 files changed:
gcc-4_7/gcc/ChangeLog.google-4_7
gcc-4_7/gcc/c-family/ChangeLog.google-4_7
gcc-4_7/gcc/c-family/c-pretty-print.c
gcc-4_7/gcc/cp/ChangeLog.google-4_7
gcc-4_7/gcc/cp/error.c
gcc-4_7/gcc/dwarf2out.c
gcc-4_7/gcc/target.def
gcc-4_7/gcc/testsuite/ChangeLog.google-4_7
gcc-4_7/gcc/testsuite/g++.dg/diagnostic/bindings1.C
gcc-4_7/gcc/testsuite/g++.dg/ext/pretty3.C
gcc-4_7/gcc/testsuite/g++.dg/pr44486.C
gcc-4_7/gcc/testsuite/g++.dg/warn/Wuninitializable-member.C
gcc-4_7/gcc/testsuite/g++.dg/warn/pr35711.C
gcc-4_7/gcc/testsuite/g++.old-deja/g++.pt/memtemp77.C