aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-02-05re PR target/30665 (peephole2 misapplied on postinc mem)Hans-Peter Nilsson1-0/+1
PR target/30665 * config/cris/cris.md ("*andsi_movu", "*andsi_clear", "*andhi_movu") ("*andhi_clear", andu (casesi+45)): For size-changed operand where memory is allowed, require !side_effects_p, not just !MEM_VOLATILE_P. From-SVN: r121613
2007-02-05cris.md ("*andsi_movu", [...]): For size-changed operand where memory is ↵Hans-Peter Nilsson2-7/+13
allowed... * config/cris/cris.md ("*andsi_movu", "*andsi_clear", "*andhi_movu") ("*andhi_clear", andu (casesi+45)): For size-changed operand where memory is allowed, require !side_effects_p, not just !MEM_VOLATILE_P. From-SVN: r121612
2007-02-05re PR target/30665 (peephole2 misapplied on postinc mem)Hans-Peter Nilsson3-0/+86
PR target/30665 * gcc.dg/torture/pr30665-1.c, gcc.dg/torture/pr30665-2.c: New tests. From-SVN: r121611
2007-02-05Proxy.java (equals): Handle case where address==null.Tom Tromey3-4/+12
* java/net/Proxy.java (equals): Handle case where address==null. (hashCode): Likewise. (toString): Likewise. From-SVN: r121609
2007-02-05* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz2-1/+101
(registerEvent): Implement EVENT_BREAKPOINT. (unregisterEvent): Likewise. (get_request_location): New function. From-SVN: r121608
2007-02-05fold-const.c (fold_unary): Test for availability of BUILT_IN_COS before ↵Roger Sayle3-4/+25
simplifying REAL_PART(CEXPI)) to COS. * fold-const.c (fold_unary) <REAL_PART>: Test for availability of BUILT_IN_COS before simplifying REAL_PART(CEXPI)) to COS. <IMAG_PART>: Likewise, check for availability of BUILT_IN_SIN. * builtins.c (fold_builtin_sincos): Check for TARGET_C99_FUNCTIONS before canonicalizing sincos to cexpi. (fold_builtin_cexp): Likewise, for canonicalizing cexp to cexpi. From-SVN: r121607
2007-02-05gcconfig.h: use LINUX_STACKBOTTOM so it works with Linux 2.6, reactivate ↵Roman Zippel3-3/+10
MPROTECT_VDB 2007-02-05 Roman Zippel <zippel@linux-m68k.org> * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so it works with Linux 2.6, reactivate MPROTECT_VDB * boehm-gc/pthread_stop_world.c: save all register on signal entry From-SVN: r121606
2007-02-05testsuite/Makefile.am (compile-tests): Fix typo.Matthias Klose3-2/+7
2007-02-05 Matthias Klose <doko@debian.org> testsuite/Makefile.am (compile-tests): Fix typo. testsuite/Makefile.in: Regenerate. From-SVN: r121605
2007-02-05alpha.c (alpha_add_builtins): New Helper function.Roger Sayle2-32/+45
* config/alpha/alpha.c (alpha_add_builtins): New Helper function. Set TREE_READONLY and TREE_NOTHROW directly, not via attributes. (alpha_init_builtins): Use alpha_add_builtins to process tables. From-SVN: r121603
2007-02-05mips-tfile.c (initialize_init_file): Correct endianness test.Roger Sayle2-4/+21
* mips-tfile.c (initialize_init_file): Correct endianness test. From-SVN: r121602
2007-02-05Makefile.in: Make libgcc_s.so depend on libunwind.so.Roger Sayle2-2/+10
* Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so. (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK). (libunwind.so): Likewise for $(SHLIBUNWIND_LINK). Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com> From-SVN: r121601
2007-02-05m68k.md (pushdi-1, [...]): Don't use the 'y' constraint.Kazu Hirata2-3/+8
* config/m68k/m68k.md (pushdi-1, pushdi, movsi+1): Don't use the 'y' constraint. From-SVN: r121600
2007-02-05stl_deque.h (operator<): Qualify call.Paolo Carlini2-2/+6
2007-02-05 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_deque.h (operator<): Qualify call. From-SVN: r121597
2007-02-05re PR bootstrap/30510 (Gcc failed to bootstrap)Dirk Mueller2-1/+11
2007-02-05 Dirk Mueller <dmueller@suse.de> PR bootstrap/30510 * parser.c (cp_parser_class_specifier): Always initialize bases. From-SVN: r121596
2007-02-05dwarf2out.c (dwarf2out_frame_debug_expr): Record the register saves in a ↵Richard Sandiford2-5/+28
PARALLEL before the register assignments. gcc/ * dwarf2out.c (dwarf2out_frame_debug_expr): Record the register saves in a PARALLEL before the register assignments. From-SVN: r121594
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