Age | Commit message (Collapse) | Author | Files | Lines |
|
* invoke.texi: Document -Wunderflow and spell check.
* lang.opt: Add Wunderflow.
* gfortran.h (gfc_option_t): Add warn_underflow option.
* options.c (gfc_init_options, set_Wall): Use it.
* primary.c (match_real_constant): Explicitly handle UNDERFLOW.
* arith.c (gfc_arith_uminus, gfc_arith_plus, gfc_arith_minus,
gfc_arith_times, gfc_arith_divide, gfc_arith_power, gfc_real2real,
gfc_real2complex, gfc_complex2real, gfc_complex2complex): Ditto.
* arith.c (common_logarithm): Fix typo in comment.
From-SVN: r82130
|
|
callee-copied argument is stored in the current function's...
* calls.c (initialize_argument_information): Forbid sibcalls if a
callee-copied argument is stored in the current function's frame.
From-SVN: r82129
|
|
2004-05-22 Eric Christopher <echristo@redhat.com>
* fix-header.c (read_scan_file): Update for add_path change.
From-SVN: r82127
|
|
* c.opt (Wmissing-include-dirs): New.
* c-opts.c (c_common_handle_option): Pass true for user_supplied_p
to add_path () for -I, but false for OPT_idirafter, OPT_iquote and
OPT_isystem. Handle case OPT_Wmissing_include_dirs.
* c-incpath.h (add_path): Add fourth (bool) argument.
* c-incpath.c (add_env_var_paths): Pass false to add_path ().
(add_standard_paths): Likewise.
(remove_duplicates) [REASON_NOENT]: Warn if -Wmissing-include-dirs
is used and the directory was user-supplied via -I.
(add_path): Set p->user_supplied_p. Remove duplicated code by
using add_cpp_dir_path ().
* cpplib.h (struct cpp_options): Add warn_missing_include_dirs.
(struct cpp_dir): Add user_supplied_p.
* doc/invoke.texi (Warning Options): Document new option.
[testsuite]
* gcc.dg/cpp/Wmissingdirs.c: New.
From-SVN: r82121
|
|
* fold-const.c (fold_read_from_constant_string): Convert result to
requested type.
From-SVN: r82120
|
|
From-SVN: r82118
|
|
From-SVN: r82111
|
|
* gimplify.c (mostly_copy_tree_r): Don't attempt to copy decls.
(copy_if_shared_r): Don't copy decls, types, constants, BINDs.
Don't mark VA_ARG_EXPRs volatile here.
(gimplify_modify_expr): Unshare TYPE_SIZE_UNIT.
From-SVN: r82110
|
|
* io.c (check_format): As a GNU extension, allow the comma after a
string literal to be optional in a format. Use gfc_notify_std to
issue an error/warning as appropriate.
* io/format.c (parse_format_list): Allow the comma after a string
literal to be optional.
From-SVN: r82109
|
|
error/warning for omitting...
* io.c (check_format): Use gfc_notify_std to determine whether to
issue an error/warning for omitting the digits from the X format.
From-SVN: r82106
|
|
* Makefile.in (tree-dump.o): Depend on tree-iterator.h.
* tree-dump.c (dequeue_and_dump): Dump STATEMENT_LISTs.
From-SVN: r82105
|
|
* fold-const.c (fold, fold_relational_hi_lo,
nondestructive_fold_binary_to_constant,
fold_read_from_constant_string): Use fold_convert instead of convert.
* builtins.c (simplify_builtin, simplify_builtin_strstr,
simplify_builtin_strchr, simplify_builtin_strrchr,
simplify_builtin_strpbrk): Use fold_convert instead of convert.
From-SVN: r82102
|
|
* tree-flow-inline.h (num_immediate_uses): Don't abort if DF
is NULL.
From-SVN: r82099
|
|
(INITIALIZE_TRAMPOLINE): Replace 'tramp' with 'TRAMP' in the body of the
macro definition.
From-SVN: r82097
|
|
* gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not
extern.
From-SVN: r82094
|
|
* config/sparc/linux64.h (OPTION_DEFAULT_SPECS): If SPARC_BI_ARCH,
override sparc.h definition.
From-SVN: r82091
|
|
* system.h: Poison NO_RECURSIVE_FUNCTION_CSE.
* calls.c (prepare_call_address): Don't test
NO_RECURSIVE_FUNCTION_CSE.
* config/arc/arc.h (NO_RECURSIVE_FUNCTION_CSE): Don't define.
* config/arm/arm.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/avr/avr.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/frv/frv.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/i386/i386.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/ip2k/ip2k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/iq2000/iq2000.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/m32r/m32r.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/m68k/m68k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/mcore/mcore.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/mips/mips.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/stormy16/stormy16.h (NO_RECURSIVE_FUNCTION_CSE):
Likewise.
* config/xtensa/xtensa.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
* config/sh/sh.h: Remove NO_RECURSIVE_FUNCTION_CSE comment.
* doc/tm.texi (Costs): Remove documentation for
NO_RECURSIVE_FUNCTION_CSE.
From-SVN: r82084
|
|
* tree.c (array_type_nelts, save_expr, substitute_in_expr,
get_unwidened, get_narrower): Replace build with build2.
* fold-const.c (negate_expr, associate_trees, size_binop,
fold_convert, eval_subst, omit_one_operand, invert_truthvalue,
pedantic_omit_one_operand, distribute_bit_expr,
make_bit_field_ref, optimize_bit_field_compare,
decode_field_reference, range_binop, make_range,
build_range_check, fold_range_test, fold_truthop,
optimize_minmax_comparison, extract_muldiv_1,
fold_binary_op_with_conditional_arg, fold_mathfn_compare,
fold_inf_compare, fold_single_bit_test, fold,
fold_relational_hi_lo, nondestructive_fold_binary_to_constant):
Likewise replace build with either build2 or build3.
From-SVN: r82083
|
|
From-SVN: r82081
|
|
2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
PR target/15301
* gcc.dg/compat/union-m128-1.h: New file.
* gcc.dg/compat/union-m128-1_main.c: Likewise.
* gcc.dg/compat/union-m128-1_x.c: Likewise.
* gcc.dg/compat/union-m128-1_y.c: Likewise.
From-SVN: r82077
|
|
with complex in them)
2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
PR target/15302
* gcc.dg/compat/struct-complex-1.h: New file.
* gcc.dg/compat/struct-complex-1_main.c: Likewise.
* gcc.dg/compat/struct-complex-1_x.c: Likewise.
* gcc.dg/compat/struct-complex-1_y.c: Likewise.
From-SVN: r82076
|
|
* unwind-dw2-fde.c (get_cie_encoding): Handle dwarf3 CIE format.
* unwind-dw2.c (extract_cie_info): Ditto.
(_Unwind_FrameState): Change retaddr_column to word type.
From-SVN: r82072
|
|
PR middle-end/3074
* fold-const.c (strip_compound_expr): Delete function.
(count_cond): Delete function.
(fold_binary_op_with_conditional_arg): Only perform transformations
"a + (b?c:d) -> b ? a+c : a+d" and "(b?c:d) + a -> b ? c+a : d+a"
when a is constant. This greatly simplifies this routine.
* tree.c (saved_expr_p): Delete function.
* tree.h (saved_expr_p): Delete function prototype.
* gcc.dg/pr3074-1.c: New test case.
* gcc.dg/sequence-pt-1.c: Remove an XFAIL.
From-SVN: r82071
|
|
2004-05-20 Andrew Pinski <pinskia@physics.uc.edu>
* common.opt (ftree-loop-optimize): Remove.
From-SVN: r82069
|
|
(NM_FOR_TARGET): Use := and $(shell).
(mainversion): Remove unused variable.
From-SVN: r82068
|
|
not -pedantic.
* io.c (format_item): Allow the number before the X format to
be optional when not -pedantic.
From-SVN: r82067
|
|
containing the insn to be deleted...
* reorg.c (delete_from_delay_slot): If we have a barrier after the
sequence containing the insn to be deleted, always reemit it.
From-SVN: r82065
|
|
functions)
PR 15454
* tree-nested.c (get_chain_decl): Create a PARM_DECL by hand.
* function.c (expand_function_start): Expand static_chain_decl by hand.
* gimplify.c (create_tmp_var_name): Export.
* tree-gimple.h (create_tmp_var_name): Declare.
* gcc.c-torture/execute/20040520-1.c: New.
From-SVN: r82064
|
|
2004-05-20 Andrew Pinski <pinskia@physics.uc.edu>
* rs6000.c (print_operand) <case 'z'>: Call
mark_decl_referenced before assemble_name.
From-SVN: r82061
|
|
(cgraph_varpool_hash_node, eq_cgraph_varpool_node)
(cgraph_varpool_node): Hash on the pointer to the decl, not
the DECL_UID. Fixes 64-bit bootstrap failure.
From-SVN: r82059
|
|
used in the second insn.
* arm.md (ite_ne_zeroextractsi, ite_ne_zeroextractsi_shifted): Ensure
we don't earlyclobber operands used in the second insn.
From-SVN: r82057
|
|
From-SVN: r82052
|
|
* Makefile.in (GTFILES): Add $(srcdir)/reload.h.
* gengtype.c (open_base_files): Include reload.h in ifiles.
* reload.h (reg_equiv_memory_loc_varray): Declare.
* reload1.c (reg_equiv_memory_loc_varray): New variable.
(init_reload): Initialize it.
(reload): Instead of freeing reg_equiv_memory_loc, 'grow'
reg_equiv_memory_loc_varray to size 0.
* ra.c (reg_alloc): Allocate reg_equiv_memory_loc by
growing reg_equiv_memory_loc_varray to the desired size.
* passes.c (rest_of_handle_old_regalloc): Likewise.
* reload.c: Amend comment on calling init_reload.
From-SVN: r82050
|
|
2005-05-20 Andrew Pinski <pinskia@physics.uc.edu>
* optimize.c (calls_setjmp_r): Remove.
(calls_setjmp_p): Remove.
* cp-tree.c (calls_setjmp_p): Remove.
* decl.c (finish_function): Do not call calls_setjmp_p.
From-SVN: r82049
|
|
the macro definition.
* config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Replace 'tramp' with 'TRAMP' in
the body of the macro definition.
From-SVN: r82048
|
|
2004-05-19 H.J. Lu <hongjiu.lu@intel.com>
PR target/15383
* config/ia64/ia64.c (ia64_expand_compare): Don't check
TARGET_HPUX for TFmode compare. Abort if op0 is in TFmode and
cmptf_libfunc isn't set.
(ia64_init_libfuncs): Rename TFmode libfuncs using the HPUX
conventions.
(ia64_sysv4_init_libfuncs): New.
* config/ia64/sysv4.h (TARGET_INIT_LIBFUNCS): New. Defined as
ia64_sysv4_init_libfuncs.
From-SVN: r82047
|
|
From-SVN: r82045
|
|
PR other/15526
* libgcc2.c (__mulvsi3): Fix overflow test.
* gcc.dg/ftrapv-1.c: New test case.
From-SVN: r82042
|
|
error: 'nan' redeclared as different kind of symbol)
2004-05-19 Andrew Pinski <pinskia@physics.uc.edu>
PR c/14171
* reg-stack.c (nan): Rename to ...
(not_a_num): Here.
(reg_to_stack): Rename nan to not_a_num.
(subst_stack_regs_pat): Likewise.
(convert_regs_entry): Likewise.
(convert_regs_1): Likewise.
From-SVN: r82040
|
|
2004-05-19 Andrew Pinski <pinskia@physics.uc.edu>
* reg-stack.c (nan): Rename to ...
(not_a_num): Here.
(reg_to_stack): Rename nan to not_a_num.
(subst_stack_regs_pat): Likewise.
(convert_regs_entry): Likewise.
(convert_regs_1): Likewise.
From-SVN: r82039
|
|
* tree-into-ssa.c (prepare_operand_for_rename): New argument is_use.
If the operand is for a use, then strip away the SSA_NAME, do not
strip away the SSA_NAME for a set. Never call release_ssa_name.
(mark_def_sites): Appropriately pass additional argument to
prepare_operand_for_rename. If a VDEF_RESULT is not an SSA_NAME,
then set the VDEF_RESULT to the VDEF_OP.
(set_def_block): Strip away any SSA_NAME to get to the real
underlying variable.
From-SVN: r82035
|
|
with tree_int_cst_equal.
2004-05-19 Andrew Pinski <pinskia@physics.uc.edu>
* tree-cfg.c (find_case_label_for_value): Replace call to
simple_cst_equal with tree_int_cst_equal.
From-SVN: r82033
|
|
edge out of COND_BLOCK reaches OTHER_BLOCK...
* tree-ssa-phiopt.c (value_replacement): Handle the case where
the desired edge out of COND_BLOCK reaches OTHER_BLOCK rather than
BB directly.
From-SVN: r82031
|
|
PR c++/15463
* loop-iv.c (iv_number_of_iterations): Use trunc_int_for_mode on
result of inverse.
PR rtl-optimization/15274
* loop-iv.c (determine_max_iter, shorten_into_mode,
iv_number_of_iterations): Handle constants correctly.
* rtl.h (get_mode_bounds): Declaration changed.
* stor-layout.c (get_mode_bounds): Return a constant suitable for
the target mode.
PR rtl-optimization/14692
* loop-unswitch.c (may_unswitch_on): Try folding the result.
(unswitch_single_loop): Work correctly when may_unswitch_on
returns a folded constant.
* loop-iv.c (implies_p): Handle A < B ==> A + 1 <= B.
* simplify-rtx.c (simplify_const_relational_operation): Optimize
comparisons with mode bounds.
* function.c (struct temp_slot): Add new field prev.
(free_after_compilation, init_temp_slots): Free new fields.
(cut_slot_from_list, insert_slot_to_list,
temp_slots_at_level, max_slot_level, move_slot_to_level,
make_slot_available): New functions.
(assign_stack_temp_for_type, combine_temp_slots,
find_temp_slot_from_address, preserve_temp_slots,
preserve_rtl_expr_result, free_temp_slots,
free_temps_for_rtl_expr, pop_temp_slots): Work with
the new structure of lists.
(mark_all_temps_used): Removed.
* function.h (struct function): Field x_temp_slots
replaced by x_used_temp_slots and x_avail_temp_slots.
(temp_slots): Replaced by ...
(used_temp_slots, avail_temp_slots): New.
* tree.h (mark_all_temps_used): Declaration removed.
* loop-iv.c (mark_single_set, get_biv_step_1, iv_analyze,
simplify_using_assignment): Take the expression out of
the expr_list wrapper.
* loop-iv.c (iv_number_of_iterations): Improve clasification of
infinite loops.
From-SVN: r82028
|
|
2004-05-19 Paolo Bonzini <bonzini@gnu.org>
* typeck.c: Remove non-printable character 160.
From-SVN: r82027
|
|
2004-05-19 Joel Brobecker <brobecker@gnat.com>
* exp_dbug.ads: Correct comments concerning handling of overloading,
since we no longer use $ anymore.
2004-05-19 Sergey Rybin <rybin@act-europe.fr>
* sem_ch10.adb (Optional_Subunit): When loading a subunit, do not
ignore errors if ASIS_Mode is set. This prevents creating ASIS trees
with illegal subunits.
2004-05-19 Ed Schonberg <schonberg@gnat.com>
* sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram
body with front-end inlining enabled, check whether an inline pragma
appears immediately after the body and applies to it.
* sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is
enabled and the pragma appears after the body of the subprogram.
From-SVN: r82026
|
|
on code size when...
* doc/tm.texi (TARGET_RTX_COSTS): Document that instruction
costs should be based on code size when optimizing for size.
From-SVN: r82025
|
|
2004-05-19 Paolo Bonzini <bonzini@gnu.org>
* fold-const.c: Remove non-printable character 160.
From-SVN: r82024
|
|
From-SVN: r82023
|
|
* doc/invoke.texi (ARM Options): Fix typo.
Remove descrption of -mshort-load-bytes and -mno-short-load-bytes.
From-SVN: r82022
|