Commit Graph

91756 Commits

Author SHA1 Message Date
Vladimir Makarov 2af2dbdc68 tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
2008-01-29  Vladimir Makarov  <vmakarov@redhat.com>

	* doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
	* doc/passes.texi: Remove entries about regclass, local-alloc, and
	global.  Modify entries about regmove and IRA.

	* ra-conflict.c: Remove the file.

	* reload.c (push_reload, find_dummy_reload): Remove flag_ira.

	* tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
	(pass_regclass_init): Rename to pass_reginfo_init.

	* cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.

	* toplev.h (flag_ira): Remove.

	* caller-save.c (setup_save_areas): Remove flag_ira.

	* ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot):
	Ditto.

	* global.c: Remove the file.

	* opts.c: (decode_options): Remove flag_ira.

	* hard-reg-set.h (losing_caller_save_reg_set): Remove.

	* regmove.c: Modify file description.
	(find_use_as_address, try_auto_increment): Define them only if
	AUTO_INC_DEC is defined.
	(replacement_quality, replace_in_call_usage, fixup_match_1,
	stable_and_no_regs_but_for_p): Remove.
	(reg_set_in_bb): Make it static.
	(regmove_optimize): Remove flag_ira and code which worked for
	!flag_ira.

	* local-alloc.c: Remove the file.

	* common.opt (fira): Remove.

	* ira.c: Include except.h.
	(eliminable_regset): Move from global.c.
	(mark_elimination): Ditto.  Remove flag_ira.
	(reg_renumber, struct equivalence, reg_equiv, equiv_mem,
	equiv_mem_modified, validate_equiv_mem_from_store,
	validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
	contains_replace_regs, memref_referenced_p, memref_used_between_p,
	no_equiv, recorded_label_ref): Move from local-alloc.c.
	(update_equiv_regs): Ditto.  Make it static.
	(print_insn_chain, print_insn_chains): Move it from global.c.
	pseudo_for_reload_consideration_p): Ditto.  Remove flag_ira.
	(build_insn_chain): Ditto.  Make it static.
	(ra_init_live_subregs): Move from ra-conflict.c.  Make it static.
	Rename to init_live_subregs.
	(gate_ira): Remove flag_ira.

	* regclass.c: Rename reginfo.c.  Change file description.
	(FORBIDDEN_INC_DEC_CLASSES): Remove.
	(reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec):
	Remove.
	(init_reg_sets_1): Remove code for evaluation of
	reg_class_superclasses and losing_caller_save_reg_set.
	(init_regs): Remove init_reg_autoinc.
	(struct costs, costs, init_cost, ok_for_index_p_nonstrict,
	ok_for_base_p_nonstrict): Remove.
	(regclass_init): Rename to reginfo_init.  Don't initialize
	init_cost.
	(pass_regclass_init): Rename to pass_reginfo_init.  Modify
	corresponding entries.
	(dump_regclass, record_operand_costs, scan_one_insn,
	init_reg_autoinc, regclass, record_reg_classes, copy_cost,
	record_address_regs, auto_inc_dec_reg_p): Remove.
	(gt-regclass.h): Rename to gt-reginfo.h.

	* rtl.h (dump_global_regs, retry_global_alloc,
	build_insn_chain, dump_local_alloc, update_equiv_regs):
	Remove.

	* Makefile.in (RA_H): Remove.
	(OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
	Rename regclass.o to reginfo.o.
	(regclass.o): Rename to reginfo.o.  Rename gt-regclass.h to
	gt-reginfo.h.
	(global.o, local-alloc.o, ra-conflict.o): Remove entries.
	(GTFILES): Rename regclass.c to	reginfo.c.

	* passes.c (init_optimization_passes): Remove pass_local_alloc and
	pass_global_alloc.  Rename pass_regclass_init to
	pass_reginfo_init.

	* reload1.c (compute_use_by_pseudos, reload, count_pseudo,
	count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
	Remove flag_ira.
	(finish_spills): Ditto.  Remove code for !flga_ira.

From-SVN: r143757
2009-01-29 14:51:46 +00:00
Kenneth Zadeck 00b251a037 re PR middle-end/35854 (life passes dump option still documented)
2009-01-29  Kenneth Zadeck <zadeck@naturalbridge.com>

	PR middle-end/35854
	* doc/invoke.texi (rtl debug options): Complete rewrite.
	* auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
	to auto_inc_dec".
	* mode-switching.c (pass_mode_switching): Rename pass from
	"mode-sw" to "mode_sw".
	* except.c (pass_convert_to_eh_ranges): Rename pass from
	"eh-ranges" to "eh_ranges".
	* lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
	to "subreg1".
		
	
2009-01-29  Kenneth Zadeck <zadeck@naturalbridge.com>

	PR middle-end/35854
	* gcc.dg/lower-subreg-1.c: Renamed dump pass from "subreg" to "subreg1"

From-SVN: r143756
2009-01-29 14:34:55 +00:00
Alexander Monakov 72a54528db [multiple changes]
2009-01-29  Andrey Belevantsev  <abel@ispras.ru>
	    Alexander Monakov  <amonakov@ispras.ru>

	PR middle-end/38857
	* sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
	register.
	(move_exprs_to_boundary): Change return type and pass through
	should_move from move_op.  Relax assert.  Update usage ...
	(schedule_expr_on_boundary): ... here.  Use should_move instead of
	cant_move.
	(move_op_orig_expr_found): Indicate that insn was disconnected from
	stream.
	(code_motion_process_successors): Do not call after_merge_succs
	callback if original expression was not found when traversing any of
	the branches.
	(code_motion_path_driver): Change return type.  Update prototype.
	(move_op): Update comment.  Add a new parameter (should_move).  Update
	prototype.  Set *should_move based on indication provided by
	move_op_orig_expr_found.

2009-01-29  Steve Ellcey  <sje@cup.hp.com>

	PR middle-end/38857
	* gcc.c-torture/compile/pr38857.c: New test.

From-SVN: r143753
2009-01-29 13:53:15 +03:00
Uros Bizjak d748c4062c * testsuite/ChangeLog: Add missing entry.
From-SVN: r143751
2009-01-29 09:49:14 +01:00
Benjamin Kosnik 5292c0337d testsuite_common_types.h (has_trivial_cons_dtor): New.
2009-01-28  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
	(standard_layout): Just use !has_virtual_destructor for now.
	* testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
	* testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
	* testsuite/30_threads/recursive_mutex/requirements/
	standard_layout.cc: New.
	* testsuite/30_threads/condition_variable/requirements/
	standard_layout.cc: New.
	* testsuite/29_atomics/atomic_address/requirements/
	standard_layout.cc: Adjust.
	* testsuite/29_atomics/atomic_flag/requirements/
	standard_layout.cc: Same.
	* testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
	* testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
	* testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
	* testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
	line numbers.
	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic/requirements/standard_layout.cc:
	Remove, not required.

From-SVN: r143749
2009-01-29 00:25:17 +00:00
GCC Administrator e8eef5963f Daily bump.
From-SVN: r143747
2009-01-29 00:16:44 +00:00
Paul Thomas 61a3961538 re PR fortran/38852 ([4.3] UBOUND fails for negative stride triplets)
2009-01-28  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38852
	PR fortran/39006
	* trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
	descriptor ubound for UBOUND, when the array lbound == 1.

2009-01-28  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/38852
	PR fortran/39006
	* gfortran.dg/bound_6.f90: New test.

From-SVN: r143743
2009-01-28 21:48:53 +00:00
Pat Haugen 001b9eb6b1 invoke.texi (avoid-indexed-addresses): Document new option.
* doc/invoke.texi (avoid-indexed-addresses): Document new option.
	* config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
	* config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
	* config/rs6000/rs6000.c (rs6000_override_options): Default
	avoid-indexed-addresses on for Power6, off for everything else.
	(avoiding_indexed_address_p): New function.
	(rs6000_legitimize_address): Use it.
	(rs6000_legitimate_address): Likewise.
	* config/rs6000/rs6000.md (movXX_updateX): Likewise
	* gcc.target/powerpc/avoid-indexed-addresses.c: New test.

From-SVN: r143742
2009-01-28 18:51:53 +00:00
Kazu Hirata b990b40f02 re PR tree-optimization/38997 (-ftree-loop-distribution ICEs)
gcc/
	PR tree-optimization/38997
	* tree-loop-distribution.c (generate_memset_zero): Use
	POINTER_PLUS_EXPR for a pointer addition.

gcc/testsuite/
	PR tree-optimization/38997
	* gcc.dg/tree-ssa/pr38997.c: New.

From-SVN: r143740
2009-01-28 18:17:13 +00:00
Kazu Hirata 59dc48988a re PR tree-optimization/38997 (-ftree-loop-distribution ICEs)
gcc/
	PR tree-optimization/38997
	* tree-loop-distribution.c (generate_memset_zero): Use
	POINTER_PLUS_EXPR for a pointer addition.

gcc/testsuite/
	PR tree-optimization/38997
	* gcc.dg/tree-ssa/pr38997.c: New.

From-SVN: r143739
2009-01-28 18:16:57 +00:00
Andreas Krebbel 07da44aba4 s390.md (bswap<mode>2): New pattern added.
2009-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md (bswap<mode>2): New pattern added.

From-SVN: r143737
2009-01-28 16:41:24 +00:00
Wolfgang Gellerich cdc15d231a s390.md (*tls_load_31): Added type attribute.
2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/s390.md (*tls_load_31): Added type attribute.

From-SVN: r143736
2009-01-28 16:39:56 +00:00
Wolfgang Gellerich d46f24b683 s390.md: Fix a few comments.
2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/s390.md: Fix a few comments.

From-SVN: r143735
2009-01-28 16:38:06 +00:00
Wolfgang Gellerich 729e750fba s390.md (*tmsi_reg): Fixed z10prop attribute.
2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>

	* config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
	(*tm<mode>_full): Fixed z10prop attribute.
	(*tst<mode>_extimm): Fixed z10prop attribute.
	(*tst<mode>_cconly_extimm): Fixed z10prop attribute.
	(*tstqiCCT_cconly): Fixed z10prop attribute.
	(*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
	(*movsi_larl): Fixed z10prop attribute.
	(*movsi_zarch): Fixed z10prop attribute.
	(*movsi_eas): Fixed z10prop attribute.
	(*movhi): Fixed z10prop attribute.
	(*movqi): Fixed z10prop attribute.
	(*movstrictqi): Fixed z10prop attribute.
	(*mov<mode>): Fixed z10prop attribute.
	(*movcc): Fixed z10prop attribute.
	(*sethighpartdi_64): Fixed z10prop attribute.
	(*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
	(*negdi2_sign_cc): Fixed z10prop attribute.
	(*negdi2_sign): Fixed z10prop attribute.
	(*absdi2_sign_cc): Fixed z10prop attribute.
	(*absdi2_sign): Fixed z10prop attribute.
	(*negabsdi2_sign_cc): Fixed z10prop attribute.
	(*negabsdi2_sign): Fixed z10prop attribute.
	(*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
	(*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
	(doloop_si64): Fixed z10prop attribute.
	(doloop_si31): Fixed z10prop attribute.
	(doloop_long): Fixed z10prop attribute.
	(indirect_jump): Fixed z10prop attribute.
	(nop): Fixed z10prop attribute.
	(main_base_64): Fixed z10prop attribute.
	(reload_base_64): Fixed z10prop attribute.

From-SVN: r143734
2009-01-28 16:36:42 +00:00
Jakub Jelinek c7789bfb8c re PR rtl-optimization/38740 (Incorrect delayed branch optimization)
PR rtl-optimization/38740
	* reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
	if !optimize.
	* config/mips/mips.c (mips_reorg): Likewise.

From-SVN: r143733
2009-01-28 17:05:41 +01:00
Richard Guenther de081cfd3b re PR tree-optimization/38926 (ice in find_or_generate_expression, at tree-ssa-pre.c:2769)
2009-01-28  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38926
	* tree-ssa-pre.c (add_to_value): Assert we add only expressions
	with the correct value id to a value.
	(do_regular_insertion): Use the value number of edoubleprime
	for the value number of the expr.

	Revert
	2008-08-21  Richard Guenther  <rguenther@suse.de>
  
        * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
        a PHI ask VN if it is already available.
        * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
        * tree-ssa-sccvn.c (vn_phi_lookup): Export.

	* gcc.c-torture/compile/pr38926.c: New testcase.

From-SVN: r143725
2009-01-28 12:14:09 +00:00
Jakub Jelinek a9d386a14f re PR middle-end/38934 (ICE in set_value_range, at tree-vrp.c:398)
PR middle-end/38934
	* tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
	set to varying whenever max has TREE_OVERFLOW set, similarly
	for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.

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

From-SVN: r143723
2009-01-28 11:40:06 +01:00
Richard Guenther 97a170cd63 re PR c++/38908 (Unexplained "'<anonymous>' is used uninitialized in this function" warning in cc1plus -m64)
2009-01-28  Richard Guenther  <rguenther@suse.de>

	PR middle-end/38908
	* tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
	uninitialized aggregate uses in call arguments.

	* g++.dg/warn/Wuninitialized-2.C: New testcase.

From-SVN: r143722
2009-01-28 09:36:41 +00:00
Paolo Bonzini 89ebafc6cd re PR tree-optimization/38984 (NULL pointers always considered distinct by PTA, even with -fno-delete-null-pointer-checks)
gcc:
2009-01-28  Paolo Bonzini  <bonzini@gnu.org>

	PR tree-optimization/38984
	* tree-ssa-structalias.c (get_constraints_for_1): Do not use
	the nothing_id variable if -fno-delete-null-pointer-checks.

gcc/testsuite:
2009-01-28  Paolo Bonzini  <bonzini@gnu.org>

	PR tree-optimization/38984
	* gcc.dg/pr38984.c: New XFAILed testcase.

From-SVN: r143721
2009-01-28 08:02:31 +00:00
Uros Bizjak bef3c57bab re PR target/38988 (Cannot build crtstuff.c with -mcmodel=large -fPIC -O2)
PR target/38988
	* config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
	(set_got_offset_rex64): Ditto.

From-SVN: r143720
2009-01-28 08:58:07 +01:00
H.J. Lu 0c6390fae9 re PR target/38941 (CX isn't preserved with shift)
2009-01-27  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38941
	* doc/extend.texi: Improve local variable with asm reg.

From-SVN: r143719
2009-01-27 19:38:41 -08:00
Adam Nemet bee6fa6d32 c.opt (Wpacked-bitfield-compat): Change init value to -1.
* c.opt (Wpacked-bitfield-compat): Change init value to -1.
	* c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
	was not supplied then set warn_packed_bitfield_compat to the
	default value of 1.
	* stor-layout.c (place_field): Check warn_packed_bitfield_compat
	against 1.

From-SVN: r143718
2009-01-28 02:55:20 +00:00
GCC Administrator 2b5ba03731 Daily bump.
From-SVN: r143716
2009-01-28 00:16:36 +00:00
Paolo Carlini 267e265c52 re PR c++/37554 (ICE with invalid cast)
/cp
2009-01-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/37554
	* call.c (build_over_call): If convert_for_arg_passing returns
	error_mark_node unconditionally return it.

/testsuite
2009-01-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/37554
	* g++.dg/parse/crash51.C: New.
	* g++.old-deja/g++.pt/crash9.C: Adjust.

From-SVN: r143711
2009-01-27 19:47:28 +00:00
Daniel Kraft 79e5286cba re PR fortran/38883 (ICE for MVBITS with derived type argument that has run-time subscripts)
2009-01-27  Daniel Kraft  <d@domob.eu>

	PR fortran/38883
	* trans-stmt.c (gfc_conv_elemental_dependencies):  Create temporary
	for the real type needed to make it work for subcomponent-references.

2009-01-27  Daniel Kraft  <d@domob.eu>

	PR fortran/38883
	* gfortran.dg/mvbits_6.f90:  New test.
	* gfortran.dg/mvbits_7.f90:  New test.
	* gfortran.dg/mvbits_8.f90:  New test.

From-SVN: r143707
2009-01-27 19:07:54 +01:00
Paul Brook 7b7d60003f Fix broken commit from r143594.
From-SVN: r143705
2009-01-27 16:14:13 +00:00
Richard Guenther b5c3dfbbfb re PR middle-end/38503 (warnings from -isystem headers strikes back.)
2009-01-27  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38503
	* cfgexpand.c (expand_gimple_basic_block): Ignore
	GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
	* tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
	variables that cannot have TBAA applied.
	(compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
	statements.

	* g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C: New testcase.

From-SVN: r143700
2009-01-27 10:42:59 +00:00
Uros Bizjak 576de5cb6e re PR middle-end/38969 (-foptimize-sibling-calls generates wrong code on alpha)
PR middle-end/38969
	* calls.c (initialize_argument_information): Do not wrap complex
	arguments in SAVE_EXPR.

testsuite/ChangeLog:

	PR middle-end/38969
	* gcc.c-torture/execute/pr38969.c: New test.

From-SVN: r143699
2009-01-27 11:18:54 +01:00
Jakub Jelinek f22167fdbf re PR libgcj/38872 (libgcj.so dropped _Jv_CreateJavaVM and _Jv_GetStringChars symbols)
PR libgcj/38872
	* gcj/javaprims.h (_Jv_CreateJavaVM): Change to extern "C" symbol.
	* libjgc_bc.c (_Jv_GetStringChars): Remove.

From-SVN: r143698
2009-01-27 11:09:23 +01:00
Adam Nemet 8cff583a25 re PR testsuite/38864 (Fixed-point tests under gcc.target/mips are missing the fixed_point target check)
PR testsuite/38864
	* gcc.target/mips/fixed-vector-type.c: Add { target { fixed_point} }
	to dg-do compile.
	* gcc.target/mips/fixed-scalar-type.c: Likewise.
	* gcc.target/mips/dpaq_sa_l_w.c: Likewise.
	* gcc.target/mips/dpsq_sa_l_w.c: Likewise.

From-SVN: r143694
2009-01-27 07:41:46 +00:00
GCC Administrator 661fe60f8a Daily bump.
From-SVN: r143692
2009-01-27 00:16:43 +00:00
H.J. Lu e6b18eaa6d re PR target/38952 (EH does not work.)
2009-01-26  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38952
	* g++.dg/torture/stackalign/test-unwind.h (main): Also return 0
	if __USING_SJLJ_EXCEPTIONS__ is defined.

	* g++.dg/torture/stackalign/unwind-0.C (foo): Don't define if
	__USING_SJLJ_EXCEPTIONS__ is defined.
	* g++.dg/torture/stackalign/unwind-1.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-2.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-3.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-4.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-5.C (foo): Likewise.
	* g++.dg/torture/stackalign/unwind-6.C (foo): Likewise.

From-SVN: r143689
2009-01-26 15:39:02 -08:00
Andreas Tobler 5efb79fcab t-vxworks (LIBGCC2_INCLUDES): Fix typo.
2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>

	* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
	(INSTALL_LIBGCC): Revert typo commit.

From-SVN: r143687
2009-01-27 00:01:25 +01:00
Andreas Tobler 9112bb3835 t-vxworks (LIBGCC2_INCLUDES): Fix typo.
2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>

	* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.

From-SVN: r143686
2009-01-26 22:47:10 +01:00
Danny Smith 89d2411cc9 re PR testsuite/38949 (Link failures in new stackalign tests)
2009-01-26  Danny Smith  <dannysmith@users.sourceforge.net>

	PR testsuite/38949
	* g++.dg/torture/stackalign/test-unwind.h (ASMNAME): Define.
	Use instead of C name in asm statements.

From-SVN: r143684
2009-01-26 12:34:09 -08:00
H.J. Lu 93f1527a3f Fix a typo.
From-SVN: r143679
2009-01-26 08:46:03 -08:00
Richard Guenther 4757704f84 re PR tree-optimization/38745 (ICE: statement makes a memory store, but has no VDEFS)
2009-01-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38745
	* tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
	from special handling.

From-SVN: r143676
2009-01-26 15:03:30 +00:00
Richard Guenther e3e6cff41e re PR tree-optimization/38745 (ICE: statement makes a memory store, but has no VDEFS)
2009-01-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38745
	* tree-ssa.c (execute_update_addresses_taken): Do not include
	variables that cannot possibly be a register in not_reg_needs.
	Do not clear TREE_ADDRESSABLE on vars that may not become
	registers.
	* tree-ssa.c (update_alias_info_1): Include those in the set
	of addressable vars.

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

From-SVN: r143673
2009-01-26 09:55:30 +00:00
Richard Guenther dc874b53e5 re PR middle-end/38851 (Compiler warns about uninitialized variable that is an object with a constructor)
2009-01-26  Richard Guenther  <rguenther@suse.de>

	PR middle-end/38851
	* Makefile.in (tree-ssa-dse.o): Add langhooks.h.
	* tree-ssa-dse.c: Include langhooks.h
	(execute_simple_dse): Remove stores with zero size.

	* g++.dg/warn/Wuninitialized-1.C: New testcase.

From-SVN: r143672
2009-01-26 09:52:48 +00:00
GCC Administrator 20d4bdcbb1 Daily bump.
From-SVN: r143667
2009-01-26 00:16:58 +00:00
Hans-Peter Nilsson ecbf12d3cc Replace spurious character 0xa0 with 0x20 before 'target'
From-SVN: r143664
2009-01-25 20:15:44 +00:00
Hans-Peter Nilsson cc7f271ede bitfld-15.c: Gate warning on target pcc_bitfield_type_matters.
* gcc.dg/bitfld-15.c: Gate warning on target
	pcc_bitfield_type_matters.
	* gcc.dg/bitfld-17.c, g++.dg/ext/bitfield2.C,
	g++.dg/ext/bitfield4.C: Likewise.
	* gcc.dg/pr17112-1.c: Don't expect a warning for the packed
	bitfield for any target.

From-SVN: r143662
2009-01-25 12:11:21 +00:00
GCC Administrator a8b1bfab9f Daily bump.
From-SVN: r143659
2009-01-25 00:16:43 +00:00
Jakub Jelinek 849421a3e4 re PR c/38957 (return of local variable pointer)
PR c/38957
	* c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
	as PLUS_EXPR.

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

From-SVN: r143654
2009-01-24 22:36:09 +01:00
Julian Brown 82f7042142 t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add config/arm/linux-atomic.c.
* config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
	config/arm/linux-atomic.c.
	* config/arm/linux-atomic.c: New.

From-SVN: r143653
2009-01-24 21:06:08 +00:00
Eric Botcazou 863412d681 linux.h (DBX_REGISTER_NUMBER): Delete.
* config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
	* config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
	* config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.

From-SVN: r143649
2009-01-24 20:49:41 +00:00
H.J. Lu 8c6843007d re PR c/38938 (-Wno-all doesn't work on -Wpointer-sign)
2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>

	PR c/38938
	* c-opts.c (c_common_handle_option): Upate warn_pointer_sign
	properly.

From-SVN: r143648
2009-01-24 08:05:53 -08:00
David Billinghurst 8cd9b95149 re PR fortran/38955 (testsuite/gfortran.dg/array_constructor_24.f fails due to floating point comparison)
2009-01-24 David Billinghurst (billingd@gcc.gnu.org)

	PR fortran/38955
	* gfortran.dg/array_constructor_24.f: Allow tolerance when 
	comparing floats

From-SVN: r143600
2009-01-24 08:00:13 +00:00
Sebastian Pop b840fb02f5 re PR tree-optimization/38953 ([graphite] loop closed SSA not maintained by graphite code generation)
2009-01-24  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/38953
	* graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
	(scop_adjust_phis_for_liveouts): Initialize false_i to zero.
	(gloog): Split the exit of the scop when the scop exit is a loop exit.
	(graphite_transform_loops): Only call cleanup_tree_cfg if gloog
	changed the CFG.

	* gfortran.dg/graphite/pr38953.f90: New.

From-SVN: r143599
2009-01-24 00:59:51 +00:00
GCC Administrator 77f9581b89 Daily bump.
From-SVN: r143597
2009-01-24 00:17:00 +00:00