aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2007-02-02* lower-subreg.c (resolve_clobber): Handle a subreg of a concatn.Ian Lance Taylor2-3/+8
From-SVN: r121493
2007-02-02trans-array.c (gfc_conv_expr_descriptor): We don't need to use a temporary ↵Roger Sayle2-9/+39
array to pass a constant non-character array... * trans-array.c (gfc_conv_expr_descriptor): We don't need to use a temporary array to pass a constant non-character array constructor. Generalize the descriptor generation code to handle scalarizer "info" without an array reference. From-SVN: r121491
2007-02-02dependency.c (gfc_check_dependency): Implement dependency checking for array ↵Roger Sayle4-3/+34
constructors. * dependency.c (gfc_check_dependency) <EXPR_ARRAY>: Implement dependency checking for array constructors. * gfortran.dg/dependency_20.f90: New test case. From-SVN: r121490
2007-02-02trans-stmt.c (compute_overall_iter_number): Document function arguments.Roger Sayle2-28/+32
* trans-stmt.c (compute_overall_iter_number): Document function arguments. Generalize "unconditional forall nest with constant bounds" optimization to eliminate unconditional inner loops with constant bounds. From-SVN: r121489
2007-02-02pa.md (tp_load): Correct mfctl instruction syntax.Guy Martin2-1/+5
* pa.md (tp_load): Correct mfctl instruction syntax. From-SVN: r121487
2007-02-02rs6000.c (rs6000_stack_info): Correct altivec_padding_size calculation on AIX.Geoffrey Keating2-2/+9
* config/rs6000/rs6000.c (rs6000_stack_info): Correct altivec_padding_size calculation on AIX. Improve comment, add assert to verify that it's right. From-SVN: r121485
2007-02-02darwin.h (MD_UNWIND_SUPPORT): Don't define for 64-bit.Geoffrey Keating2-0/+7
* config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Don't define for 64-bit. From-SVN: r121484
2007-02-02Daily bump.GCC Administrator1-1/+1
From-SVN: r121481
2007-02-012007-2-01 Seongbae Park <seongbae.park@gmail.com>Seongbae Park2-0/+7
PR inline-asm/28686 * global.c (global_alloc): Add mising initialization of ELIMINABLE_REGSET. 2007-02-01 Roger Sayle <roger@eyesopen.com> From-SVN: r121477
2007-02-01alias.c (init_alias_analysis): Correct whitespace.Roger Sayle18-64/+97
* alias.c (init_alias_analysis): Correct whitespace. * bb-reorder.c (fix_edges_for_rarely_executed_code, partition_hot_cold_basic_blocks): Likewise. * builtins.c (expand_builtin_printf, expand_builtin_fprintf, expand_builtin_sprintf, fold_builtin_carg, fold_builtin_sprintf, maybe_emit_sprintf_chk_warning, fold_builtin_sprintf_chk, fold_builtin_snprintf_chk, fold_builtin_printf, fold_builtin_fprintf, do_mpfr_ckconv, do_mpfr_arg1, do_mpfr_arg2, do_mpfr_arg3, do_mpfr_sincos): Likewise. * cfgcleanup.c (cleanup_cfg): Likewise. * cfgexpand.c (tree_expand_cfg): Likewise. * fold-const.c (fold_binary) <RDIV_EXPR>: Likewise. * function.c (get_next_funcdef_no): Likewise. * gengtype.c (main): Likewise. * genmodes.c (main): Likewise. * gcse.c (bypass_conditional_jumps, print_ldst_list): Likewise. * haifa-sched.c (schedule_block, extend_h_i_d): Likewise. * ifcvt.c (noce_emit_move_insn): Likewise. * modulo-sched.c (generate_prolog_epilog, sms_schedule_by_order): Likewise. * stor-layout.c (get_best_mode): Likewise. * tree-ssa-loop-niter.c (get_val_for): Likewise. * tree-ssa-structalias.c (get_varinfo, get_varinfo_fc, scc_visit, do_ds_constraint, do_complex_constraint, label_visit, perform_var_substitution, solve_graph): Likewise. * tree-vrp.c (vrp_finalize): Likewise. From-SVN: r121470
2007-02-01lower-subreg.c (simplify_gen_subreg_concatn): If we ask for the high part of ↵Ian Lance Taylor2-1/+23
a paradoxical subreg, return a constant zero. * lower-subreg.c (simplify_gen_subreg_concatn): If we ask for the high part of a paradoxical subreg, return a constant zero. From-SVN: r121466
2007-02-01toplev.c (lang_dependent_init): Call init_set_costs.Zdenek Dvorak3-7/+10
* toplev.c (lang_dependent_init): Call init_set_costs. * loop-init.c (loop_optimizer_init): Do not call init_set_costs. From-SVN: r121464
2007-02-01re PR java/30641 (gcj corrupted double-linked list (glibc detected))Andrew Haley2-0/+7
2007-02-01 Andrew Haley <aph@redhat.com> PR java/30641 * jcf-parse.c (jcf_parse): Clear the field_offsets bitmap. From-SVN: r121462
2007-02-01re PR middle-end/30656 (ICE with -ftrapv)Richard Guenther2-1/+7
2007-02-01 Richard Guenther <rguenther@suse.de> PR middle-end/30656 * fold-const.c (fold_negate_expr): Allow negating a constant if overflow does not change. From-SVN: r121460
2007-01-31c-tree.texi (Expression trees): Improve markup.Ralf Wildenhues3-17/+26
2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * doc/c-tree.texi (Expression trees): Improve markup. * doc/tm.texi (Register Classes, Addressing Modes) (Floating Point): Fix spacing after abbreviations. Fix some typos. From-SVN: r121457
2007-02-01invoke.texi: Replace "bugfix" with "bug fix" throughout.Ben Elliston4-15/+21
* doc/invoke.texi: Replace "bugfix" with "bug fix" throughout. * doc/contrib.texi: Likewise. * doc/install.texi: Likewise. From-SVN: r121455
2007-02-01lower-subreg.c: New file.Ian Lance Taylor18-33/+1358
gcc/: * lower-subreg.c: New file. * rtl.def (CONCATN): Define. * passes.c (init_optimization_passes): Add pass_lower_subreg and pass_lower_subreg2. * emit-rtl.c (update_reg_offset): New static function, broken out of gen_rtx_REG_offset. (gen_rtx_REG_offset): Call update_reg_offset. (gen_reg_rtx_offset): New function. * regclass.c: Revert patch of 2006-03-05, restoring reg_scan_update. (clear_reg_info_regno): New function. * dwarf2out.c (concatn_loc_descriptor): New static function. (loc_descriptor): Handle CONCATN. * common.opt (fsplit_wide_types): New option. * opts.c (decode_options): Set flag_split_wide_types when optimizing. * timevar.def (TV_LOWER_SUBREG): Define. * rtl.h (gen_reg_rtx_offset): Declare. (reg_scan_update): Declare. * regs.h (clear_reg_info_regno): Declare. * tree-pass.h (pass_lower_subreg): Declare. (pass_lower_subreg2): Declare. * doc/invoke.texi (Option Summary): List -fno-split-wide-types. (Optimize Options): Add -fsplit-wide-types to -O1 list. Document -fsplit-wide-types. * doc/rtl.texi (Regs and Memory): Document concat and concatn. * Makefile.in (OBJS-common): Add lower-subreg.o. (lower-subreg.o): New target. gcc/testsuite/: * gcc.dg/lower-subreg-1.c (test): New test. From-SVN: r121453
2007-02-01Daily bump.GCC Administrator1-1/+1
From-SVN: r121449
2007-02-01* g++.dg/eh/simd-4.C (main): Also catch SIGSEGV.Geoffrey Keating2-0/+6
From-SVN: r121444
2007-01-31* config/sh/sh.h (HAVE_SECONDARY_RELOADS): Remove.Kazu Hirata2-2/+4
From-SVN: r121443
2007-01-31re PR target/19087 (Overflowed address in dwarf debug line information)Anatoly Sokolov2-0/+7
PR target/19087 * config/avr/avr.c (DWARF2_ADDR_SIZE): Define. From-SVN: r121426
2007-01-31re PR middle-end/29335 (transcendental functions with constant arguments ↵Kaveh R. Ghazi5-13/+31
should be resolved at compile-time) PR middle-end/29335 * builtins.c (fold_builtin_sqrt): Use MPFR for constant args. testsuite: * gcc.dg/torture/builtin-math-2.c: Add sqrt cases. * gcc.dg/torture/builtin-math-3.c: Likewise. From-SVN: r121423
2007-01-31cfgloop.h: Include vec-prim.h.Zdenek Dvorak10-72/+178
* cfgloop.h: Include vec-prim.h. (enum li_flags): Remove LI_ONLY_OLD. (loop_iterator): Changed. (fel_next, fel_init): Iterate over loop tree. (FOR_EACH_LOOP_BREAK): New macro. * loop-unswitch.c (unswitch_loops): Do not pass LI_ONLY_OLD to FOR_EACH_LOOP. * tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Ditto. * modulo-sched.c (sms_schedule): Ditto. * tree-vectorizer.c (vectorize_loops): Ditto. * doc/loop.texi: Update information on loop numbering and behavior of FOR_EACH_LOOP wrto new loops. * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, add_to_evolution_1): Test nestedness of loops instead of comparing their numbers. * tree-chrec.c (chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly, chrec_evaluate, hide_evolution_in_other_loops_than_loop, chrec_component_in_loop_num, reset_evolution_in_loop): Ditto. * Makefile.in (CFGLOOP_H): Add vecprim.h dependency. From-SVN: r121422
2007-01-31c-common.c (warn_about_parentheses): Separate warning about un-parenthized ↵Dirk Mueller4-24/+99
sequence of comparison operators from the... 2007-01-31 Dirk Mueller <dmueller@suse.de> * c-common.c (warn_about_parentheses): Separate warning about un-parenthized sequence of comparison operators from the one which is supposed to warn about x <= y <= z. * testsuite/gcc.dg/Wparentheses-2.c: Update and add new tests. From-SVN: r121421
2007-01-31vect-37.c: Restore the original behaivior - xfail to vectorize.Ira Rosen2-1/+10
* gcc.dg/vect/vect-37.c: Restore the original behaivior - xfail to vectorize. From-SVN: r121420
2007-01-31optabs.h (enum optab_index): Add new OTI_isinf.Uros Bizjak9-0/+121
* optabs.h (enum optab_index): Add new OTI_isinf. (isinf_optab): Define corresponding macro. * optabs.c (init_optabs): Initialize isinf_optab. * genopinit.c (optabs): Implement isinf_optab using isinf?f2 patterns. * builtins.c (mathfn_built_in): Handle BUILT_IN_ISINF{,F,L}. (expand_builtin_interclass_mathfn): Expand BUILT_IN_ISINF{,F,L} using isinf_optab. (expand_builtin): Expand BUILT_IN_ISINF{,F,L} using expand_builtin_interclass_mathfn. * reg_stack.c (subst_stack_regs_pat): Handle UNSPEC_FXAM. * config/i386/i386.md (UNSPEC_FXAM): New constant. (fxam<mode>2_i387): New insn pattern. (isinf<mode>2) New expander to implement isinf, isinff and isinfl built-in functions as x87 inline asm. testsuite/ChangeLog: * gcc.dg/builtins-63.c: New test. From-SVN: r121419
2007-01-31(This part was missing in the r118852 / Wed Nov 15 10:13:16 2006 check in)Tobias Burnus2-0/+17
2007-01-31 Tobias Burnus <burnus@net-b.de> PR fortran/27588 * gfortran.dg/char_bounds_check_fail_1.f90: Add test. From-SVN: r121401
2007-01-31re PR fortran/30520 (Conflics checking of VOLATILE attribute needs improvement)Tobias Burnus7-5/+176
fortran/ 2007-01-31 Tobias Burnus <burnus@net-b.de> PR fortran/30520 * interface.c (compare_actual_formal): Check conformance between actual and VOLATILE dummy arguments. * symbol.c (gfc_add_volatile): Allow setting of VOLATILE multiple times in different scopes. * decl.c (gfc_match_volatile): Search symbol in host association. testsuite/ 2007-01-31 Tobias Burnus <burnus@net-b.de> PR fortran/30520 * gfortran.dg/volatile8.f90: New argument conformance test. * gfortran.dg/volatile9.f90: New scope test. From-SVN: r121379
2007-01-31* gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New.Kazu Hirata2-1/+12
From-SVN: r121377
2007-01-31config.gcc: Add geode.Eric Christopher2-21/+28
2007-01-30 Eric Christopher <echristo@apple.com> * config.gcc: Add geode. From-SVN: r121376
2007-01-31i386.h (NON_QI_REG_P): Remove.Kazu Hirata2-12/+0
* config/i386/i386.h (NON_QI_REG_P): Remove. * config/i386/predicates.md (non_q_regs_operand): Remove. From-SVN: r121375
2007-01-31cgraphunit.c, [...]: Fix comment typos.Kazu Hirata11-21/+28
* cgraphunit.c, config/arm/arm.c, config/m68k/m68k.c, ipa-inline.c, tree-profile.c, tree-ssa-live.c, tree-ssa-math-opts.c, tree-ssanames.c, tree-vect-analyze.c, value-prof.c: Fix comment typos. From-SVN: r121374
2007-01-31* simplify.c, trans-array.c: Fix comment typos.Kazu Hirata3-3/+7
From-SVN: r121373
2007-01-31* class.c, jcf-parse.c: Fix comment typos.Kazu Hirata3-6/+10
From-SVN: r121372
2007-01-31error.c (dump_type_suffix): Avoid use of cp_build_binary_op when calculating ↵Roger Sayle2-9/+14
the size of an array (to avoid... * error.c (dump_type_suffix): Avoid use of cp_build_binary_op when calculating the size of an array (to avoid recursive errors). From-SVN: r121371
2007-01-31Daily bump.GCC Administrator1-1/+1
From-SVN: r121369
2007-01-30re PR c++/24745 (unpleasant warning for "if (NULL)")Manuel López-Ibáñez7-19/+65
2007-01-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/24745 * doc/invoke.texi (Wpointer-arith): Document warning. cp/ * typeck.c (build_binary_op): Fix logic for warning. Move warning to -Wpointer-arith. * call.c (convert_like_real): Don't warn when converting to boolean type. testsuite/ * g++.dg/warn/null4.C: New. From-SVN: r121361
2007-01-30invoke.texi (Code Gen Options): Fix abbreviation typo.Ralf Wildenhues3-4/+9
2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * invoke.texi (Code Gen Options): Fix abbreviation typo. * intrinsic.texi (ACCESS, LSHIFT, RSHIFT): Fix typos. From-SVN: r121359
2007-01-30extend.texi (Decimal Floating Types): Remove decfloat.h from the list of ↵Janis Johnson2-4/+5
discrepancies from the draft TR. * doc/extend.texi (Decimal Floating Types): Remove decfloat.h from the list of discrepancies from the draft TR. From-SVN: r121358
2007-01-30* gcj.texi (Strings): Fix documentation for JvNewString.Tom Tromey2-3/+7
From-SVN: r121356
2007-01-30gcj.texi (Invoking gcjh, [...]): Fix some typos.Ralf Wildenhues2-3/+8
2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * gcj.texi (Invoking gcjh, Invoking gjnih, Arrays): Fix some typos. From-SVN: r121354
2007-01-30re PR fortran/30432 ([4.1 only] gfortran.dg/c_by_val_1.f fails on ia64-*-*, ↵Steve Ellcey3-2/+11
problem with %VAL) PR fortran/30432 * trans-types.c (gfc_get_function_type): Do not add void_type_node to empty arg list. * trans-decl.c (create_function_arglist): Change assert. From-SVN: r121347
2007-01-30large-size-array-3.c: Correct typo.Roger Sayle2-1/+6
* gcc.dg/large-size-array-3.c: Correct typo. Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r121345
2007-01-30re PR c++/30601 (-Wreturn-type warns about more than what the documentation ↵Dirk Mueller2-5/+13
says) 2007-01-30 Dirk Mueller <dmueller@suse.de> PR c++/30601 * doc/invoke.texi (-Wreturn-type): Update description to match new behavior. From-SVN: r121342
2007-01-30cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p.Richard Sandiford2-1/+6
gcc/ * cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p. From-SVN: r121339
2007-01-30builtins.c (expand_builtin_int_interclass_roundingfn): New function to ↵Uros Bizjak3-16/+129
handle optabs that operate on floating point input argument and... * builtins.c (expand_builtin_int_interclass_roundingfn): New function to handle optabs that operate on floating point input argument and output to integer output. (expand_builtin_mathfn) [BUILT_IN_ILOGB]: Move from here ... (expand_builtin_interclass_mathfn) [BUILT_IN_ILOGB]: ... to here. (expand_builtin): Expand BUILT_IN_ILOGB{,F,L} using expand_builtin_interclass_mathfn (). * config/i386/i386.md (fxtractxf3_i387): Rename from *fxtractxf3_i387. (ilogbsi2): Remove. (ilogbxf2, ilogb<mode>2): New expanders to implement ilogb, ilogbf and ilogbl built-in functions as x87 intrinsics. From-SVN: r121336
2007-01-30re PR middle-end/27657 (bogus undefined reference error to static var with ↵Richard Guenther4-2/+28
-g and -O) 2007-01-30 Richard Guenther <rguenther@suse.de> PR middle-end/27657 * dwarf2out.c (reference_to_unused): Query varpool if the variable was output. * g++.dg/debug/pr27657.C: New testcase. From-SVN: r121335
2007-01-30re PR c/30313 (sizeof of expression including bit-field)Richard Guenther4-0/+29
2007-01-30 Richard Guenther <rguenther@suse.de> PR middle-end/30313 * passes.c (execute_one_pass): Reset in_gimple_form to not confuse non-unit-at-a-time mode. * gcc.dg/torture/pr30313.c: New testcase. From-SVN: r121334
2007-01-30fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to avoid ↵Roger Sayle2-12/+19
undefined behaviour on overflow. * fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to avoid undefined behaviour on overflow. Use force_fit_type_double to construct the constant with the specified TREE_OVERFLOW. From-SVN: r121332
2007-01-30Daily bump.GCC Administrator1-1/+1
From-SVN: r121325