Age | Commit message (Collapse) | Author | Files | Lines |
|
PR fortran/16861
* resolve.c (resolve_variable): If e->symtree is not set, this
ought to be a FAILURE, and not a segfault.
* gfortran.dg/pr16861.f90: New test.
From-SVN: r98391
|
|
PR target/21098
* config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): New.
* config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the above.
From-SVN: r98390
|
|
function being dumped.
* tree-cfg.c (dump_function_to_file): Use cfun info only if it
refers to the function being dumped.
From-SVN: r98367
|
|
From-SVN: r98366
|
|
2005-04-18 James A. Morrison <phython@gcc.gnu.org>
PR tree-optimization/21085
* fold-const (fold_binary): Don't change X % -C to X % C if C has
overflowed.
From-SVN: r98365
|
|
[[Split portion of a mixed commit.]]
From-SVN: r98362.2
|
|
-ftree-dominator-opts, not -ftree-dom.
* doc/invoke.texi (Optimize Options): Refer to the correct
optimisation flag -ftree-dominator-opts, not -ftree-dom.
From-SVN: r98355
|
|
about this, even though the commit message for the original patch was empty.
PR fortran/17472
PR fortran/18209
PR fortran/18396
PR fortran/19467
PR fortran/19657
From-SVN: r98350
|
|
2005-04-18 Christopher Jaillet <christophe.jaillet@wanadoo.fr>
* config/rs6000/rs6000.c (machopic_output_stub): Increase
alloca argument to be big enough.
From-SVN: r98348
|
|
* gcc.target/mips/mips.exp: Minor formatting. Call setup_mips_tests.
(setup_mips_tests, dg-mips-options): New procedures.
* gcc.target/mips/asm-1.c, gcc.target/mips/fix-vr4130-1.c,
* gcc.target/mips/fix-vr4130-2.c, gcc.target/mips/fix-vr4130-3.c
* gcc.target/mips/fix-vr4130-4.c, gcc.target/mips/mips-3d-1.c,
* gcc.target/mips/mips-3d-2.c, gcc.target/mips/mips-3d-3.c,
* gcc.target/mips/mips-3d-4.c, gcc.target/mips/mips-3d-5.c,
* gcc.target/mips/mips-3d-6.c, gcc.target/mips/mips-3d-7.c,
* gcc.target/mips/mips-3d-8.c, gcc.target/mips/mips-3d-9.c,
* gcc.target/mips/mips-3d-2.c, gcc.target/mips/mips-3d-3.c,
* gcc.target/mips/mips-ps-1.c, gcc.target/mips/mips-ps-2.c,
* gcc.target/mips/mips-ps-3.c, gcc.target/mips/mips-ps-4.c,
* gcc.target/mips/mips-ps-type.c, gcc.target/mips/sb1-1.c: Use
dg-mips-options instead of dg-options. Remove now-redundant
preprocessor guards.
* gcc.dg/mips-args-1.c, gcc.dg/mips-args-2.c, gcc.dg/mips-args-3.c,
* gcc.dg/mips-movcc-1.c, gcc.dg/mips-movcc-2.c, gcc.dg/mips-movcc-3.c,
* gcc.dg/mips-nmadd-1.c, gcc.dg/mips-nmadd-2.c, gcc.dg/mips-rsqrt-1.c,
* gcc.dg/mips-rsqrt-2.c, gcc.dg/mips-rsqrt-3.c, gcc.dg/vr-mult-1.c,
* gcc.dg/vr-mult-2.c: Delete.
* gcc.target/mips/args-1.c, gcc.target/mips/args-2.c,
* gcc.target/mips/args-3.c, gcc.target/mips/movcc-1.c,
* gcc.target/mips/movcc-2.c, gcc.target/mips/movcc-3.c,
* gcc.target/mips/nmadd-1.c, gcc.target/mips/nmadd-2.c,
* gcc.target/mips/rsqrt-1.c, gcc.target/mips/rsqrt-2.c,
* gcc.target/mips/rsqrt-3.c, gcc.target/mips/vr-mult-1.c,
* gcc.target/mips/vr-mult-2.c: New tests, based on the old gcc.dg ones.
From-SVN: r98345
|
|
2005-04-18 Laurent GUERBY <laurent@guerby.net>
* ada/acats/run_all.sh: Use sync when executable not present.
From-SVN: r98335
|
|
2005-04-18 Alexandre Oliva <aoliva@redhat.com>
PR middle-end/21049
* tree-cfg.c (dump_function_to_file): Do not crash if cfun or
cfun->cfg are NULL.
From-SVN: r98334
|
|
* tree-cfg.c (dump_function_to_file): Do not crash if cfun or
cfun->cfg are NULL.
From-SVN: r98331
|
|
* cgraphunit.c (cgraph_finalize_compilation_unit): Fix a comment
typo.
From-SVN: r98330
|
|
* config/alpha/alpha.c (alpha_split_atomic_op): New.
(alphaev5_insn_pipe): Add LD_L, ST_C, MB types.
(alphaev4_insn_pipe): Likewise. Correct IST and LDSYM pipes.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.md (UNSPECV_MB, UNSPECV_LL, UNSPECV_SC): New.
(UNSPECV_ATOMIC, UNSPECV_CMPXCHG, UNSPECV_XCHG): New.
(attr type): Add ld_l, st_c, mb.
(andsi_internal, andnotsi3, iorsi_internal, one_cmplsi_internal,
iornotsi3, xorsi_internal, xornotsi3): New.
* config/alpha/ev4.md (ev4_ld): Add ld_l.
(ev4_ist_c, ev4_mb): New.
* config/alpha/ev5.md (ev5_st): Add st_c, mb.
(ev5_ld_l): New.
* config/alpha/ev6.md (ev6_ild): Add ld_l.
(ev6_ist): Add st_c.
(ev6_mb): New.
* config/alpha/sync.md: New file.
From-SVN: r98328
|
|
From-SVN: r98327
|
|
* builtins.c (expand_builtin_sync_operation): Fold nand to and
for constants.
From-SVN: r98324
|
|
* config/rs6000/atlivec.md (mulv4si3): New pattern.
* gcc.dg/vect/vect-11.c: Require effective target vect_int_mult.
* gcc.dg/vect/vect-11a.c: New.
* gcc.dg/vect/vect-none.c: Update.
* lib/target-supports.exp (check_effective_target_vect_int_mult): New.
From-SVN: r98323
|
|
2005-04-18 James A. Morrison <phython@gcc.gnu.org>
PR tree-optimization/20922
* fold-const.c (fold_binary): Fold X - c > X and X + c < X to false.
Fold X + c >= X and fold X - c <= X to true.
From-SVN: r98321
|
|
2005-04-18 James A. Morrison <phython@gcc.gnu.org>
* config/ia64/unwind-ia64.c (emergency_reg_state_free): Make an
unsigned int.
(emergency_labeled_state_free): Likewise.
From-SVN: r98320
|
|
From-SVN: r98319
|
|
* decl.c (expand_static_init): Call build2 and build3 instead
of build.
From-SVN: r98318
|
|
From-SVN: r98316
|
|
final_scan_insn.
From-SVN: r98315
|
|
* config.gcc (m68hc12): Use the m68hc11.opt file for target specific options.
(v850e, v850e1): Use the v850.opt file for target specific options.
From-SVN: r98313
|
|
status)
PR libfortran/20950
* io/inquire.c (inquire_via_unit): Check for the gfc_unit being
NULL when setting ioparm.sequential.
* gfortran.dg/pr20950.f: New test.
From-SVN: r98312
|
|
* gfortran.dg/pr19216.f: Last commit forgot to 'cvs add' the
added test. Here it is.
From-SVN: r98311
|
|
PR libfortran/19216
* gfortran.dg/pr19216.f: New test.
From-SVN: r98310
|
|
COND_EXPR is used only in the COND_EXPR.)
gcc/
PR tree-optimization/21001
* tree-optimize.c (init_tree_optimization_passes): Move the
first pass_forwprop immediately before pass_vrp.
testsuite/
PR tree-optimization/21001
* gcc.dg/tree-ssa/pr21001.c: New.
From-SVN: r98309
|
|
[[Split portion of a mixed commit.]]
From-SVN: r98307.2
|
|
./ * c-common.def (SIZEOF_EXPR, ARROW_EXPR, ALIGNOF_EXPR): Remove.
* c-common.c (c_sizeof_or_alignof_type): Change second parameter
from enum tree_code op to bool is_sizeof.
* c-common.h (c_sizeof_or_alignof_type): Update declaration.
(c_sizeof, c_alignof): Update calls to c_sizeof_or_alignof_type.
* c-pretty-print.c (pp_c_postfix_expression): Remove ARROW_EXPR
case.
(pp_c_unary_expression): Remove SIZEOF_EXPR and ALIGNOF_EXPR
cases.
(pp_c_expression): Remove ARROW_EXPR, SIZEOF_EXPR, and
ALIGNOF_EXPR cases.
cp/
* cp-tree.def: Add SIZEOF_EXPR, ARROW_EXPR and ALIGNOF_EXPR.
* cxx-pretty-print.c (pp_cxx_postfix_expression): Handle
ARROW_EXPR.
(pp_cxx_unary_expression): Handle SIZEOF_EXPR and ALIGNOF_EXPR.
(pp_cxx_expression): Handle ARROW_EXPR, SIZEOF_EXPR, and
ALIGNOF_EXPR.
* typeck.c (cxx_sizeof_or_alignof_type): Update call to
c_sizeof_or_alignof_type for change in parameter type.
From-SVN: r98297
|
|
From-SVN: r98295
|
|
PR libfortran/21075
* m4/reshape.m4 (reshape_`'rtype_kind): Change dimension
of auxiliary arrays from GFC_MAX_DIMENSIONS - 1 to
GFC_MAX_DIMENSIONS.
* intrinsics/reshape_generic.c (reshape_generic): Likewise.
* generated/reshape_i4.c: Regenerated.
* generated/reshape_i8.c: Regenerated.
2005-04-17 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/21075
* gfortran.dg/reshape_rank7.f90: New test.
From-SVN: r98288
|
|
-------------------------------------------------------------------
From-SVN: r98287
|
|
* config/alpha/alpha.c (va_list_skip_additions): Only define if
TARGET_ABI_OSF.
(TARGET_STDARG_OPTIMIZE_HOOK): Likewise.
(alpha_stdarg_optimize_hook): Likewise. Allow for one more round
of indirection through ssa names while looking for the gpr counter
field.
(alpha_setup_incoming_varargs) <TARGET_ABI_OSF>: Make use of the
saved va_list_gpr_size and va_list_fpr_size.
From-SVN: r98286
|
|
From-SVN: r98285
|
|
From-SVN: r98283
|
|
variable.
* tree-vrp.c (maybe_add_assert_expr): Don't assert
ASSERT_EXPRs for single-use variable.
From-SVN: r98278
|
|
both integers.
* tree-vrp.c (compare_values): Check that VAL1 and VAL2 are
both pointers or both integers.
From-SVN: r98273
|
|
a comment for both fixed and free form.
2005-04-17 Richard Guenther <rguenth@gcc.gnu.org>
* scanner.c (gfc_next_char_literal): Reset truncation flag
for lines ending in a comment for both fixed and free form.
(load_line): Do not set truncated flag if only truncating
the EOL marker.
* gfortran.dg/wtruncate.f: New testcase.
* gfortran.dg/wtruncate.f90: New testcase.
From-SVN: r98269
|
|
default of -mips2.
* config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as
-mipsN before forcing a default of -mips2.
From-SVN: r98265
|
|
* tree-flow-inline.h (get_stmt_operands): Remove.
* lambda-code.c, tree-ssa-loop-unswitch.c,
tree-ssa-operands.c, tree-ssa-pre.c, tree-ssa-propagate.c,
tree-ssa-sink.c, tree-ssa.c, tree-tailcall.c,
tree-vect-transform.c, tree-vectorizer.c, tree-vrp.c): Remove
calls to get_stmt_operands.
* doc/tree-ssa.texi: Don't mention get_stmt_operands.
From-SVN: r98262
|
|
From-SVN: r98260
|
|
From-SVN: r98259
|
|
* predict.h (IS_TAKEN): Remove.
* rtl.h (NOTE_PREDICTION): Likewise.
From-SVN: r98258
|
|
PR target/20375
* config/alpha/alpha.c (alpha_setup_incoming_varargs): Advance a copy
of CUMULATIVE_ARGS past the last named argument.
(alpha_va_start): Expect pretend_args_size only if strictly less than
6 named arguments.
From-SVN: r98257
|
|
PR c++/21025
* typeck.c (cxx_sizeof_or_alignof_type): Check whether the type to
which sizeof/alignof is dependent, rather than just whether we are
processing_template_decl.
PR c++/21025
* g++.dg/template/sizeof9.C: New test.
From-SVN: r98252
|
|
* cp-tree.h (LOOKUP_GLOBAL): Remove.
(LOOKUP_ONLYCONVERTING, DIRECT_BIND, LOOKUP_NO_CONVERSION,
LOOKUP_DESTRUCTOR, LOOKUP_NO_TEMP_BIND, LOOKUP_PREFER_TYPES,
LOOKUP_PREFER_NAMESPACES, LOOKUP_CONSTRUCTOR_CALLABLE): Adjust
their values.
From-SVN: r98247
|
|
From-SVN: r98245
|
|
types do not match)
PR middle-end/21024
* builtins.c (expand_builtin_strcat): Convert the result of
strlen to the right type.
* fold-const.c (fold_binary) <PLUS_EXPR>: Use fold_convert to
avoid creating type mismatches.
<GE_EXPR>: Pass op0 and op1 to fold_build2 to avoid creating
type mismatches.
From-SVN: r98244
|