aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-02-05tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Do not require ↵Richard Sandiford4-18/+45
DWARF_FRAME_RETURN_COLUMN to be a general register. gcc/ * doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Do not require DWARF_FRAME_RETURN_COLUMN to be a general register. * dwarf2out.c (init_return_column_size): New function, split from... (expand_builtin_init_dwarf_reg_sizes): ...here. Allow both DWARF_FRAME_RETURN_COLUMN and DWARF_ALT_FRAME_RETURN_COLUMN to be nongeneral registers. * config/m68k/m68k.h (DWARF_FRAME_REGNUM): Only map FP and integer registers. (DWARF_FRAME_REGISTERS, DWARF_FRAME_RETURN_COLUMN): Define. (DWARF_ALT_FRAME_RETURN_COLUMN): Define. From-SVN: r121593
2007-02-05cp-tree.h (OMP_ATOMIC_CODE): Delete.Paolo Bonzini4-38/+32
2007-02-05 Paolo Bonzini <bonzini@gnu.org> * cp-tree.h (OMP_ATOMIC_CODE): Delete. (OMP_ATOMIC_DEPENDENT_P): Rewrite. * pt.c (tsubst_expr): Adjust for new format of dependent OMP_ATOMIC expressions. * semantics.c (finish_omp_atomic): Store a whole expression node in operand 1, and integer_zero_node in operand 0, for dependent OMP_ATOMIC. Rewrite to make flow easier to understand. From-SVN: r121592
2007-02-05* mkheaders.in: Allow optional isysroot parameter.Mike Stump2-5/+19
From-SVN: r121590
2007-02-05Daily bump.GCC Administrator1-1/+1
From-SVN: r121588
2007-02-04cfgcleanup.c (try_optimize_cfg): Avoid removing ENTRY_BLOCK_PTR.Zdenek Dvorak2-3/+9
* cfgcleanup.c (try_optimize_cfg): Avoid removing ENTRY_BLOCK_PTR. From-SVN: r121584
2007-02-04cfgloopmanip.c (loop_delete_branch_edge): Removed.Zdenek Dvorak7-62/+180
* cfgloopmanip.c (loop_delete_branch_edge): Removed. (remove_path): Use can_remove_branch_p and remove_branch instead of loop_delete_branch_edge. * tree-ssa-loop-manip.c (scale_dominated_blocks_in_loop): New function. (tree_transform_and_unroll_loop): Remove dead branches immediately. Update profile using scale_dominated_blocks_in_loop. * cfghooks.c (can_remove_branch_p, remove_branch): New functions. * cfghooks.h (struct cfg_hooks): Add can_remove_branch_p. (can_remove_branch_p, remove_branch): Declare. * tree-cfg.c (tree_can_remove_branch_p): New function. (tree_cfg_hooks): Add tree_can_remove_branch_p. * cfgrtl.c (rtl_can_remove_branch_p): New function. (rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Add rtl_can_remove_branch_p. From-SVN: r121583
2007-02-04re PR middle-end/30696 (Linker failure with OpenMP and inline function)Jan Hubicka2-0/+7
PR middle-end/30696 * ipa-inline.c (cgraph_clone_inlined_nodes): When there are unanalyzed nodes in cgraph, don't remove offline copy of the function. From-SVN: r121582
2007-02-04re PR fortran/30611 ([4.1 only] Confusing error message for negative ncopies ↵Francois-Xavier Coudert6-9/+55
in REPEAT) PR fortran/30611 * trans-intrinsic.c (gfc_conv_intrinsic_repeat): Evaluate arguments only once. Generate check that NCOPIES argument is not negative. * intrinsics/string_intrinsics.c (string_repeat): Don't check if ncopies is negative. * gcc/testsuite/gfortran.dg/repeat_1.f90: New test. From-SVN: r121581
2007-02-04invoke.texi: Update documentation.Steven G. Kargl10-18/+41
2007-02-03 Steven G. Kargl <kargl@gcc.gnu.org> * fortran/invoke.texi: Update documentation. * fortran/options.c (gfc_post_options): Deal with tabs with -std=f2003 and -pedantic. 2007-02-03 Steven G. Kargl <kargl@gcc.gnu.org> * gfortran.dg/spread_shape_1.f90: Remove tabs. * gfortran.dg/derived_init_2.f90: Ditto. * gfortran.dg/elemental_subroutine_3.f90: Ditto. * gfortran.dg/array_initializer_1.f90: Ditto. * gfortran.dg/do_2.f90: Ditto. * gfortran.dg/proc_assign_1.f90: Ditto. From-SVN: r121580
2007-02-04Small tweaks.Eric Botcazou1-4/+3
From-SVN: r121579
2007-02-04tree-sra.c (sra_walk_expr): Add linebreaks.Jan Hubicka2-3/+12
* tree-sra.c (sra_walk_expr): Add linebreaks. BITFIELD_REFs into vectors might cause maybe_lookup_element_for_expr to be called on non-sra-candidate. From-SVN: r121578
2007-02-04bfin-modes.def, [...]: Follow spelling conventions.Kazu Hirata5-14/+20
* config/bfin/bfin-modes.def, config/bfin/bfin.c, config/bfin/bfin.md, config/bfin/predicates.md: Follow spelling conventions. From-SVN: r121577
2007-02-04re PR middle-end/30636 (incorrect array bounds warning on multi-dimensional ↵Richard Guenther5-1/+59
arrays) 2007-02-04 Richard Guenther <rguenther@suse.de> PR middle-end/30636 * fold-const.c (try_move_mult_to_index): Make sure to not overflow one dimension of a multi-dimensional array access. * g++.dg/warn/pr30636.C: New testcase. * g++.dg/tree-ssa/tmmti-2.C: XFAIL parts. From-SVN: r121575
2007-02-04replace "extern" only if surrounded by space characters.Bruce Korb4-39/+62
From-SVN: r121574
2007-02-04* passes.c (init_optimization_passes): Reindent.Jan Hubicka2-258/+266
From-SVN: r121573
2007-02-04tree-optimize.c (has_abnormal_outgoing_edge_p): Move to tree-inline.Jan Hubicka3-65/+83
* tree-optimize.c (has_abnormal_outgoing_edge_p): Move to tree-inline. (execute_fixup_cfg): Break out the abnormal goto code. * tree-inline.c (has_abnormal_outgoing_edge_p): Move here from tree-optimize.c. (make_nonlocal_label_edges): Move here from execute_fixup_cfg. (optimize_inline_calls): Call make_nonlocal_label_edges. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r121572
2007-02-04tree-ssa-copyrename.c (copy_rename_partition_coalesce): Return true when ↵Jan Hubicka3-14/+26
something was changed. * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Return true when something was changed. (rename_ssa_copies): When something was changed, do TODO_remove_unused_locals. * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_value): add TODO_remove_unused_locals when instruction was removed. From-SVN: r121571
2007-02-04ipa-inline.c (try_inline): Improve debug output; work on already inline ↵Jan Hubicka2-36/+140
edges too. * ipa-inline.c (try_inline): Improve debug output; work on already inline edges too. (cgraph_decide_inlining_incrementally): Indent; improve debug output; call try_inline for already inlined edges too when flattening; inline also functions that make callee growth but overall unit size reduce. From-SVN: r121570
2007-02-04re PR libfortran/30007 (libgfortran doesn't build for sh-elf)Francois-Xavier Coudert2-4/+10
PR libfortran/30007 * libgfortran.h: Do not prefix symbol name with __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))). From-SVN: r121569
2007-02-04* decl.c (grokdeclarator): Use OPT_Wreturn_type instead of 0.Gabriel Dos Reis2-2/+7
From-SVN: r121568
2007-02-04v850.c, [...]: Follow spelling conventions.Kazu Hirata4-14/+17
* config/v850/v850.c, config/v850/v850.h, config/v850/v850.md: Follow spelling conventions. From-SVN: r121567
2007-02-04class.c, [...]: Follow spelling conventions.Kazu Hirata18-42/+47
* class.c, cp-tree.h, decl.c, decl2.c, g++spec.c, init.c, parser.c, pt.c, tree.c, typeck.c: Follow spelling conventions. From-SVN: r121566
2007-02-04bitops.md, [...]: Follow spelling conventions.Kazu Hirata25-118/+132
* config/m32c/bitops.md, config/m32c/jump.md, config/m32c/m32c.c, config/m32c/m32c.h, config/m32r/m32r.c, config/m32r/m32r.h, config/m32r/m32r.md, config/m32r/predicates.md, config/m68hc11/larith.asm, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/mcore/mcore.md, config/mips/4k.md, config/mips/mips-protos.h, config/mips/mips.c, config/mips/mips.h, config/mips/mips.md, config/mips/mips16.S, config/mn10300/mn10300.h, config/mn10300/predicates.md, config/mt/mt.c, config/mt/mt.h, config/mt/mt.md: Follow spelling conventions. From-SVN: r121565
2007-02-04c-opts.c (c_common_post_options): If C++0x mode is enabled, don't warn about ↵Douglas Gregor2-0/+10
C++0x compatibility. 2007-02-03 Douglas Gregor <doug.gregor@gmail.com> * c-opts.c (c_common_post_options): If C++0x mode is enabled, don't warn about C++0x compatibility. From-SVN: r121564
2007-02-04parser.c (cp_lexer_get_preprocessor_token): Attach the C++0x keyword warning ↵Douglas Gregor2-1/+7
to -Wc++0x-compat. 2007-02-03 Douglas Gregor <doug.gregor@gmail.com> * parser.c (cp_lexer_get_preprocessor_token): Attach the C++0x keyword warning to -Wc++0x-compat. From-SVN: r121563
2007-02-04h8300.c, [...]: Follow spelling conventions.Kazu Hirata4-14/+19
* config/h8300/h8300.c, config/h8300/h8300.h, config/h8300/h8300.md: Follow spelling conventions. From-SVN: r121562
2007-02-04* decl.c (grokdeclarator): Update documentation.Gabriel Dos Reis2-2/+6
From-SVN: r121561
2007-02-04Daily bump.GCC Administrator1-1/+1
From-SVN: r121559
2007-02-04re PR middle-end/30667 (ICE in immed_double_const, at emit-rtl.c:468)Uros Bizjak4-1/+24
PR middle-end/30667 * combine.c (try_combine): Do not substitute source operand with constants wider than 2 * HOST_BITS_PER_WIDE_INT. testsuite/ChangeLog: PR middle-end/30667 * gfortran.dg/pr30667.f: New test. From-SVN: r121555
2007-02-03re PR gcov-profile/30650 (ICE with -fprofile-use)Jan Hubicka3-8/+26
PR gcov-profile/30650 * value-prof.c (stringop_block_profile): Fix handling of size counter; do not divide by zero for never executed counters. (tree_find_values_to_profile): Fix counters. * gcov-ui.h (GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): Fix comments. From-SVN: r121554
2007-02-03lower-subreg.c (simple_move_operand): New static function, broken out of ↵Ian Lance Taylor2-22/+60
simple_move. * lower-subreg.c (simple_move_operand): New static function, broken out of simple_move. Reject LABEL_REF, SYMBOL_REF, and HIGH operands. (simple_move): Call simple_move_operand. (find_decomposable_subregs): Add special handling of MEMs. (can_decompose_p): Rename from cannot_decompose_p. Reverse meaning of return value. If we see a hard register, test whether it can store a word_mode value. Change all callers. From-SVN: r121553
2007-02-03pa.md (addvdi3, [...]): New ftrapv insns and expanders.John David Anglin2-12/+223
* pa.md (addvdi3, addvsi3, subvdi3, subvsi3, negvdi2, negvsi2): New ftrapv insns and expanders. (subdi3): Change define_expand operand 1 to arith11_operand, and operand 2 to reg_or_0_operand. Change constraints of 64-bit insn pattern to handle reg_or_0 operands. Revise 32-bit insn pattern to handle 11-bit constants and reg_or_0 operands in operands 1 and 2, respectively. From-SVN: r121552
2007-02-03re PR middle-end/30174 (FAIL: g++.old-deja/g++.abi/cxa_vec.C execution test)John David Anglin2-1/+7
PR middle-end/30174 * varasm.c (notice_global_symbol): Treat global objects as weak when flag_shlib is true. From-SVN: r121551
2007-02-03emit-rtl.c (dconstpi): Delete.Kaveh R. Ghazi4-12/+20
* emit-rtl.c (dconstpi): Delete. (dconstsqrt2): New. (init_emit_once): Delete dconstpi and init dconstsqrt2. * real.h (dconstpi): Delete. (dconstsqrt2): New. * builtins.c (fold_builtin_cabs): Use dconstsqrt2. (fold_builtin_hypot): Likewise. From-SVN: r121550
2007-02-03re PR driver/30246 (-ggdb3 does not cause -dD to be passed to cc1 for ↵Tom Tromey2-1/+8
preprocessing) PR driver/30246 * gcc.c (cpp_unique_options): Any of -ggdb3, -gstabs3, -gcoff3, -gxcoff3, -gvms3 implies -dD. From-SVN: r121549
2007-02-03* misc.c, utils2.c: Fix comment typos.Kazu Hirata3-2/+6
From-SVN: r121547
2007-02-03c-decl.c, [...]: Fix comment typos.Kazu Hirata27-28/+41
* c-decl.c, config/avr/avr.c, config/avr/avr.h, config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/mn10300/mn10300.c, config/pdp11/pdp11.h, config/rs6000/cell.md, config/rs6000/darwin.h, config/sh/sh.md, config/sh/sh4-300.md, config/spu/spu.c, config/spu/spu.md, cselib.c, expr.c, haifa-sched.c, hwint.h, jump.c, reload.c, sched-deps.c, sched-int.h, tree-inline.c, tree-profile.c, tree-ssa-live.h, tree-vrp.c: Fix comment typos. Follow spelling conventions. * doc/invoke.texi: Follow spelling conventions. From-SVN: r121546
2007-02-03* trans-array.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r121545
2007-02-03simplify-rtx.c (simplify_relational_operation_1): Implement some ↵Roger Sayle2-19/+65
canonicalization transformations that attempt to simplify... * simplify-rtx.c (simplify_relational_operation_1): Implement some canonicalization transformations that attempt to simplify integer constant comparisons to become comparisons against zero. From-SVN: r121544
2007-02-03* java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.Kazu Hirata4-3/+7
From-SVN: r121543
2007-02-03builtins.c (fold_builtin_cabs): Fold cabs(x+xi) into fabs(x)*sqrt(2).Kaveh R. Ghazi5-15/+182
* builtins.c (fold_builtin_cabs): Fold cabs(x+xi) into fabs(x)*sqrt(2). * fold-const.c (fold_binary): Fix comment typos. Fold complex (x,0)-(0,y) into (x,-y). Likewise (0,y)-(x,0) into (-x,y). testsuite: * gcc.dg/builtins-54.c: Add more cases. From-SVN: r121542
2007-02-03re PR fortran/30514 ([4.1 only] zero-sized array wrongly rejected: integer ↵Paul Thomas7-8/+106
:: i(1:-1)) 2007-02-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/30514 * array.c (match_array_element_spec): If the length of an array is negative, adjust the upper limit to make it zero length. PR fortran/30660 * resolve.c (pure_function, resolve_function): Initialize name to null to clear up build warnings. (resolve_fl_variable): Look at components explicitly to check for default initializer, rather than using gfc_default_initializer. 2007-02-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/30514 * gfortran.dg/zero_sized_2.f90: New test. PR fortran/30660 * gfortran.dg/alloc_comp_basics_4.f90: New test. PR fortran/29820 * gfortran.dg/actual_array_interface_1.f90: Copy source to empty file. From-SVN: r121541
2007-02-03darwin9.h (DARWIN_LINKER_GENERATES_ISLANDS): Add.Mike Stump3-2/+20
* config/darwin9.h (DARWIN_LINKER_GENERATES_ISLANDS): Add. * config/rs6000/rs6000.c (DARWIN_GENERATE_ISLANDS): Add. (output_call): Use DARWIN_GENERATE_ISLANDS to decide when to generate a branch island. Radar 4967371 From-SVN: r121534
2007-02-03xtensa.c (smalloffset_mem_p): Use BASE_REG_P.Bob Wilson4-115/+154
* config/xtensa/xtensa.c (smalloffset_mem_p): Use BASE_REG_P. (xtensa_legitimate_address_p): New. (xtensa_legitimize_address): New. (xtensa_output_addr_const_extra): New. * config/xtensa/xtensa.h (REG_OK_STRICT_FLAG): Define. (BASE_REG_P): New. (REG_OK_FOR_BASE_P): Use BASE_REG_P. (GO_IF_LEGITIMATE_ADDRESS): Move code to xtensa_legitimate_address_p. (LEGITIMIZE_ADDRESS): Move code to xtensa_legitimize_address. (OUTPUT_ADDR_CONST_EXTRA): Move code to xtensa_output_addr_const_extra. * config/xtensa/xtensa-protos.h (xtensa_legitimate_address_p): New. (xtensa_legitimize_address): New. (xtensa_output_addr_const_extra): New. From-SVN: r121533
2007-02-03re PR fortran/30683 ([4.2 only] internal compiler error: Segmentation fault)Steven G. Kargl4-1/+68
2007-02-02 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/30683 * resolve.c (resolve_generic_f): Check for non-NULL sym. * gfortran.dg/interface_10.f90: New test. From-SVN: r121531
2007-02-03* config/ia64/ia64.c (ia64_print_operand): Fix compare strings.Steve Ellcey2-0/+16
From-SVN: r121530
2007-02-03Daily bump.GCC Administrator1-1/+1
From-SVN: r121528
2007-02-02trans.c (gfc_build_array_ref): Use STRIP_TYPE_NOPS to eliminate ↵Roger Sayle2-0/+8
NON_LVALUE_EXPR nodes and useless type conversions. * trans.c (gfc_build_array_ref): Use STRIP_TYPE_NOPS to eliminate NON_LVALUE_EXPR nodes and useless type conversions. From-SVN: r121522
2007-02-02* expmed.c (expand_divmod): Add comment.Ian Lance Taylor2-0/+7
From-SVN: r121519
2007-02-02Move ChangeLog entry for testsuite/gcc.dg/20050922-1.c fromAndreas Krebbel2-1/+4
ChangeLog-2005 to testsuite/ChangeLog. From-SVN: r121518