- 01 Jan, 2007 7 commits
-
-
* configure.ac (HAVE_GAS_LITERAL16): Add autoconf check for .literal16. * config/darwin.c (machopic_select_rtx_section): Use HAVE_GAS_LITERAL16. (darwin_mergeable_constant_section): Likewise. * configure: Regenerate. * config.in: Regenerate. From-SVN: r120315
Mike Stump committed -
* cgraphunit.c (cgraph_optimize): Call cgraph_add_new_functions before starting IPA passes. Co-Authored-By: Andrew Pinski <pinskia@gmail.com> From-SVN: r120314
Jan Hubicka committed -
From-SVN: r120313
Mike Stump committed -
From-SVN: r120312
Steven G. Kargl committed -
From-SVN: r120311
Steven G. Kargl committed -
* lib/target-supports.exp (check_effective_target_powerpc_spe): New. (check_effective_target_vect_cmdline_needed): Use it. From-SVN: r120308
Joseph Myers committed -
From-SVN: r120306
GCC Administrator committed
-
- 31 Dec, 2006 7 commits
-
-
2006-12-31 Richard Guenther <rguenther@suse.de> PR middle-end/30137 * fold-const.c (fold_comparison): Fold comparison of addresses of components. * testsuite/gcc.dg/pr30137-1.c: New testcase. * testsuite/gcc.dg/pr30137-2.c: Likewise. From-SVN: r120301
Richard Guenther committed -
re PR middle-end/30322 (((-i-1) + i) +1) is turned into ~i + (i+1) and never into 0 on the tree level) PR middle-end/30322 * fold-const.c (fold_binary): Fold X + ~X and ~X + X into -1 when we don't care about trapping overflow. Only convert -A - 1 into ~A when we don't care about trapping overflow. * gcc.dg/fold-plusnot-1.c: New test case. From-SVN: r120300
Roger Sayle committed -
2006-12-31 Simon Martin <simartin@users.sourceforge.net> PR c++/29731 * parser.c (cp_parser_primary_expression): Return error_mark_node when a statement-expression is found outside of a function body. From-SVN: r120299
Simon Martin committed -
2006-12-31 Richard Guenther <rguenther@suse.de> PR middle-end/30338 * fold-const.c (fold_binary): Fix type-mismatch in folding of -1 - A to ~A. * gcc.c-torture/compile/pr30338.c: New testcase. From-SVN: r120297
Richard Guenther committed -
2006-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/27900 * resolve.c (resolve_actual_arglist): If all else fails and a procedure actual argument has no type, see if a specific intrinsic matches. PR fortran/24325 * resolve.c (resolve_function): If the function reference is FL_VARIABLE this is an error. 2006-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/27900 * gfortran.dg/intrinsic_actual_4.f90: New test. PR fortran/24325 * gfortran.dg/func_decl_3.f90: New test. From-SVN: r120296
Paul Thomas committed -
2006-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/23060 * intrinsic.c (compare_actual_formal ): Distinguish argument list functions from keywords. * intrinsic.c (sort_actual): If formal is NULL, the presence of an argument list function actual is an error. * trans-expr.c (conv_arglist_function) : New function to implement argument list functions %VAL, %REF and %LOC. (gfc_conv_function_call): Call it. * resolve.c (resolve_actual_arglist): Add arg ptype and check argument list functions. (resolve_function, resolve_call): Set value of ptype before calls to resolve_actual_arglist. * primary.c (match_arg_list_function): New function. (gfc_match_actual_arglist): Call it before trying for a keyword argument. 2006-12-31 Paul Thomas <pault@gcc.gnu.org> PR fortran/23060 * gfortran.dg/c_by_val.c: Called by c_by_val_1.f. * gfortran.dg/c_by_val_1.f: New test. * gfortran.dg/c_by_val_2.f: New test. * gfortran.dg/c_by_val_3.f: New test. From-SVN: r120295
Paul Thomas committed -
From-SVN: r120293
GCC Administrator committed
-
- 30 Dec, 2006 8 commits
-
-
From-SVN: r120288
Kazu Hirata committed -
2006-12-30 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30321 * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Check for extents < 0 for zero-sized arrays. If no retarray has been specified and the size is zero, return early. (`m'name`'rtype_qual`_'atype_code): Likewise. * generated/all_l16.c: Regenerated. * generated/all_l4.c: Regenerated. * generated/all_l8.c: Regenerated. * generated/any_l16.c: Regenerated. * generated/any_l4.c: Regenerated. * generated/any_l8.c: Regenerated. * generated/count_16_l16.c: Regenerated. * generated/count_16_l4.c: Regenerated. * generated/count_16_l8.c: Regenerated. * generated/count_4_l16.c: Regenerated. * generated/count_4_l4.c: Regenerated. * generated/count_4_l8.c: Regenerated. * generated/count_8_l16.c: Regenerated. * generated/count_8_l4.c: Regenerated. * generated/count_8_l8.c: Regenerated. * generated/cshift1_16.c: Regenerated. * generated/cshift1_4.c: Regenerated. * generated/cshift1_8.c: Regenerated. * generated/maxloc1_16_i16.c: Regenerated. * generated/maxloc1_16_i4.c: Regenerated. * generated/maxloc1_16_i8.c: Regenerated. * generated/maxloc1_16_r10.c: Regenerated. * generated/maxloc1_16_r16.c: Regenerated. * generated/maxloc1_16_r4.c: Regenerated. * generated/maxloc1_16_r8.c: Regenerated. * generated/maxloc1_4_i16.c: Regenerated. * generated/maxloc1_4_i4.c: Regenerated. * generated/maxloc1_4_i8.c: Regenerated. * generated/maxloc1_4_r10.c: Regenerated. * generated/maxloc1_4_r16.c: Regenerated. * generated/maxloc1_4_r4.c: Regenerated. * generated/maxloc1_4_r8.c: Regenerated. * generated/maxloc1_8_i16.c: Regenerated. * generated/maxloc1_8_i4.c: Regenerated. * generated/maxloc1_8_i8.c: Regenerated. * generated/maxloc1_8_r10.c: Regenerated. * generated/maxloc1_8_r16.c: Regenerated. * generated/maxloc1_8_r4.c: Regenerated. * generated/maxloc1_8_r8.c: Regenerated. * generated/maxval_i16.c: Regenerated. * generated/maxval_i4.c: Regenerated. * generated/maxval_i8.c: Regenerated. * generated/maxval_r10.c: Regenerated. * generated/maxval_r16.c: Regenerated. * generated/maxval_r4.c: Regenerated. * generated/maxval_r8.c: Regenerated. * generated/minloc1_16_i16.c: Regenerated. * generated/minloc1_16_i4.c: Regenerated. * generated/minloc1_16_i8.c: Regenerated. * generated/minloc1_16_r10.c: Regenerated. * generated/minloc1_16_r16.c: Regenerated. * generated/minloc1_16_r4.c: Regenerated. * generated/minloc1_16_r8.c: Regenerated. * generated/minloc1_4_i16.c: Regenerated. * generated/minloc1_4_i4.c: Regenerated. * generated/minloc1_4_i8.c: Regenerated. * generated/minloc1_4_r10.c: Regenerated. * generated/minloc1_4_r16.c: Regenerated. * generated/minloc1_4_r4.c: Regenerated. * generated/minloc1_4_r8.c: Regenerated. * generated/minloc1_8_i16.c: Regenerated. * generated/minloc1_8_i4.c: Regenerated. * generated/minloc1_8_i8.c: Regenerated. * generated/minloc1_8_r10.c: Regenerated. * generated/minloc1_8_r16.c: Regenerated. * generated/minloc1_8_r4.c: Regenerated. * generated/minloc1_8_r8.c: Regenerated. * generated/minval_i16.c: Regenerated. * generated/minval_i4.c: Regenerated. * generated/minval_i8.c: Regenerated. * generated/minval_r10.c: Regenerated. * generated/minval_r16.c: Regenerated. * generated/minval_r4.c: Regenerated. * generated/minval_r8.c: Regenerated. * generated/product_c10.c: Regenerated. * generated/product_c16.c: Regenerated. * generated/product_c4.c: Regenerated. * generated/product_c8.c: Regenerated. * generated/product_i16.c: Regenerated. * generated/product_i4.c: Regenerated. * generated/product_i8.c: Regenerated. * generated/product_r10.c: Regenerated. * generated/product_r16.c: Regenerated. * generated/product_r4.c: Regenerated. * generated/product_r8.c: Regenerated. * generated/sum_c10.c: Regenerated. * generated/sum_c16.c: Regenerated. * generated/sum_c4.c: Regenerated. * generated/sum_c8.c: Regenerated. * generated/sum_i16.c: Regenerated. * generated/sum_i4.c: Regenerated. * generated/sum_i8.c: Regenerated. * generated/sum_r10.c: Regenerated. * generated/sum_r16.c: Regenerated. * generated/sum_r4.c: Regenerated. * generated/sum_r8.c: Regenerated. 2006-12-30 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/30321 * gfortran.dg/sum_zero_array_1.f90: New test. From-SVN: r120287
Thomas Koenig committed -
* ipa-pure-const.c (check_operand): SSA_NAME is safe. * ipa-type-escape.c (scan_for_refs): Look into SSA_NAMEs. From-SVN: r120286
Jan Hubicka committed -
* tree.h (DECL_CALL_CLOBBERED): Remove. (tree_decl_common): Remove call_clobbered flag. * tree-flow.h (struct var_ann_d): Add call_clobbered flag. * tree-ssa-alias.c (mark_non_addressable, reset_cc_flags): Update. * tree-flow-inline.h (is_call_clobbered, mark_call_clobbered, clear_call_clobbered): Update. * tree-ssa.c (verify_call_clobbering): Update. From-SVN: r120285
Jan Hubicka committed -
* tree-ssa-alias.c (create_structure_vars): When in SSA, update operand caches. * tree-ssa-operands.c (build_ssa_operands): Recompute addresses_taken bitmap. From-SVN: r120284
Jan Hubicka committed -
emit-rt.c (emit_copy_of_insn_after): Fix bug causing exponential amount of copies of INSN_NOTEs list. * emit-rt.c (emit_copy_of_insn_after): Fix bug causing exponential amount of copies of INSN_NOTEs list. Co-Authored-By: Vladimir Yanovsky <volodyan@gmail.com> From-SVN: r120283
Jan Hubicka committed -
* cgraph.c (cgraph_exapnd_queue): Rename to... (cgraph_new_nodes): ... this one. (cgraph_state): New global variable. (cgraph_add_new_function): Work in more cases. * cgraph.h (cgraph_expand_queue): Rename to ... (cgraph_new_nodes): ... this one. (cgraph_state): New enum and static variable. (cgraph_add_new_function): Update prototype. (cgraph_process_new_functions): New. * omp-low.c (expand_omp_parallel): Update. * cgraphunit.c (initialize_inline_failed): Declare early. (cgraph_process_new_functions): New function. (cgraph_assemble_pending_functions): Use it. (cgraph_expand_all_functions): Use it. (cgraph_optimize): Use it; set cgraph_state. * passes.c (execute_one_pass, execute_ipa_pass_list): Process new functions From-SVN: r120282
Jan Hubicka committed -
From-SVN: r120279
GCC Administrator committed
-
- 29 Dec, 2006 12 commits
-
-
2006-12-29 Paolo Bonzini <bonzini@gnu.org> * configure.in: Reorganize recognition of languages. Add --enable-stage1-languages. Show supported languages for the chosen target rather than all recognized languages. * configure: Regenerate. From-SVN: r120271
Paolo Bonzini committed -
2006-12-29 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove. * Makefile.in: Regenerate. From-SVN: r120270
Paolo Bonzini committed -
* config/i386/i386.h (NON_QI_REG_P): Remove. * config/i386/predicates.md (non_q_regs_operand): Remove. From-SVN: r120267
Kazu Hirata committed -
* tree-cfg.c (last_stmt_ptr): Remove. * tree-flow.h: Remove the prototype for last_stmt_ptr. From-SVN: r120266
Kazu Hirata committed -
* c-common.c (c_define_builtins): New static function broken out of c_common_nodes_and_builtins. (c_common_nodes_and_builtins): Call c_define_builtins unless only doing preprocessing. From-SVN: r120264
Ian Lance Taylor committed -
* lex.c (_cpp_clean_line): Add uses of __builtin_expect. Don't look backward at the end of the line unless we saw a backslash. From-SVN: r120263
Ian Lance Taylor committed -
* configure.in: Warn that MPFR 2.2.0 is buggy. * configure: Regenerate. From-SVN: r120262
Kaveh R. Ghazi committed -
2006-12-29 Paolo Carlini <pcarlini@suse.de> PR libstdc++/30226 * config/abi/pre/gnu.ver: Do not export ctype<char>::widen. From-SVN: r120261
Paolo Carlini committed -
* tree-inline.c (remap_ssa_name): New function. (remap_decl): Update SSA datastructures for DECLs. (copy_body_r): Deal with SSA_NAMEs; add referenced global vars. (copy_bb): Set SSA_NAME def stmts. (update_ssa_acorss_eh_edges): New function. (copy_edge_for_bb): Call it; mark new vars for renaming. (copy_phis_for_bb): New function. (initialize_cfun): Break out from ... (copy_cfg_body): ... here; maintain AUX map for both directions; call SSA updating workers; do not produce copy of cfun to be copied. (setup_one_parameter): Do propagation across SSA form. (declare_return_variable): Work on SSA; use return_slot instead of address of return slot of argument to avoid folding back and forth. (expand_call_inline): Update SSA from on return values. (optimize_inline_calls): Do sanity checking, dead blocks removal, update SSA form. (tree_function_verioning): Update initialize_cfun. From-SVN: r120260
Jan Hubicka committed -
re PR preprocessor/29612 (gcc --save-temps does not give "multi-character character constant" error) PR preprocessor/29612 * directives.c (do_linemarker): Set pfile->buffer->sysp always, not only when new_sysp is non-zero. * gcc.dg/cpp/pr29612-1.c: New test. * gcc.dg/cpp/pr29612-2.c: New test. From-SVN: r120257
Jakub Jelinek committed -
2006-12-29 Marcin Dalecki <martin@dalecki.de> * doc/invoke.texi: Replace no longer supported -fno-strength-reduce with -fmerge-constants in sample code. From-SVN: r120253
Marcin Dalecki committed -
From-SVN: r120251
GCC Administrator committed
-
- 28 Dec, 2006 6 commits
-
-
PR preprocessor/30001: * charset.c (_cpp_convert_input): Check that to.len is greater than zero. From-SVN: r120245
Tom Tromey committed -
2006-12-28 Paul Thomas <pault@gcc.gnu.org> PR fortran/30034 * resolve.c (resolve_formal_arglist): Exclude the test for pointers and procedures for subroutine arguments as well as functions. PR fortran/30237 * intrinsic.c (remove_nullargs): Do not pass up arguments with a label. If the actual has a label and the formal has a type then emit an error. 2006-12-28 Paul Thomas <pault@gcc.gnu.org> PR fortran/30034 * gfortran.dg/pure_formal_proc_1.f90: New test. PR fortran/30237 * gfortran.dg/intrinsic_actual_3.f90: New test. From-SVN: r120244
Paul Thomas committed -
2006-12-28 Paolo Carlini <pcarlini@suse.de> * include/tr1/array (array<>::_M_at): Remove. (array<>::_M_check): Add. (array<>::at): Use the latter. From-SVN: r120242
Paolo Carlini committed -
* cp-tree.h (TYPE_NAMESPACE_SCOPE_P, TYPE_FUNCTION_SCOPE_P): Remove. From-SVN: r120241
Kazu Hirata committed -
From-SVN: r120240
Kazu Hirata committed -
* cp/cp-tree.h (TYPE_NAMESPACE_SCOPE_P, TYPE_FUNCTION_SCOPE_P): Remove. From-SVN: r120239
Kazu Hirata committed
-