- 06 Jun, 2014 1 commit
-
-
From-SVN: r211294
GCC Administrator committed
-
- 05 Jun, 2014 29 commits
-
-
PR c++/43453 * decl.c (check_initializer): Collapse a TREE_LIST here. * typeck2.c (store_init_value): Not here. From-SVN: r211290
Jason Merrill committed -
2014-06-05 S. Gilles <sgilles@terpmail.umd.edu> PR c/53119 * c-typeck.c (push_init_level, process_init_element, pop_init_level): Correct check for zero initialization, move missing brace warning to respect zero initialization. PR c/53119 * gcc.dg/pr53119.c: New testcase. From-SVN: r211289
S. Gilles committed -
PR target/52472 * cfgexpand.c (expand_debug_expr): Use address space of nested TREE_TYPE for ADDR_EXPR and MEM_REF. PR target/52472 * gcc.target/avr/pr52472.c: New test. From-SVN: r211288
Senthil Kumar Selvaraj committed -
PR tree-optimization/61289 * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and DST_MAP parameters. Invalidate by walking all the SSA_NAME_VALUES looking for those which match LHS. All callers changed. (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP parameters and code which manipulated them. All callers changed. (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP and DST_MAP parameters. Simplify invalidation code by just calling invalidate_equivalences. All callers changed. (thread_across_edge): Simplify now that we don't need to maintain the map of equivalences to invalidate. PR tree-optimization/61289 * g++.dg/pr61289.C: New test. * g++.dg/pr61289-2.C: New test. From-SVN: r211287
Jeff Law committed -
/cp 2014-06-05 Richard Biener <rguenther@suse.de> Paolo Carlini <paolo.carlini@oracle.com> PR c++/56961 * cp-gimplify.c (cp_gimplify_expr, [MODIFY_EXPR]): Rework handling of empty classes. /testsuite 2014-06-05 Richard Biener <rguenther@suse.de> Paolo Carlini <paolo.carlini@oracle.com> PR c++/56961 * g++.dg/parse/pr56961.C: New. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r211286
Richard Biener committed -
parser.c (cp_parser_diagnose_invalid_type_name): Give helpful note for noexcept and thread_local, too. * parser.c (cp_parser_diagnose_invalid_type_name): Give helpful note for noexcept and thread_local, too. From-SVN: r211285
Jason Merrill committed -
PR c++/61343 * decl.c (check_initializer): Maybe clear DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. From-SVN: r211284
Jason Merrill committed -
2014-06-05 Kai Tietz <ktietz@redhat.com> Richard Henderson <rth@redhat.com> PR target/46219 * config/i386/predicates.md (memory_nox32_operand): Add memory_operand checking for !TARGET_X32. * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant. (sibcall_intern): New define_insn, plus required peepholes. (sibcall_pop_intern): Likewise. (sibcall_value_intern): Likewise. (sibcall_value_pop_intern): Likewise. 2014-06-05 Kai Tietz <ktietz@redhat.com> PR target/46219 * gcc.target/i386/sibcall-4.c: Remove xfail. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r211283
Kai Tietz committed -
2014-06-05 Julian Brown <julian@codesourcery.com> Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * gcc.target/arm/pr45094.c: Remove -mcpu=cortex-a8, dg-skip-if options. Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com> From-SVN: r211282
Julian Brown committed -
re PR fortran/61418 (HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig') 2014-06-05 Richard Biener <rguenther@suse.de> PR fortran/61418 * gfortranspec.c (spec_file): Remove. (find_spec_file): Likewise. (lang_specific_driver): Do not look for specs file in -L or append -specs command line argument. (lang_specific_pre_link): Always %:include libgfortran.spec. From-SVN: r211280
Richard Biener committed -
From-SVN: r211275
Marcus Shawcroft committed -
gcc/ * tree-inline.c (tree_function_versioning): Check DF info existence before accessing it. From-SVN: r211274
Ilya Enkovich committed -
Co-Authored-By: Jiong Wang <jiong.wang@arm.com> From-SVN: r211273
Marcus Shawcroft committed -
2014-06-05 Richard Biener <rguenther@suse.de> PR c++/61004 * typeck.c (cp_build_indirect_ref): Do not emit strict-aliasing warnings for accessing empty classes. * g++.dg/diagnostic/pr61004.C: New testcase. From-SVN: r211272
Richard Biener committed -
Co-Authored-By: Jiong Wang <jiong.wang@arm.com> From-SVN: r211271
Marcus Shawcroft committed -
From-SVN: r211270
Marcus Shawcroft committed -
From-SVN: r211268
Marcus Shawcroft committed -
PR c++/61038 I was asked to combine the escape logic for regular chars and strings with the escape logic for user-defined literals chars and strings. I just forgot the first time. I forgot the ChangeLog! From-SVN: r211267
Edward Smith-Rowland committed -
PR c++/61038 I was asked to combine the escape logic for regular chars and strings with the escape logic for user-defined literals chars and strings. I just forgot the first time. From-SVN: r211266
Edward Smith-Rowland committed -
2014-06-05 Jaydeep Patil <Jaydeep.Patil@imgtec.com> Prachi Godbole <Prachi.Godbole@imgtec.com> * config/mips/mips-cpus.def: Add definition for p5600. Updated mips32r5 entry to use PROCESSOR_P5600. * config/mips/mips-tables.opt: Regenerate. * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype. * config/mips/mips.c (mips_fmadd_bypass): New function. (mips_rtx_cost_data): Add costs for p5600. (mips_issue_rate): Add support for p5600. (mips_multipass_dfa_lookahead): Likewise. * config/mips/mips.h (TUNE_P5600): New define. (TUNE_MACC_CHAINS): Add TUNE_P5600. (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5. * config/mips/mips.md: Include p5600.md. (processor): Add p5600. * config/mips/p5600.md: New file. Co-Authored-By: Prachi Godbole <prachi.godbole@imgtec.com> From-SVN: r211265
Jaydeep Patil committed -
gcc/ * config/i386/sse.md (*ssse3_palignr<mode>_perm): New. * config/i386/predicates.md (palignr_operand): New. Indicates if permutation is suitable for palignr instruction. From-SVN: r211264
Evgeny Stupachenko committed -
2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com> gcc/ PR tree-optimization/61391 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that stmt belongs to loop. gcc/testsuite/ * gcc.dg/torture/pr61391.c: New test. From-SVN: r211263
Yuri Rumyantsev committed -
gimplify.c (create_tmp_from_val): Remove is_formal parameter and set DECL_GIMPLE_REG_P unconditionally if appropriate. 2014-06-05 Richard Biener <rguenther@suse.de> * gimplify.c (create_tmp_from_val): Remove is_formal parameter and set DECL_GIMPLE_REG_P unconditionally if appropriate. (lookup_tmp_var): Adjust. (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here. From-SVN: r211262
Richard Biener committed -
PR c/56724 * c-typeck.c (convert_for_assignment): Use expr_loc for ic_argpass. * gcc.dg/pr56724-3.c: New test. From-SVN: r211261
Marek Polacek committed -
From-SVN: r211257
Andreas Schwab committed -
2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.md (enabled): Disable opt_enabled attribute. From-SVN: r211256
Ramana Radhakrishnan committed -
PR c/49706 * doc/invoke.texi: Document -Wlogical-not-parentheses. c-family/ * c-common.c (warn_logical_not_parentheses): New function. * c-common.h (warn_logical_not_parentheses): Declare. * c.opt (Wlogical-not-parentheses): New option. c/ * c-typeck.c (parser_build_binary_op): Warn when logical not is used on the left hand side operand of a comparison. cp/ * parser.c (cp_parser_binary_expression): Warn when logical not is used on the left hand side operand of a comparison. testsuite/ * c-c++-common/pr49706.c: New test. From-SVN: r211255
Marek Polacek committed -
PR c/48062 * c-decl.c (warn_if_shadowing): Call inform instead of warning_at. Print note only if the warning was printed. * gcc.dg/Wshadow-1.c: Use dg-message for "shadowed declaration". * gcc.dg/Wshadow-3.c: Likewise. * gcc.dg/pr48062.c: New test. From-SVN: r211254
Marek Polacek committed -
From-SVN: r211253
GCC Administrator committed
-
- 04 Jun, 2014 10 commits
-
-
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 -
/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 -
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 -
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, 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 -
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 -
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 -
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 -
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 -
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
-