- 04 Feb, 2007 21 commits
-
-
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
Francois-Xavier Coudert committed -
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
Steven G. Kargl committed -
From-SVN: r121579
Eric Botcazou committed -
* 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
Jan Hubicka committed -
* config/bfin/bfin-modes.def, config/bfin/bfin.c, config/bfin/bfin.md, config/bfin/predicates.md: Follow spelling conventions. From-SVN: r121577
Kazu Hirata committed -
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
Richard Guenther committed -
From-SVN: r121574
Bruce Korb committed -
From-SVN: r121573
Jan Hubicka committed -
* 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
Jan Hubicka committed -
* 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
Jan Hubicka committed -
* 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
Jan Hubicka committed -
PR libfortran/30007 * libgfortran.h: Do not prefix symbol name with __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))). From-SVN: r121569
Francois-Xavier Coudert committed -
From-SVN: r121568
Gabriel Dos Reis committed -
* config/v850/v850.c, config/v850/v850.h, config/v850/v850.md: Follow spelling conventions. From-SVN: r121567
Kazu Hirata committed -
* 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
Kazu Hirata committed -
* 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
Kazu Hirata committed -
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
Douglas Gregor committed -
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
Douglas Gregor committed -
* config/h8300/h8300.c, config/h8300/h8300.h, config/h8300/h8300.md: Follow spelling conventions. From-SVN: r121562
Kazu Hirata committed -
From-SVN: r121561
Gabriel Dos Reis committed -
From-SVN: r121559
GCC Administrator committed
-
- 03 Feb, 2007 19 commits
-
-
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
Uros Bizjak committed -
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
Jan Hubicka committed -
* 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
Ian Lance Taylor committed -
* 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
John David Anglin committed -
PR middle-end/30174 * varasm.c (notice_global_symbol): Treat global objects as weak when flag_shlib is true. From-SVN: r121551
John David Anglin committed -
* 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
Kaveh R. Ghazi committed -
PR driver/30246 * gcc.c (cpp_unique_options): Any of -ggdb3, -gstabs3, -gcoff3, -gxcoff3, -gvms3 implies -dD. From-SVN: r121549
Tom Tromey committed -
From-SVN: r121547
Kazu Hirata committed -
* 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
Kazu Hirata committed -
From-SVN: r121545
Kazu Hirata committed -
simplify-rtx.c (simplify_relational_operation_1): Implement some 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
Roger Sayle committed -
From-SVN: r121543
Kazu Hirata committed -
* 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
Kaveh R. Ghazi committed -
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
Paul Thomas committed -
* 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
Mike Stump committed -
* 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
Bob Wilson committed -
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
Steven G. Kargl committed -
From-SVN: r121530
Steve Ellcey committed -
From-SVN: r121528
GCC Administrator committed
-