1. 03 Dec, 2012 7 commits
  2. 02 Dec, 2012 11 commits
  3. 01 Dec, 2012 12 commits
  4. 30 Nov, 2012 10 commits
    • re PR c++/55542 (g++ segmentation fault) · 55ad8d77
      	PR c++/55542
      	* pt.c (make_ith_pack_parameter_name): Return NULL if
      	name is NULL.
      	(tsubst_decl): Call make_ith_pack_parameter_name even if
      	DECL_NAME is NULL.
      
      	* g++.dg/cpp0x/vt-55542.C: New test.
      
      From-SVN: r194010
      Jakub Jelinek committed
    • stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator): Deal with… · a37d67b6
      stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator): Deal with degenerate cases where the bitsize isn't positive.
      
      	* stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator): Deal
      	with degenerate cases where the bitsize isn't positive.  Rework comment.
      
      From-SVN: r194009
      Eric Botcazou committed
    • validate_failures.py: Add support for @include, @remove directives in manifest files. · d5651dcf
      	* testsuite-management/validate_failures.py: Add support for @include,
      	@remove directives in manifest files.
      
      From-SVN: r194008
      Doug Evans committed
    • validate_failures.py: Add function GetManifestPath. · f6fce951
      	* testsuite-management/validate_failures.py: Add function
      	GetManifestPath.  New global _MANIFEST_SUBDIR.
      
      From-SVN: r194007
      Doug Evans committed
    • * config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define. · 3cdc1f85
      From-SVN: r194004
      David Edelsohn committed
    • xcoffout.c (xcoff_tls_data_section_name): Define. · b09cba37
              * xcoffout.c (xcoff_tls_data_section_name): Define.
              * xcoffout.h (xcoff_tls_data_section_name): Declare.
              * config/rs6000/rs6000.c (tls_data_section): Define.
              (TARGET_USE_BLOCKS_FOR_DECL_P): Define.
              (rs6000_legitimize_tls_address_aix): New function.
              (rs6000_legitimize_tls_address): Use new function for AIX.
              (rs6000_cannot_force_const_mem): No sum in TLS TOC symbols.
              Allow TLS symbol in constant pool other than ELF.
              (rs6000_legitimate_address_p): Allow TLS symbol other than ELF.
              (rs6000_assemble_visibility): Do not emit anything on AIX.
              (output_toc): Handle alias of TLS general-dynamic symbols.
              Emit TLS decorations on symbols.
              (rs6000_use_blocks_for_decl_p): New function.
              (rs6000_xcoff_output_tls_section_asm_op): New function.
              (rs6000_xcoff_asm_init_sections): Initialize tls_data_section.
              (rs6000_xcoff_select_section): Choose tls_data_section for
              thread-local storage.
              (rs6000_xcoff_file_start): Generate xcoff_tls_data_section_name.
              (rs6000_legitimate_constant_p): Allow TLS symbol other than ELF.
              * config/rs6000/rs6000.md (tls_tls_): Restrict to ELF.
              (tls_get_tpointer): New.
              (tle_get_tpointer_internal): New.
              (tls_get_addr<mode>): New.
              (tls_get_addr_internal<mode>): New.
      
      From-SVN: r194003
      David Edelsohn committed
    • Revised patch to ensure that histograms from the profile summary are streamed... · 2730ada7
      Revised patch to ensure that histograms from the profile summary are streamed
      through the LTO files so that the working set can be computed for use in
      downstream optimizations.
      
      2012-11-30  Teresa Johnson  <tejohnson@google.com>
      
      	* lto-cgraph.c (output_profile_summary): Stream out sum_all
      	and histogram.
      	(input_profile_summary): Stream in sum_all and histogram.
      	(merge_profile_summaries): Merge sum_all and histogram, and
      	change to use RDIV.
      	(input_symtab): Call compute_working_sets after merging
      	summaries.
      	* gcov-io.c (gcov_histo_index): Make extern for compiler.
      	* gcov-io.h (gcov_histo_index): Ditto.
      	* profile.c (compute_working_sets): Remove static keyword.
      	* profile.h (compute_working_sets): Ditto.
      	* Makefile.in (lto-cgraph.o): Depend on profile.h.
      
      From-SVN: r193999
      Teresa Johnson committed
    • re PR middle-end/52890 (Revision 185336 causes 10% degradation on cpu2000 benchmark 252.eon) · c1ed6a01
      2012-11-30  Martin Jambor  <mjambor@suse.cz>
      
      	PR middle-end/52890
      	PR tree-optimization/55415
      	PR tree-optimization/54386
      	PR target/55448
      	* ipa-prop.c (ipa_modify_call_arguments): Be optimistic when
      	get_pointer_alignment_1 returns false and the base was not a
      	dereference.
      	* tree-sra.c (access_precludes_ipa_sra_p): New parameter req_align,
      	added check for required alignment.  Update the user.
      
      	* testsuite/gcc.dg/ipa/ipa-sra-7.c: New test.
      	* testsuite/gcc.dg/ipa/ipa-sra-8.c: Likewise.
      	* testsuite/gcc.dg/ipa/ipa-sra-9.c: Likewise.
      	* testsuite/gcc.target/i386/pr55448.c: Likewise.
      
      From-SVN: r193998
      Martin Jambor committed
    • MAINTAINERS (Write After Approval): Add myself. · d7b30db8
      2012-11-30  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r193997
      Kyrylo Tkachov committed
    • For attribute named "type", subdivide "alu" into "alu_reg" and "simple_alu_imm". · 148413a4
      Set type attribute as appropriate in RTL patterns with immediate operands.
      Update pipeline descriptions to use the new values of type attribute.
      
      gcc/
      
      2012-11-30  Ramana Radhakrishnan <Ramana.Radhakrishnan@arm.com>
                  Greta Yorsh  <Greta.Yorsh@arm.com>
      
              * config/arm/arm.md (type): Subdivide "alu" into "alu_reg"
              and "simple_alu_imm".
              (core_cycles): Use new names.
              (arm_addsi3): Set type of patterns to use to alu_reg and simple_alu_imm.
              (addsi3_compare0, addsi3_compare0_scratch): Likewise.
              (addsi3_compare_op1, addsi3_compare_op2, compare_addsi2_op0): Likewise.
              (compare_addsi2_op1, arm_subsi3_insn, subsi3_compare0): Likewise.
              (subsi3_compare, arm_decscc,arm_andsi3_insn): Likewise.
              (thumb1_andsi3_insn, andsi3_compare0_scratch): Likewise.
              (zeroextractsi_compare0_scratch,iorsi3_insn,iorsi3_compare0): Likewise.
              (iorsi3_compare0_scratch, arm_xorsi3, thumb1_xorsi3_insn): Likewise.
              (xorsi3_compare0, xorsi3_compare0_scratch): Likewise.
              (thumb1_zero_extendhisi2,arm_zero_extendhisi2_v6): Likewise.
              (thumb1_zero_extendqisi2_v, arm_zero_extendqisi2_v6): Likewise.
      	(thumb1_extendhisi2, arm_extendqisi_v6): Likewise.
      	(thumb1_extendqisi2, arm_movsi_insn): Likewise.
              (movsi_compare0, movhi_insn_arch4, movhi_bytes): Likewise.
              (arm_movqi_insn, thumb1_movqi_insn, arm_cmpsi_insn): Likewise.
              (movsicc_insn, if_plus_move, if_move_plus): Likewise.
              * config/arm/neon.md (neon_mov<mode>/VDX): Likewise.
              (neon_mov<mode>/VQXMOV): Likewise.
              * config/arm/arm1020e.md (1020alu_op): Likewise.
              * config/arm/fmp626.md (mp626_alu_op): Likewise.
              * config/arm/fa726te.md (726te_alu_op): Likewise.
              * config/arm/fa626te.md (626te_alu_op): Likewise.
              * config/arm/fa606te.md (606te_alu_op): Likewise.
              * config/arm/fa526.md (526_alu_op): Likewise.
              * config/arm/cortex-r4.md (cortex_r4_alu, cortex_r4_mov): Likewise.
              * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
              * config/arm/cortex-a9.md (cprtex_a9_dp): Likewise.
              * config/arm/cortex-a8.md (cortex_a8_alu, cortex_a8_mov): Likewise.
              * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
              * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
              * config/arm/arm926ejs.md (9_alu_op): Likewise.
              * config/arm/arm1136jfs.md (11_alu_op): Likewise.
              * config/arm/arm1026ejs.md (alu_op): Likewise.
      
      
      Co-Authored-By: Greta Yorsh <greta.yorsh@arm.com>
      
      From-SVN: r193996
      Ramana Radhakrishnan committed