1. 06 Jun, 2014 1 commit
  2. 05 Jun, 2014 29 commits
  3. 04 Jun, 2014 10 commits
    • libgo: Merge from revision 18783:00cce3a34d7e of master library. · bae90c98
      This revision was committed January 7, 2014.  The next
      revision deleted runtime/mfinal.c.  That will be done in a
      subsequent merge.
      
      This merge changes type descriptors to add a zero field,
      pointing to a zero value for that type.  This is implemented
      as a common variable.
      
      	* go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and
      	alignment parameters.  Permit init parameter to be NULL.
      
      From-SVN: r211249
      Ian Lance Taylor committed
    • re PR c++/43453 (Initialization of char array with string literal fails in mem-initializer) · 82b3da6a
      /cp
      2014-06-04  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/43453
      	* typeck.c (cp_build_modify_expr): Handle array of characters
      	initialized by a string literal.
      	* decl.c (check_initializer): Handle parenthesized string literal
      	as initializer.
      	* typeck2.c (store_init_value): Remove redundant check.
      
      /testsuite
      2014-06-04  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/43453
      	* g++.dg/init/pr43453.C: New.
      
      From-SVN: r211248
      Paolo Carlini committed
    • Use INTVAL only on CONST_INT in addptrdi3 and addptrsi3 · 357ddc7d
      2014-06-04  Tom de Vries  <tom@codesourcery.com>
      
      	* config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on
      	CONST_INT.
      
      From-SVN: r211246
      Tom de Vries committed
    • re PR tree-optimization/61385 (ICE on valid code at -O2 and -O3 on x86_64-linux-gnu) · ca73a1f7
      2014-06-04  Marc Glisse  <marc.glisse@inria.fr>
      
      	PR tree-optimization/61385
      gcc/
      	* tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes.
      gcc/testsuite/
      	* gcc.dg/tree-ssa/pr61385.c: New file.
      
      From-SVN: r211245
      Marc Glisse committed
    • lto-wrapper.c (fatal, [...]): Remove functions. · ffb1f5ef
      	* lto-wrapper.c (fatal, fatal_perror): Remove functions.  All callers
      	changed to use fatal_error.
      	(main): Ensure lto_wrapper_cleanup is run atexit.
      
      From-SVN: r211243
      Bernd Schmidt committed
    • lra-constraints.c (valid_address_p): Move earlier in file. · a953491e
      gcc/
      	* lra-constraints.c (valid_address_p): Move earlier in file.
      	(address_eliminator): New structure.
      	(satisfies_memory_constraint_p): New function.
      	(satisfies_address_constraint_p): Likewise.
      	(process_alt_operands, process_address, curr_insn_transform): Use them.
      
      From-SVN: r211242
      Richard Sandiford committed
    • lra-int.h (lra_static_insn_data): Make operand_alternative a const pointer. · 0c331756
      gcc/
      	* lra-int.h (lra_static_insn_data): Make operand_alternative a
      	const pointer.
      	(target_lra_int, default_target_lra_int, this_target_lra_int)
      	(op_alt_data): Delete.
      	* lra.h (lra_init): Delete.
      	* lra.c (default_target_lra_int, this_target_lra_int): Delete.
      	(init_insn_code_data_once): Remove op_alt_data handling.
      	(finish_insn_code_data_once): Likewise.
      	(init_op_alt_data): Delete.
      	(get_static_insn_data): Initialize operand_alternative to null.
      	(free_insn_recog_data): Cast operand_alternative before freeing it.
      	(setup_operand_alternative): Take the operand_alternative as
      	parameter and assume it isn't already cached in the static
      	insn data.
      	(lra_set_insn_recog_data): Update accordingly.
      	(lra_init): Delete.
      	* ira.c (ira_init): Don't call lra_init.
      	* target-globals.h (this_target_lra_int): Declare.
      	(target_globals): Remove lra_int.
      	(restore_target_globals): Update accordingly.
      	* target-globals.c: Don't include lra-int.h.
      	(default_target_globals, save_target_globals): Remove lra_int.
      
      From-SVN: r211241
      Richard Sandiford committed
    • recog.h (operand_alternative): Convert reg_class, reject, matched and matches into bitfields. · 1145837d
      gcc/
      	* recog.h (operand_alternative): Convert reg_class, reject,
      	matched and matches into bitfields.
      	(preprocess_constraints): New overload.
      	(preprocess_insn_constraints): New function.
      	(preprocess_constraints): Take the insn as parameter.
      	(recog_op_alt): Change into a pointer.
      	(target_recog): Add x_op_alt.
      	* recog.c (asm_op_alt): New variable.
      	(recog_op_alt): Change into a pointer.
      	(preprocess_constraints): New overload, replacing the old function
      	definition with one that doesn't use global state.
      	(preprocess_insn_constraints): New function.
      	(preprocess_constraints): Use them.  Take the insn as parameter.
      	Use asm_op_alt for asms.
      	(recog_init): Free existing x_op_alt entries.
      	* ira-lives.c (check_and_make_def_conflict): Make operand_alternative
      	pointer const.
      	(make_early_clobber_and_input_conflicts): Likewise.
      	(process_bb_node_lives): Pass the insn to process_constraints.
      	* reg-stack.c (check_asm_stack_operands): Likewise.
      	(subst_asm_stack_regs): Likewise.
      	* regcprop.c (copyprop_hardreg_forward_1): Likewise.
      	* regrename.c (build_def_use): Likewise.
      	* sched-deps.c (sched_analyze_insn): Likewise.
      	* sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise.
      	* config/arm/arm.c (xscale_sched_adjust_cost): Likewise.
      	(note_invalid_constants): Likewise.
      	* config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
      	(ix86_legitimate_combined_insn): Make operand_alternative pointer
      	const.
      
      From-SVN: r211240
      Richard Sandiford committed
    • recog.c (preprocess_constraints): Don't skip disabled alternatives. · 5f2e0797
      gcc/
      	* recog.c (preprocess_constraints): Don't skip disabled alternatives.
      	* ira-lives.c (check_and_make_def_conflict): Check for disabled
      	alternatives.
      	(make_early_clobber_and_input_conflicts): Likewise.
      	* config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
      
      From-SVN: r211239
      Richard Sandiford committed
    • recog.h (alternative_class): New function. · 5efe5dec
      gcc/
      	* recog.h (alternative_class): New function.
      	(which_op_alt): Return a const recog_op_alt.
      	* reg-stack.c (check_asm_stack_operands): Update type accordingly.
      	(subst_asm_stack_regs): Likewise.
      	* config/arm/arm.c (note_invalid_constants): Likewise.
      	* regcprop.c (copyprop_hardreg_forward_1): Likewise.  Don't modify
      	the operand_alternative; use alternative class instead.
      	* sel-sched.c (get_reg_class): Likewise.
      	* regrename.c (build_def_use): Likewise.
      	(hide_operands, restore_operands, record_out_operands): Update type
      	accordingly.
      
      From-SVN: r211238
      Richard Sandiford committed