Commit Graph

109806 Commits

Author SHA1 Message Date
Richard Sandiford 73f6eabc3a re PR middle-end/49545 (New C++ test failures)
gcc/
	PR tree-optimization/49545
	* builtins.c (get_object_alignment_1): Update function comment.
	Do not use DECL_ALIGN for functions, but test
	TARGET_PTRMEMFUNC_VBIT_LOCATION instead.
	* fold-const.c (get_pointer_modulus_and_residue): Don't check
	for functions here.
	* tree-ssa-ccp.c (get_value_from_alignment): Likewise.

gcc/testsuite/
	* gcc.dg/torture/pr49169.c: Restrict to ARM and MIPS targets.

From-SVN: r175627
2011-06-29 09:42:42 +00:00
Rainer Orth 0e8377f2d8 inline_1.c: Remove dg-excess-errors.
* gcc.dg/inline_1.c: Remove dg-excess-errors.
	* gcc.dg/inline_2.c: Likewise.
	* gcc.dg/unroll_1.c: Likewise.

From-SVN: r175625
2011-06-29 08:32:02 +00:00
Rainer Orth 4bdaaf2f38 * gcc-interface/Makefile.in (TOOLS_LIBS): Add $(LIBINTL).
From-SVN: r175624
2011-06-29 08:24:13 +00:00
Rainer Orth bdd98b6edc re PR libgcj/49451 (FileHandleGcTest FAILS on IRIX)
PR libgcj/49451
	* include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
	(ELF_CLASS): Define.
	* dyn_load.c [IRIX5]: Include <elf.h>.
	Include <obj.h> for O32, <objlist.h> for N32, N64.
	[SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
	[SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
	[IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
	(__rld_obj_head): Declare.
	(l_next, l_addr, obj_offset): Define.
	(GC_FirstDLOpenedLinkMap): New function.
	[SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
	IRIX5.
	Use obj_offset.
	[IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
	(GC_register_dynamic_libraries): Don't use /proc version on IRIX5.

From-SVN: r175623
2011-06-29 08:19:08 +00:00
Jakub Jelinek a0f33d3a12 re PR debug/49567 (ICE in mem_loc_descriptor due to typed DWARF stack changes)
PR debug/49567
	* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up
	for non-MODE_INT modes instead of asserting the mode has MODE_INT
	class.

	* gcc.target/i386/pr49567.c: New test.

From-SVN: r175622
2011-06-29 10:15:00 +02:00
Georg-Johann Lay 946c8b23dd re PR target/34734 ([avr] attribute((progmem)) not handled properly in C++)
PR target/34734
	* config/avr/avr.c (avr_handle_progmem_attribute): Move warning 
	about uninitialized data attributed 'progmem' from here...
	(avr_encode_section_info): ...to this new function.
	(TARGET_ENCODE_SECTION_INFO): New define.
	(avr_section_type_flags): For data in ".progmem.data", remove
	section flag SECTION_WRITE.

From-SVN: r175621
2011-06-29 07:57:25 +00:00
Georg-Johann Lay 9a63dee43d t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3, _xmulhisi3_exit.
* config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3,
	_xmulhisi3_exit.
	* config/avr/libgcc.S (_xmulhisi3_exit): New Function.
	(__mulhisi3): Optimize if have MUL*.  Use XJMP instead of rjmp.
	(__umulhisi3): Ditto.
	* config/avr/avr.md (mulhisi3): New insn expender.
	(umulhisi3): New insn expender.
	(*mulhisi3_call): New insn.
	(*umulhisi3_call): New insn.

From-SVN: r175620
2011-06-29 07:52:56 +00:00
Rainer Orth 2ac88e57d7 re PR libffi/46660 (cls_double_va.c, cls_longdouble_va.c FAIL on IRIX 6.5)
PR libffi/46660
	* testsuite/libffi.call/cls_double_va.c: xfail dg-output on
	mips-sgi-irix6*.
	* testsuite/libffi.call/cls_longdouble_va.c: Likewise.

From-SVN: r175618
2011-06-29 07:31:05 +00:00
GCC Administrator a0b115a588 Daily bump.
From-SVN: r175616
2011-06-29 00:18:52 +00:00
Joseph Myers 4374ce45c5 * Makefile.in (LIBGCC2_CFLAGS): Remove -D__GCC_FLOAT_NOT_NEEDED.
From-SVN: r175607
2011-06-28 23:54:42 +01:00
Richard Henderson 9475903017 arm: Clean out dead code from thumb_pushpop.
Renaming to thumb_pop at the same time.  The important part
of this is removing the text-based dwarf2out calls.

        * config/arm/arm.c (thumb_pop): Rename from thumb_pushpop.  Delete
        all code and arguments that handled pushes.  Update all callers.

From-SVN: r175606
2011-06-28 15:25:59 -07:00
Richard Henderson d018b46e32 arm: Convert thumb1 prologue to rtl.
* config/arm/arm.c (arm_output_function_prologue): Don't call
	thumb1_output_function_prologue.
	(arm_expand_prologue): Avoid dead store.
	(number_of_first_bit_set): Use ctz_hwi.
	(thumb1_emit_multi_reg_push): New.
	(thumb1_expand_prologue): Merge thumb1_output_function_prologue
	to emit the entire prologue as rtl.
	(thumb1_output_interwork): Split out from
	thumb1_output_function_prologue.
	(thumb1_output_function_prologue): Remove.
	(arm_attr_length_push_multi): Handle thumb1.
	* config/arm/arm.md (VUNSPEC_THUMB1_INTERWORK): New.
	(prologue_thumb1_interwork): New.
	(*push_multi): Allow thumb1; use push_mult_memory_operand.
	* config/arm/predicates.md (push_mult_memory_operand): New.

From-SVN: r175605
2011-06-28 15:25:52 -07:00
Eric Botcazou 97269a2340 sync.md (*stbar): Delete.
* config/sparc/sync.md (*stbar): Delete.
	(*membar_v8): New insn to implement UNSPEC_MEMBAR in SPARC-V8.

From-SVN: r175604
2011-06-28 22:03:44 +00:00
Eric Botcazou 4a9206ce4a * tree-ssa-dom.c (initialize_hash_element): Fix oversight.
From-SVN: r175600
2011-06-28 21:50:06 +00:00
Janis Johnson dac9ad16ea Remove gcc.target/arm/ivopts-6.c, didn't happen with patch.
From-SVN: r175597
2011-06-28 19:36:45 +00:00
Janis Johnson 3b99e63522 2011-06-28 Janis Johnson <janisjo@codesourcery.com>
Tom de Vries  <tom@codesourcery.com>

	* lib/target-supports.exp (check_effective_target_arm_nothumb)
	(check_effective_target_arm_thumb2): New effective targets.
	* gcc.target/arm/ivopts.c: Remove -mthumb/-marm.  Guard object-size
	properly.  Clean up temporary files.
	* gcc.target/arm/ivopts-2.c: Likewise.
	* gcc.target/arm/ivopts-3.c: Likewise.
	* gcc.target/arm/ivopts-4.c: Likewise.
	* gcc.target/arm/ivopts-5.c: Likewise.
	* gcc.target/arm/ivopts-6.c: Remove duplicate of ivopts.c.

Co-Authored-By: Tom de Vries <tom@codesourcery.com>

From-SVN: r175596
2011-06-28 19:33:06 +00:00
Thomas Koenig 19b76346c0 re PR fortran/49479 (reshape / optionals / zero sized arrays)
2011-06-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/49479
	* m4/reshape.m4: If source allocation is smaller than one, set it
	to one.
	* intrinsics/reshape_generic.c:  Likewise.
	* generated/reshape_r16.c: Regenerated.
	* generated/reshape_c4.c: Regenerated.
	* generated/reshape_c16.c: Regenerated.
	* generated/reshape_c8.c: Regenerated.
	* generated/reshape_r4.c: Regenerated.
	* generated/reshape_i4.c: Regenerated.
	* generated/reshape_r10.c: Regenerated.
	* generated/reshape_r8.c: Regenerated.
	* generated/reshape_c10.c: Regenerated.
	* generated/reshape_i8.c: Regenerated.
	* generated/reshape_i16.c: Regenerated.

2011-06-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/49479
	* gfortran.dg/reshape_zerosize_3.f90:  New test.

From-SVN: r175594
2011-06-28 18:59:04 +00:00
Rainer Orth 6138f9bd87 sol2-64.h (TARGET_DEFAULT): Remove.
* config/sparc/sol2-64.h (TARGET_DEFAULT): Remove.
	(TARGET_64BIT_DEFAULT): Define.
	* config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front
	of tm_file.
	* config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define.

From-SVN: r175593
2011-06-28 17:50:50 +00:00
Joseph Myers a7d0d30f0b common.opt (in_lto_p): New Variable entry.
* common.opt (in_lto_p): New Variable entry.
	* flags.h (in_lto_p): Move to common.opt.
	* gcc.c: Include params.h.
	(set_option_handlers): Also use common_handle_option and
	target_handle_option.
	(main): Call global_init_params, finish_params and
	init_options_struct.
	* opts.c (debug_type_names): Move from toplev.c.
	(print_filtered_help): Access quiet_flag through opts pointer.
	(common_handle_option): Return early in the driver for some
	options.  Access in_lto_p, dwarf_version and
	warn_maybe_uninitialized through opts pointer.
	* toplev.c (in_lto_p): Move to common.opt.
	(debug_type_names): Move to opts.c.
	* Makefile.in (OBJS): Remove opts.o.
	(OBJS-libcommon-target): Add opts.o.
	(gcc.o): Update dependencies.

From-SVN: r175591
2011-06-28 18:00:59 +01:00
Janis Johnson cc6aa1000f vfp-ldmdbs.c: Skip for soft float.
* gcc.target/arm/vfp-ldmdbs.c: Skip for soft float.
	* gcc.target/arm/vfp-ldmias.c: Likewise.
	* gcc.target/arm/vfp-ldmdbd.c: Likewise.
	* gcc.target/arm/vfp-stmdbs.c: Likewise.
	* gcc.target/arm/vfp-ldmiad.c: Likewise.
	* gcc.target/arm/vfp-stmias.c: Likewise.
	* gcc.target/arm/vfp-stmdbd.c: Likewise.
	* gcc.target/arm/vfp-stmiad.c: Likewise.

From-SVN: r175590
2011-06-28 16:17:03 +00:00
Kai Tietz 420863a942 tree-ssa-forwprop.c (simplify_bitwise_binary): Improve type sinking.
2011-06-28  Kai Tietz  <ktietz@redhat.com>

        * tree-ssa-forwprop.c (simplify_bitwise_binary): Improve
        type sinking.

From-SVN: r175589
2011-06-28 17:32:47 +02:00
Ramana Radhakrishnan 0498a2be0d Fix constraints.
2011-06-28  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

       * config/arm/vfp.md ("*divsf3_vfp"): Replace '+' constraint modifier
       with '=' constraint modifier.
       (*divdf3_vfp): Likewise.
       ("*mulsf3_vfp"): Likewise.
       ("*muldf3_vfp"): Likewise.
       ("*mulsf3negsf_vfp"): Likewise.
       ("*muldf3negdf_vfp"): Likewise.

From-SVN: r175588
2011-06-28 14:54:58 +00:00
Nick Clifton 4a68b724cc mn10300.h (LINK_SPEC): Do not use linker relaxation when performing an incremental link.
* config/mn10300/mn10300.h (LINK_SPEC): Do not use linker
	relaxation when performing an incremental link.

From-SVN: r175584
2011-06-28 13:59:28 +00:00
Kai Tietz 72a3272969 tree-ssa-math-opts.c (execute_optimize_bswap): Search within BB from last to first.
2011-06-28  Kai Tietz  <ktietz@redhat.com>

        * tree-ssa-math-opts.c (execute_optimize_bswap): Search
        within BB from last to first.

From-SVN: r175580
2011-06-28 12:36:48 +02:00
Joseph Myers 88a00ef7d6 genattr-common.c: New.
* genattr-common.c: New.  Based on genattr.c.
	* Makefile.in (INSN_ATTR_H): Include insn-attr-common.h.
	(MOSTLYCLEANFILES): Add insn-attr-common.h.
	(opts.o): Update dependencies.
	(.PRECIOUS): Add insn-attr-common.h.
	(simple_rtl_generated_h): Add insn-attr-common.h.
	(build/genattr-common.o): New.
	(genprogrtl): Add attr-common.
	* genattr.c (main): Include insn-attr-common.h.  Don't generate
	definitions of DELAY_SLOTS or INSN_SCHEDULING.
	* opts.c: Include insn-attr-common.h instead of rtl.h and
	insn-attr.h.

From-SVN: r175579
2011-06-28 11:28:09 +01:00
Nick Clifton a9633db4d2 Revert spurious change to mn10300_get_live_callee_saved_regs
From-SVN: r175577
2011-06-28 08:50:45 +00:00
Nick Clifton 4be46d1929 * config.host: Recognize all V850 variants.
From-SVN: r175576
2011-06-28 08:49:18 +00:00
Georg-Johann Lay 880962aca2 config.gcc (tm_file): Add elfos.h and avr/elf.h for avr-*-* and avr-*-rtems* targets.
* config.gcc (tm_file): Add elfos.h and avr/elf.h for 
	avr-*-* and avr-*-rtems* targets.
	* config/avr/elf.h: New file.
	(ASM_OUTPUT_BEFORE_CASE_LABEL): Define.
	(TARGET_ASM_SELECT_SECTION): Define.
	(INIT_SECTION_ASM_OP): Undefine.
	(FINI_SECTION_ASM_OP): Undefine.
	(READONLY_DATA_SECTION_ASM_OP): Undefine.
	(PCC_BITFIELD_TYPE_MATTERS): Undefine.
	(TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Undefine.
	* config/avr/avr.h:
	(PREFERRED_DEBUGGING_TYPE): Move to elf.h.
	(TARGET_ASM_NAMED_SECTION): Move to elf.h.
	(MAX_OFILE_ALIGNMENT): Move to elf.h.
	(STRING_LIMIT): Move to elf.h.
	(ASM_DECLARE_FUNCTION_NAME): Move to elf.h.
	(ASM_DECLARE_OBJECT_NAME): Remove.
	(ESCAPES): Remove.
	(ASM_OUTPUT_SKIP): Remove.
	(DWARF2_DEBUGGING_INFO): Remove.
	(OBJECT_FORMAT_ELF): Remove.
	(USER_LABEL_PREFIX): Remove.
	(ASM_OUTPUT_EXTERNAL): Remove.
	(ASM_OUTPUT_ASCII): Remove.
	(TYPE_ASM_OP): Remove.
	(SIZE_ASM_OP): Remove.
	(WEAK_ASM_OP): Remove.
	(STRING_ASM_OP): Remove.
	(SET_ASM_OP): Remove.
	(ASM_WEAKEN_LABEL): Remove.
	(TYPE_OPERAND_FMT): Remove.
	(ASM_DECLARE_FUNCTION_SIZE): Remove.
	(ASM_FINISH_DECLARE_OBJECT): Remove.
	(NO_DOLLAR_IN_LABEL): Remove.
	(ASM_GENERATE_INTERNAL_LABEL): Remove.
	(ASM_OUTPUT_CASE_LABEL): Remove.
	* config/avr/avr.c (avr_asm_output_aligned_decl_common): Use
	ASM_OUTPUT_ALIGNED_LOCAL, ASM_OUTPUT_ALIGNED_COMMON.
	(gas_output_ascii): Remove.
	(gas_output_limited_string): Remove.
	(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove.
	* config/avr/avr-protos.h
	(gas_output_ascii): Remove prototye.
	(gas_output_limited_string): Remove prototype.

From-SVN: r175575
2011-06-28 07:26:09 +00:00
Janis Johnson 6dd61d8494 pr45701-1.c: Don't specify -march; remove dg-prune-output.
* gcc.target/arm/pr45701-1.c: Don't specify -march; remove
	dg-prune-output.
	* gcc.target/arm/pr45701-2.c: Ditto.

From-SVN: r175573
2011-06-28 01:37:28 +00:00
GCC Administrator ba51b89e1c Daily bump.
From-SVN: r175572
2011-06-28 00:18:34 +00:00
Gabriel Charette 18faf0ee3f MAINTAINERS (Write After Approval): Add myself.
2011-06-27  Gabriel Charette  <gchare@google.com>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r175567
2011-06-27 21:53:37 +00:00
Richard Earnshaw a1b5eb9382 re PR target/48637 (%c in ARM inline asm leads to ICE (in arm_print_operand))
PR target/48637
	* arm.c (arm_print_operand): Allow sym+offset.  Don't abort on invalid
	asm operands.

From-SVN: r175565
2011-06-27 21:09:25 +00:00
Janus Weil dbb7247b9a re PR fortran/49466 (Memory leak with assignment of extended derived types)
2011-06-27  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/49466
	* trans-array.c (structure_alloc_comps): Make sure sub-components
	and extended types are correctly deallocated.


2011-06-27  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/49466
	* gfortran.dg/allocatable_scalar_9.f90: Modified.
	* gfortran.dg/extends_14.f03: Modified.

From-SVN: r175563
2011-06-27 22:59:12 +02:00
Joseph Myers 5d8d1543f5 * de.po: Update.
From-SVN: r175561
2011-06-27 21:56:40 +01:00
Jan Hubicka 310e71a8b8 ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of node instead of references in node.
* ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of node
	instead of references in node.

From-SVN: r175555
2011-06-27 20:01:44 +00:00
Richard Henderson 171da07afc Fix alpha and ia64 non-vms build.
* config/alpha/alpha.c (vms_patch_builtins): Provide dummy definition.
        * config/ia64/ia64.c (ia64_init_builtins): Call vms_patch_builtins
        inside ifdef.

From-SVN: r175554
2011-06-27 12:57:09 -07:00
Janis Johnson 2972d17c85 target-supports-dg.exp (dg-require-effective-target): Return early if the test is already being skipped.
* lib/target-supports-dg.exp (dg-require-effective-target): Return
	early if the test is already being skipped.

From-SVN: r175547
2011-06-27 18:40:18 +00:00
Janis Johnson 0e0ccb0fbb scanasm.exp (dg-scan, [...]): For missing file...
* lib/scanasm.exp (dg-scan, scan-assembler-times, scan-assembler-dem,
	scan-assembler-dem-not): For missing file, report unresolved with
	same message as for pass/fail, with reason reported in log file.

From-SVN: r175546
2011-06-27 18:39:21 +00:00
Janis Johnson cf0a9c20a4 target-supports.exp (add_options_for_arm_fp16): Renamed from add_options_for_arm_neon_fp16.
* lib/target-supports.exp (add_options_for_arm_fp16): Renamed
	from add_options_for_arm_neon_fp16.
	(check_effective_target_arm_fp16_ok_nocache): Renamed from
	check_effective_target_arm_neon_fp16_ok_nocache.
	Check -mfpu and -mfloat-abi options from current multilib.
	Do not require neon support.
	(check_effective_target_arm_fp16_ok): Renamed from
	check_effecitve_target_arm_neon_fp16_ok.
	* g++.dg/ext/arm-fp16/arm-fp16-ops-5.C: Use new names for
	arm_neon_fp16_ok and arm_fp16.
	* g++.dg/ext/arm-fp16/arm-fp16-ops-6.C: Likewise.
	* gcc.dg/torture/arm-fp16-ops-5.c: Likewise.
	* gcc.dg/torture/arm-fp16-ops-6.c: Likewise.
	* gcc.target/arm/fp16-compile-vcvt.c: Likewise.

From-SVN: r175545
2011-06-27 18:38:00 +00:00
Jakub Jelinek 563007852e c-common.h (c_tree_chain_next): New static inline function.
* c-common.h (c_tree_chain_next): New static inline function.

	* c-decl.c (union lang_tree_node): Use it in chain_next expression.

	* cp-tree.h (union lang_tree_node): Use it in chain_next expression.

From-SVN: r175542
2011-06-27 18:56:08 +02:00
Jakub Jelinek 45d439ac1a builtin-types.def (BT_FN_PTR_CONST_PTR_SIZE_VAR): New.
* builtin-types.def (BT_FN_PTR_CONST_PTR_SIZE_VAR): New.
	* builtins.def (BUILT_IN_ASSUME_ALIGNED): New builtin.
	* tree-ssa-structalias.c (find_func_aliases_for_builtin_call,
	find_func_clobbers): Handle BUILT_IN_ASSUME_ALIGNED.
	* tree-ssa-ccp.c (bit_value_assume_aligned): New function.
	(evaluate_stmt, execute_fold_all_builtins): Handle
	BUILT_IN_ASSUME_ALIGNED.
	* tree-ssa-dce.c (propagate_necessity): Likewise.
	* tree-ssa-alias.c (ref_maybe_used_by_call_p_1,
	call_may_clobber_ref_p_1): Likewise.
	* builtins.c (is_simple_builtin, expand_builtin): Likewise.
	(expand_builtin_assume_aligned): New function.
	* doc/extend.texi (__builtin_assume_aligned): Document.

	* c-common.c (check_builtin_function_arguments): Handle
	BUILT_IN_ASSUME_ALIGNED.

	* gcc.dg/builtin-assume-aligned-1.c: New test.
	* gcc.dg/builtin-assume-aligned-2.c: New test.
	* gcc.target/i386/builtin-assume-aligned-1.c: New test.

From-SVN: r175541
2011-06-27 18:52:23 +02:00
Jakub Jelinek dc2a58daab re PR debug/49544 (ICE in new_elt_loc_list)
PR debug/49544
	* cselib.c (promote_debug_loc): If cselib_preserve_constants
	and l has two DEBUG_INSN owned locs instead of just one, adjust
	the second location's setting_insn too.

	* gcc.dg/pr49544.c: New test.

From-SVN: r175540
2011-06-27 18:45:49 +02:00
Rainer Orth 0d72f628a4 re PR libmudflap/38738 (libmudflap could be enabled for Solaris when using GNU ld)
gcc:
	PR libmudflap/38738
	* config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define.

	libmudflap:
	PR libmudflap/38738
	* configure.ac: Check for sys/mnttab.h.
	Check for library containing connect.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* mf-hooks2.c [HAVE_SYS_MNTTAB_H]: Include <sys/mnttab.h>.
	* testsuite/libmudflap.c/pass-stratcliff.c (main) [__sun__ &&
	__svr4__]: Disable rawmemchr, stpcpy, mempcpy tests.

From-SVN: r175537
2011-06-27 16:20:47 +00:00
Nick Clifton bebd619ecc mn10300.md (clzsi2): Use XOR after BSCH to convert bit position of highest bit set into a count of...
* config/mn10300/mn10300.md (clzsi2): Use XOR after BSCH to
	convert bit position of highest bit set into a count of the high
	zero bits.

From-SVN: r175536
2011-06-27 15:52:26 +00:00
Eric Botcazou 353b39fa9d * dwarf2out.c (TYPE_DECL_IS_STUB): Extend mechanism to all types.
From-SVN: r175535
2011-06-27 14:54:09 +00:00
Eric Botcazou a7af037b11 re PR lto/48492 (LTO bootstrap failure in copy_constant)
PR lto/48492
	* dwarf2out.c (dwarf2out_finish): Do not attach a DIE on the limbo list
	to a NULL parent.

From-SVN: r175533
2011-06-27 14:34:05 +00:00
Richard Guenther 1c86160a7a re PR middle-end/49394 (libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc FAILs with -fipa-pta -fnon-call-exceptions)
2011-06-27  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/49394
	* passes.c (execute_one_pass): Restore current_pass after
	applying IPA transforms.

	* g++.dg/torture/pr49394.C: New testcase.

From-SVN: r175532
2011-06-27 14:32:00 +00:00
Kai Tietz 5da49a9d15 tree-ssa-math-opts.c (do_shift_rotate): Zero bits out of type precision after operation.
2011-06-27  Kai Tietz  <ktietz@redhat.com>

        * tree-ssa-math-opts.c (do_shift_rotate): Zero bits
        out of type precision after operation.
        (find_bswap): Take for limit value the integer auto-
        promotion into account.

ChangeLog

2011-06-27  Kai Tietz  <ktietz@redhat.com>

        * gcc.dg/optimize-bswapdi-2.c: New test.

From-SVN: r175528
2011-06-27 15:44:52 +02:00
Eric Botcazou 9242213f86 reorg.c (fill_simple_delay_slots): Use stop_search_p to stop the forward scan as well.
* reorg.c (fill_simple_delay_slots): Use stop_search_p to stop the
	forward scan as well.

From-SVN: r175524
2011-06-27 12:59:56 +00:00
Tristan Gingold db8b22ef49 re PR target/44241 (vms-crtl.h, vms-crtl-64.h need many more symbols)
2011-06-27  Tristan Gingold  <gingold@adacore.com>

	PR target/44241
	* config/vms/vms-protos.h: New file.
	* config/vms/vms-crtlmap.map: New file.
	* config/vms/vms.c: New file.
	* config/vms/make-crtlmap.awk: New file.
	* config/vms/vms-crtl.h: File removed.
	* config/vms/vms-crtl-64.h: File removed.
	* config/vms/t-vms (vms-crtlmap.h, vms.o): New targets.
	* config/alpha/vms64.h: Do not include vms-crtl-64.h
	* config/alpha/alpha.c (alpha_init_builtins): Remove code to
	clear some builtins on VMS.  Calls vms_patch_builtins.
	(avms_asm_output_external): Remove.
	* config/alpha/vms.h (ASM_OUTPUT_EXTERNAL): Remove.
	(struct crtl_name_spec): Remove
	(DO_CTRL_NAMES): Remove.
	* config/ia64/vms.h (struct crtl_name_spec): Remove
	(DO_CTRL_NAMES): Remove.
	* config/ia64/ia64.c (alpha_init_builtins): Remove code to
	clear some builtins on VMS.  Calls vms_patch_builtins.
	(ia64_asm_output_external): Remove DO_CRTL_NAME.
	* config/ia64/vms64.h: Do not include vms-crtl-64.h
	* config.gcc (*-*-*vms*): Define extra_objs, target_gtfiles,
	tm_p_file.

From-SVN: r175523
2011-06-27 12:51:09 +00:00