1. 15 Feb, 2012 22 commits
    • compare_tests: Fix trailing paths in dir arguments. · e53182b7
      2012-02-15   Quentin Neill  <quentin.neill@amd.com>
      
      	* compare_tests: Fix trailing paths in dir arguments.
      	Handle sum1/sum2 temp files with others.
      
      From-SVN: r184284
      Quentin Neill committed
    • re PR libstdc++/51368 (libstdc++ python pretty printers should use… · 2a5d011c
      re PR libstdc++/51368 (libstdc++ python pretty printers should use --with-python-dir just like libjava)
      
      2012-02-15  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/51368
      	* acinclude.m4 (GLIBCXX_ENABLE_PYTHON): New.
      	* configure.ac: Use it.
      	* python/Makefile.am: Same.
      	* configure: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* Makefile.in: Same.
      	* doc/Makefile.in: Same.
      	* include/Makefile.in: Same.
      	* po/Makefile.in: Same.
      	* src/Makefile.in: Same.
      	* src/c++11/Makefile.in: Same.
      	* src/c++98/Makefile.in: Same.
      	* testsuite/Makefile.in: Same.
      
      Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
      
      From-SVN: r184282
      Benjamin Kosnik committed
    • re PR libitm/52042 (libitm.c/clone-1.c (all darwin) and libitm.c/stackundo.c… · 6017aed3
      re PR libitm/52042 (libitm.c/clone-1.c (all darwin) and libitm.c/stackundo.c (darwin 11) execution tests fail with -fpie)
      
      2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
      	    Patrick Marlier  <patrick.marlier@gmail.com>
      
      	PR libitm/52042
      	* config/darwin-crt-tm.c (getTMCloneTable): New function.
      	(__doTMRegistrations): Call it.
      	(__doTMdeRegistrations): Likewise. 
      
      
      Co-Authored-By: Patrick Marlier <patrick.marlier@gmail.com>
      
      From-SVN: r184281
      Iain Sandoe committed
    • XFAIL objc.dg/stabs-1.m on IRIX (PR target/52152) · 3c872883
      	PR target/52152
      	* objc.dg/stabs-1.m: xfail on mips-sgi-irix6.5.
      
      From-SVN: r184280
      Rainer Orth committed
    • Directly declare sqrtf in gcc.dg/pr51867.c · 3a20d87c
      	* gcc.dg/pr51867.c: Don't include <math.h>.
      	(sqrtf): Declare.
      
      From-SVN: r184279
      Rainer Orth committed
    • extend.texi: Reserve upper bits of memory model for future use. · b1cef2a5
      
      2012-02-15  Andrew MacLeod  <amacleod@redhat.com>
      
      	* extend.texi: Reserve upper bits of memory model for future use.
      
      From-SVN: r184277
      Andrew MacLeod committed
    • 20091013-1_1.c: xfail for avr. · adc44a79
      	* gcc.dg/lto/20091013-1_1.c: xfail for avr.
      	* gcc.dg/lto/20091013-1_2.c: xfail for avr.
      
      From-SVN: r184276
      Georg-Johann Lay committed
    • compiler: Avoid crashes on erroneous input. · f3fb416a
      From-SVN: r184274
      Ian Lance Taylor committed
    • Remove mistaken commit. · 65728e39
      From-SVN: r184272
      Aldy Hernandez committed
    • re PR target/52261 ([avr] Add support for AVR Xmega cores) · 2da8c1ad
      libgcc/
      	PR target/52261
      	* config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
      	(__epilogue_restores__): Ditto.
      
      gcc/
      	PR target/52261
      	* config/avr/avr-devices.c (avr_arch_types): Add avrxmega2,
      	avrxmega4, avrxmega5, avrxmega6, avrxmega7.
      	Rewrite initializers for .macro.
      	* config/avr/avr-mcus.def (AVR_MCU): Add known MCUs:
      	avrxmega2: atxmega16a4, atxmega16d4, atxmega16x1, atxmega32a4
      	atxmega32d4, atxmega32x1.
      	avrxmega4: atxmega64a3, atxmega64d3.
      	avrxmega5: atxmega64a1, atxmega64a1u.
      	avrxmega6: atxmega128a3, atxmega128d3, atxmega192a3, atxmega192d3,
      	atxmega256a3, atxmega256a3b, atxmega256a3bu, atxmega256d3.
      	avrxmega7: atxmega128a1, atxmega128a1u.
      
      	* config/avr/multilib.h: Regenerate.
      	* config/avr/t-multilib: Regenerate.
      	* config/avr/avr-tables.opt: Regenerate.
      
      	* config/avr/avr.h (enum avr_arch): Add: ARCH_AVRXMEGA2,
      	ARCH_AVRXMEGA4,	ARCH_AVRXMEGA5, ARCH_AVRXMEGA6, ARCH_AVRXMEGA7.
      	(struct base_arch_s): Rename reserved to xmega_p.
      	Rename reserved2 to have_rampd.
      	(AVR_XMEGA): New define.
      	(AVR_HAVE_RAMPD, AVR_HAVE_RAMPX, AVR_HAVE_RAMPY): New defines.
      	(AVR_HAVE_RAMPZ): Change definition to fit xmega.
      
      	* config/avr/predicates.md (io_address_operand): Take into
      	account SFR offset.
      	(low_io_address_operand): Ditto.
      	(high_io_address_operand): Ditto.
      	
      	* config/avr/avr.md (isa): Add alternatives no_xmega, xmega.
      	(enabled, movhi_sp_r): Use them.
      
      	* config/avr/avr-c.c (avr_cpu_cpp_builtins): Use
      	cpp_define_formatted to built-in define __AVR_ARCH__.
      	(__AVR_XMEGA__): New built-in define.
      	(__AVR_HAVE_RAMPD__): New built-in define.
      	(__AVR_HAVE_RAMPX__): New built-in define.
      	(__AVR_HAVE_RAMPY__): New built-in define.
      	(__AVR_HAVE_RAMPZ__): Change condition when to built-in define it.
      
      	* config/avr/avr.c (avr_addr_t): Add ccp, rampd, rampx, rampy.
      	(avr_option_override): Initialize them.
      	(sreg_rtx, rampd_rtx, rampx_rtx, rampy_rtx): New GTY rtx.
      	(avr_init_expanders): Initialize them. No more block several calls.
      	(emit_push_sfr): New static function.
      	(avr_prologue_setup_frame): Use it to push SREG, RAMPD/X/Y/Z as needed.
      	Handle AVR_XMEGA.
      	(expand_epilogue): Handle AVR_XMEGA. Pop RAMPD/X/Y/Z as needed.
      	(avr_print_operand): Print addreeses as symbols for
      	RAMPX, RAMPY, RAMPD, CCP.
      	(output_movhi): Handle AVR_XMEGA when writing to SP.
      	(avr_out_movhi_mr_r_xmega): New static function.
      	(out_movhi_mr_r): Forward to avr_out_movhi_mr_r_xmega for AVR_XMEGA.
      	(avr_file_start): Print symbol defines for __RAMPX__,  __RAMPY__,
      	__RAMPD__,  __CCP__ as needed.
      
      
      Co-Authored-By: Anatoly Sokolov <aesok@post.ru>
      Co-Authored-By: Eric Weddington <eric.weddington@atmel.com>
      
      From-SVN: r184269
      Georg-Johann Lay committed
    • re PR tree-optimization/50561 (ICE when compiling zlib with -O2 -floop-flatten -floop-strip-mine) · 28db21ee
      2012-02-15  Tobias Grosser <grosser@fim.uni-passau.de>
      
      	PR tree-optimization/50561
      	* graphite-flattening.c (lst_project_loop): Do not
      	remove old scattering dimensions after flattening.
      	(lst_do_flatten): Likewise.
      
      	* gcc.dg/graphite/pr50561.c: New testcase.
      
      From-SVN: r184265
      Tobias Grosser committed
    • builtin_insert_bits-1.c: New test. · 0c578db6
      gcc/testsuite/
      	* gcc.target/avr/torture/builtin_insert_bits-1.c: New test.
      	* gcc.target/avr/torture/builtin_insert_bits-2.c: New test.
      
      gcc/
      	* doc/extend.texi (AVR Built-in Functions): Remove doc for
      	__builtin_avr_map8, __builtin_avr_map16.
      	Document __builtin_avr_insert_bits.
      	* config/avr/avr.md (map_bitsqi, map_bitshi): Remove.
      	(insert_bits): New insn.
      	(adjust_len.map_bits): Rename to insert_bits.
      	(UNSPEC_MAP_BITS): Rename to UNSPEC_INSERT_BITS.
      	* avr-protos.h (avr_out_map_bits): Remove.
      	(avr_out_insert_bits, avr_has_nibble_0xf): New.
      	* config/avr/constraints.md (Cxf,C0f): New.
      	* config/avr/avr.c (avr_cpu_cpp_builtins): Remove built-in
      	defines __BUILTIN_AVR_MAP8, __BUILTIN_AVR_MAP16.
      	New built-in define __BUILTIN_AVR_INSERT_BITS.
      	* config/avr/avr.c (TARGET_FOLD_BUILTIN): New define.
      	(enum avr_builtin_id): Add AVR_BUILTIN_INSERT_BITS.
      	(avr_move_bits): Rewrite.
      	(avr_fold_builtin, avr_map_metric, avr_map_decompose): New static
      	functions.
      	(avr_map_op_t): New typedef.
      	(avr_map_op): New static variable.
      	(avr_out_insert_bits, avr_has_nibble_0xf): New functions.
      	(adjust_insn_length): Handle ADJUST_LEN_INSERT_BITS.
      	(avr_init_builtins): Add definition for __builtin_avr_insert_bits.
      	(bdesc_3arg, avr_expand_triop_builtin): New.
      	(avr_expand_builtin): Use them. And handle AVR_BUILTIN_INSERT_BITS.
      	(avr_revert_map, avr_swap_map, avr_id_map, avr_sig_map): Remove.
      	(avr_map_hamming_byte, avr_map_hamming_nonstrict): Remove.
      	(avr_map_equal_p, avr_map_sig_p): Remove.
      	(avr_out_swap_bits, avr_out_revert_bits, avr_out_map_bits): Remove.
      	(bdesc_2arg): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
      	(adjust_insn_length): Remove handling for ADJUST_LEN_MAP_BITS.
      	(enum avr_builtin_id): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
      	(avr_init_builtins): Remove __builtin_avr_map8, __builtin_avr_map16.
      	(avr_expand_builtin): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
      
      From-SVN: r184264
      Georg-Johann Lay committed
    • trans.c (Identifier_to_gnu): Move block retrieving the type of the result to the… · 1c4ae4e5
      trans.c (Identifier_to_gnu): Move block retrieving the type of the result to the end and execute it for a...
      
      	* gcc-interface/trans.c (Identifier_to_gnu): Move block retrieving the
      	type of the result to the end and execute it for a deferred constant of
      	a discriminated type whose full view can be elaborated statically.
      
      From-SVN: r184259
      Eric Botcazou committed
    • trans.c (gnat_to_gnu): If the type is tagged, mark it as used for debugging purposes. · 0029bafd
      	* gcc-interface/trans.c (gnat_to_gnu) <N_Qualified_Expression>: If the
      	type is tagged, mark it as used for debugging purposes.
      	<N_Allocator>: Likewise for a qualified expression.
      
      From-SVN: r184258
      Eric Botcazou committed
    • volatile10.adb: New case. · 4a582c9f
      	* gnat.dg/volatile10.adb: New case.
      	* gnat.dg/volatile10_pkg.ads: New helper.
      
      From-SVN: r184257
      Eric Botcazou committed
    • re PR target/51921 (EH unwinding support is broken) · 0f952eb4
      	PR target/51921
      	PR target/52205
      	* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
      	Solaris 11 and slightly reformat.
      	(sparc_is_sighandler): Likewise.
      
      From-SVN: r184255
      Eric Botcazou committed
    • parser.c (cp_parser_explicit_instantiation): Give a warning for ignored… · 7f3dee0e
      parser.c (cp_parser_explicit_instantiation): Give a warning for ignored attributes on explicit class instantiation.
      
      	* parser.c (cp_parser_explicit_instantiation): Give a warning
      	for ignored attributes on explicit class instantiation.
      
      From-SVN: r184254
      Jason Merrill committed
    • * de.po: Update. · aa434b3d
      From-SVN: r184253
      Joseph Myers committed
    • c6x.md (reserve_cycles): New attribute. · 9e7fe10e
      	* config/c6x/c6x.md (reserve_cycles): New attribute.
      	* config/c6x/c6x.c (c6x_sched_reorder_1): Ensure insns we predicate
      	don't reserve functional units after the branch occurs.
      
      From-SVN: r184252
      Bernd Schmidt committed
    • + PR middle-end/52142 + * ipa-inline.c (can_inline_edge_p): Do not inline... · a7ff6e27
      +       PR middle-end/52142
      +       * ipa-inline.c (can_inline_edge_p): Do not inline tm_pure
      +       functions into non-tm_pure functions.
      
      From-SVN: r184251
      Aldy Hernandez committed
    • Daily bump. · 6bb69d87
      From-SVN: r184250
      GCC Administrator committed
    • re PR lto/52178 (Ada bootstrap failure in LTO mode) · aa47290b
      	PR lto/52178
      	* gimple.c (iterative_hash_gimple_type): Use RECORD_OR_UNION_TYPE_P.
      	(iterative_hash_canonical_type): Likewise.
      	* tree-ssa-pre.c (fini_pre): Clean up the CFG only after purging all
      	the dead edges.
      
      From-SVN: r184246
      Eric Botcazou committed
  2. 14 Feb, 2012 18 commits