summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * lower-subreg.c (simplify_gen_subreg_concatn): If we ask for theian2007-02-012-1/+23
| | | | | | | high part of a paradoxical subreg, return a constant zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121466 138bc75d-0d04-0410-961f-82ee72b054a4
* * toplev.c (lang_dependent_init): Call init_set_costs.rakdver2007-02-013-7/+10
| | | | | | | | * loop-init.c (loop_optimizer_init): Do not call init_set_costs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121464 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-01 Andrew Haley <aph@redhat.com>aph2007-02-012-0/+7
| | | | | | | | | PR java/30641 * jcf-parse.c (jcf_parse): Clear the field_offsets bitmap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121462 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-01 Richard Guenther <rguenther@suse.de>rguenth2007-02-012-1/+7
| | | | | | | | | PR middle-end/30656 * fold-const.c (fold_negate_expr): Allow negating a constant if overflow does not change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121460 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>brooks2007-02-013-17/+26
| | | | | | | | | | * doc/c-tree.texi (Expression trees): Improve markup. * doc/tm.texi (Register Classes, Addressing Modes) (Floating Point): Fix spacing after abbreviations. Fix some typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121457 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Replace "bugfix" with "bug fix" throughout.bje2007-02-014-15/+21
| | | | | | | | * doc/contrib.texi: Likewise. * doc/install.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121455 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/:ian2007-02-0118-33/+1358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121453 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2007-02-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121449 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/eh/simd-4.C (main): Also catch SIGSEGV.geoffk2007-02-012-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121444 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/sh.h (HAVE_SECONDARY_RELOADS): Remove.kazu2007-01-312-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121443 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/19087aesok2007-01-312-0/+7
| | | | | | | * config/avr/avr.c (DWARF2_ADDR_SIZE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121426 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/29335ghazi2007-01-315-13/+31
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121423 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfgloop.h: Include vec-prim.h.rakdver2007-01-3110-72/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121422 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-31 Dirk Mueller <dmueller@suse.de>mueller2007-01-314-24/+99
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121421 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/vect/vect-37.c: Restore the original behaivior - xfail toirar2007-01-312-1/+10
| | | | | | | | vectorize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121420 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.h (enum optab_index): Add new OTI_isinf.uros2007-01-319-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121419 138bc75d-0d04-0410-961f-82ee72b054a4
* (This part was missing in the r118852 / Wed Nov 15 10:13:16 2006 check in)burnus2007-01-312-0/+17
| | | | | | | | | | | 2007-01-31 Tobias Burnus <burnus@net-b.de> PR fortran/27588 * gfortran.dg/char_bounds_check_fail_1.f90: Add test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121401 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/burnus2007-01-317-5/+176
| | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121379 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New.kazu2007-01-312-1/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121377 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-30 Eric Christopher <echristo@apple.com>echristo2007-01-312-21/+28
| | | | | | | * config.gcc: Add geode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121376 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.h (NON_QI_REG_P): Remove.kazu2007-01-312-12/+0
| | | | | | | * config/i386/predicates.md (non_q_regs_operand): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121375 138bc75d-0d04-0410-961f-82ee72b054a4
* * cgraphunit.c, config/arm/arm.c, config/m68k/m68k.c,kazu2007-01-3111-21/+28
| | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121374 138bc75d-0d04-0410-961f-82ee72b054a4
* * simplify.c, trans-array.c: Fix comment typos.kazu2007-01-313-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121373 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c, jcf-parse.c: Fix comment typos.kazu2007-01-313-6/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121372 138bc75d-0d04-0410-961f-82ee72b054a4
* * error.c (dump_type_suffix): Avoid use of cp_build_binary_op whensayle2007-01-312-9/+14
| | | | | | | | calculating the size of an array (to avoid recursive errors). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121371 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2007-01-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121369 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org>manu2007-01-307-19/+65
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121361 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>brooks2007-01-303-4/+9
| | | | | | | | * invoke.texi (Code Gen Options): Fix abbreviation typo. * intrinsic.texi (ACCESS, LSHIFT, RSHIFT): Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121359 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/extend.texi (Decimal Floating Types): Remove decfloat.h fromjanis2007-01-302-4/+5
| | | | | | | the list of discrepancies from the draft TR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121358 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj.texi (Strings): Fix documentation for JvNewString.tromey2007-01-302-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121356 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>tromey2007-01-302-3/+8
| | | | | | | * gcj.texi (Invoking gcjh, Invoking gjnih, Arrays): Fix some typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121354 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/30432sje2007-01-303-2/+11
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121347 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/large-size-array-3.c: Correct typo.sayle2007-01-302-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121345 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-30 Dirk Mueller <dmueller@suse.de>mueller2007-01-302-5/+13
| | | | | | | | | PR c++/30601 * doc/invoke.texi (-Wreturn-type): Update description to match new behavior. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121342 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2007-01-302-1/+6
| | | | | | | * cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121339 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (expand_builtin_int_interclass_roundingfn): New functionuros2007-01-303-16/+129
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121336 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-30 Richard Guenther <rguenther@suse.de>rguenth2007-01-304-2/+28
| | | | | | | | | | | PR middle-end/27657 * dwarf2out.c (reference_to_unused): Query varpool if the variable was output. * g++.dg/debug/pr27657.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121335 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-30 Richard Guenther <rguenther@suse.de>rguenth2007-01-304-0/+29
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121334 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT tosayle2007-01-302-12/+19
| | | | | | | | | avoid undefined behaviour on overflow. Use force_fit_type_double to construct the constant with the specified TREE_OVERFLOW. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121332 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2007-01-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121325 138bc75d-0d04-0410-961f-82ee72b054a4
* Belated typo fix from 2007-01-02.bje2007-01-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121319 138bc75d-0d04-0410-961f-82ee72b054a4
* * jvspec.c (lang_specific_driver): Remove unused classpath_args.bje2007-01-292-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121318 138bc75d-0d04-0410-961f-82ee72b054a4
* libdecnumber/janis2007-01-2910-0/+415
| | | | | | | | | | | | | | | | | | | | * decExcept.c: New. * decExcept.h: New. libgcc/ * Makefile.in (dec-filenames): Add decExcept. gcc/ * config/dfp-bit.c: Add parameterized support for fp exceptions. * config/dfp-bit.h: Ditto. gcc/testsuite/ * gcc.dg/dfp/dfp-except.h: New file. * gcc.dg/dfp/fe-check.h: New file. * gcc.dg/dfp/fe-binop.c: New test. * gcc.dg/dfp/fe-convert-1.c: New test. * gcc.dg/dfp/fe-convert-2.c: New test. * gcc.dg/dfp/fe-convert-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121317 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/30607:tromey2007-01-293-3/+19
| | | | | | | * jvspec.c (lang_specific_driver): Handle separate -I argument. * lang.opt (-I): Add 'Separate'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121311 138bc75d-0d04-0410-961f-82ee72b054a4
* 007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>manu2007-01-296-9/+31
| | | | | | | | | | | | | * c-decl.c (pop_scope): Replace warnings with call to warn_for_unused_label. * c-common.h (warn_for_unused_label): Declare. * c-common.c (warn_for_unused_label): Define. cp/ * decl.c (pop_label): Replace warning with call to warn_for_unused_label. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121310 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>manu2007-01-292-18/+5
| | | | | | | | * tree-optimize.c (update_inlined_to_pointers): Delete unused function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121309 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/janis2007-01-299-119/+106
| | | | | | | | | | | | | | | | * Makefile.in (USER_H): Remove decfloat.h. * ginclude/decfloat.h: Delete, moving contents to ... * ginclude/float.h: Add support for decimal floating point, guarded by __STDC_WANT_DEC_FP__. gcc/testsuite/ * gcc.dg/dfp/dec-eval-method.c: Replace decfloat.h with float.h. * gcc.dg/dfp/decfloat-constants.c: Ditto. * gcc.dg/dfp/convert-dfp.c: Ditto. * gcc.dg/dfp/convert-int-saturate.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121308 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/gccint.texi (Top): Rename Loop Representation to Loopmrs2007-01-293-2/+8
| | | | | | | | Analysis and Representation to resolve case insensitive conflict. * doc/loop.texi (Loop Analysis and Representation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121306 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-28 Daniel Berlin <dberlin@dberlin.org>dberlin2007-01-299-174/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tree.h (struct tree_memory_tag): Add aliases member. (MTAG_ALIASES): New macro. * tree-ssa-alias.c (alias_bitmap_obstack): New variable. (add_may_alias): Remove pointer-set. Update for may_aliases being a bitmap. (mark_aliases_call_clobbered): Update for may_aliases being a bitmap. (compute_tag_properties): Ditto. (create_partition_for): Ditto. (compute_memory_partitions): Ditto. (dump_may_aliases_for): Ditto. (is_aliased_with): Ditto. (add_may_alias_for_new_tag): Ditto. (rewrite_alias_set_for): Rewrite for may_aliases being a bitmap. (compute_is_aliased): New function. (compute_may_aliases): Call compute_is_aliased). (init_alias_info): Initialize alias_bitmap_obstack. (union_alias_set_into): New function. (compute_flow_sensitive_aliasing): Use union_aliases_into. (have_common_aliases_p): Rewrite to take two bitmaps and use intersection. (compute_flow_insensitive_aliasing): Stop using pointer-sets. Update for bitmaps. (finalize_ref_all_pointers): Update for add_may_alias changes. (new_type_alias): Ditto. * tree-flow-inline.h (may_aliases): Return a bitmap. * tree-dfa.c (dump_variable): Check for MTAG_P'ness. * tree-ssa.c (verify_flow_insensitive_alias_info): Update for may_aliases being a bitmap. * tree-flow.h (struct var_ann_d): Remove may_aliases member. may_aliases now returns a bitmap. * tree-ssa-structalias.c (merge_smts_into): Update for may_aliases being a bitmap. * tree-ssa-operands.c (add_virtual_operand): Update for may_aliases being a bitmap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121302 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-29 Daniel Berlin <dberlin@dberlin.org>dberlin2007-01-293-2/+103
| | | | | | | | | | PR tree-optimization/30630 * tree-ssa-structalias.c (do_complex_constraint): Mark correct variable as changed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121295 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud