Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r101313
|
|
From-SVN: r101312
|
|
2005-06-25 Kelley Cook <kcook@gcc.gnu.org>
* gengtype.c: Update FSF address in copyright header.
(create_file): Update FSF in outputed copyright header.
From-SVN: r101311
|
|
From-SVN: r101310
|
|
From-SVN: r101309
|
|
[[Split portion of a mixed commit.]]
From-SVN: r101307.2
|
|
2005-06-24 Jerry DeLisle <jvdelisle@verizon.net>
PR fortran/21915
* gfortran.h: Add symbols for new intrinsics
* intrinsic.c: Add acosh, asinh, and atanh
* intrinsic.h: Add prototypes
* iresolve.c (gfc_resolve_acosh): New function
(gfc_resolve_asinh): New
(gfc_resolve_atanh): New
* mathbuiltins.def: Add defines
* simplify.c (gfc_simplify_acosh): New function
(gfc_simplify_asinh): New
(gfc_simplify_atanh): New
From-SVN: r101304
|
|
falls off end.
gcc/java/:
* verify-impl.c (verify_instructions_0): Correctly handle
situation where PC falls off end.
libjava/:
* verify.cc (verify_instructions_0): Correctly handle situation
where PC falls off end.
From-SVN: r101299
|
|
* cfglayout.c (block_locators_locs, line_locators_locs,
line_locators_lines, file_locators_locs): Change the type to
VEC(int,heap)*.
(insn_locators_initialize, change_scope, insn_scope,
locator_line, insn_line, locator_file): Use VEC instead of
VARRAY.
From-SVN: r101297
|
|
than just RETURN_EXPRs.
* tree-nrv.c (tree_nrv): Fix to check assignments to the
RESULT_DECL rather than just RETURN_EXPRs.
(finalize_nrv_r): Adjust.
From-SVN: r101296
|
|
all_ipa_passes.
* tree-optimize.c (init_tree_optimization_passes): Fix flags of
all_passes and all_ipa_passes.
* c-common.c: Include cgraph.h
(handle_externally_visible_attribute): New function.
(c_common_att): Add "externally_visible" attribute.
* cgraph.c (decide_is_variable_needed): Obey externally
visible flag.
(cgraph_varpool_finalize_decl): Avoid redundant checking.
* cgraph.h (struct cgraph_node): New flag externally_visible.
(decide_is_function_needed): Obey externally visible flag.
(cgraph_finalize_function): Avoid redundant checks.
(cgraph_function_and_variable_visibility): Bring symbols local
when asked for.
* common.opt (fwhole-program): New flag.
* doc/invoke.texi (-fwhole-program): Document.
From-SVN: r101295
|
|
From-SVN: r101294
|
|
linux/drivers/serial/8250.c)
PR 22171
* tree-ssa-operands (get_expr_operands): Check s_ann for NULL
before use.
From-SVN: r101293
|
|
linux/drivers/serial/8250.c)
PR 22171
* tree-ssa-operands.c (get_expr_operands): Check s_ann for NULL
before use.
PR 22171
* gcc.dg/tree-ssa/pr22171.c: New test.
From-SVN: r101292
|
|
optimized away)
PR 22000
* tree-ssa-operands.c (get_expr_operands): Check the volatility of
the FIELD_DECL and set s_ann->has_volatile_ops accordingly.
From-SVN: r101289
|
|
2005-06-24 Feng Wang <fengwang@nudt.edu.cn>
* simplify.c (gfc_simplify_modulo): Don't clear before get result.
2005-06-24 Feng Wang <fengwang@nudt.edu.cn>
* gfortran.dg/simplify_modulo.f90: New.
From-SVN: r101288
|
|
From-SVN: r101287
|
|
[gcc/testsuite/ChangeLog]
2005-06-23 Ziemowit Laski <zlaski@apple.com>
* obj-c++.dg/proto-lossage-[1-4].mm: New.
From-SVN: r101284
|
|
[gcc/testsuite/ChangeLog]
2005-06-23 Ziemowit Laski <zlaski@apple.com>
* obj-c++.dg/typedef-alias-1.mm: New.
* objc.dg/typedef-alias-1.m: New.
From-SVN: r101281
|
|
[[Split portion of a mixed commit.]]
From-SVN: r101279.2
|
|
just before VRP.
* tree-optimize.c (init_tree_optimization_passes): Move
copy prop pass to run just before VRP.
* tree-vrp.c (remove_range_assertions): Remove copies created
by ASSERT_EXPR removal.
* gcc.dg/tree-ssa/vrp16.c: New test.
From-SVN: r101277
|
|
available.
* intrinsics/c99_functions.c (log10l): New log10l function for
systems where this is not available.
* c99_protos.h: Prototype for log10l function.
* libgfortran.h: Use generated kinds.h to define GFC_INTEGER_*,
GFC_UINTEGER_*, GFC_LOGICAL_*, GFC_REAL_*, GFC_COMPLEX_*. Update
prototypes for gfc_itoa and xtoa.
* io/io.h: Update prototypes for set_integer and max_value.
* io/list_read.c (convert_integer): Use new
GFC_(INTEGER|REAL)_LARGEST type.
* io/read.c (set_integer): Likewise.
(max_value): Likewise.
(convert_real): Likewise.
(real_l): Likewise.
(next_char): Likewise.
(read_decimal): Likewise.
(read_radix): Likewise.
(read_f): Likewise.
* io/write.c (extract_int): Use new GFC_INTEGER_LARGEST type.
(extract_real): Use new GFC_REAL_LARGEST type.
(calculate_exp): Likewise.
(calculate_G_format): Likewise.
(output_float): Likewise. Use log10l for long double values.
Add comment for sprintf format. Use GFC_REAL_LARGEST_FORMAT.
(write_l): Use new GFC_INTEGER_LARGEST type.
(write_float): Use new GFC_REAL_LARGEST type.
(write_int): Remove useless special case for (len < 8).
(write_decimal): Use GFC_INTEGER_LARGEST.
(otoa): Use GFC_UINTEGER_LARGEST as argument.
(btoa): Use GFC_UINTEGER_LARGEST as argument.
* runtime/error.c (gfc_itoa): Use GFC_INTEGER_LARGEST as
argument.
(xtoa): Use GFC_UINTEGER_LARGEST as argument.
* Makefile.am: Use mk-kinds-h.sh to generate header kinds.h
with all Fortran kinds available.
* configure.ac: Check for strtold and log10l.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* mk-kinds-h.sh: Configuration script for available integer
and real kinds.
* lib/target-supports.exp: Add
check_effective_target_fortran_large_real and
check_effective_target_fortran_large_int to check for
corresponding effective targets.
* gfortran.dg/large_integer_kind_1.f90: New test.
* gfortran.dg/large_real_kind_1.f90: New test.
From-SVN: r101274
|
|
nonnull.)
gcc/
PR tree-optimization/22117
* tree-vrp.c (extract_range_from_binary_expr): Compute a
correct range when adding two pointers.
testsuite/
PR tree-optimization/22117
* gcc.dg/tree-ssa/pr22117.c: New.
From-SVN: r101272
|
|
2005-06-23 James A. Morrison <phython@gcc.gnu.org>
PR testsuite/22123
* gcc.dg/fold-mod-1.c: Accept fffffff8 as well.
From-SVN: r101271
|
|
PR java/20697
* parse.y (find_most_specific_methods_list): Remove special case for
inner classes.
From-SVN: r101270
|
|
PR c++/19317
Leave the return slot target in the MODIFY_EXPR rather than making
it an argument, but only use it if the CALL_EXPR has a flag set.
* tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): Rename to
CALL_EXPR_RETURN_SLOT_OPT.
* calls.c (expand_call): Adjust.
* tree-inline.c (expand_call_inline): Adjust.
* tree-pretty-print.c (dump_generic_node): Adjust.
And set the flag as appropriate.
* gimplify.c (gimplify_modify_expr_rhs): Set
CALL_EXPR_HAS_RETURN_SLOT_ADDR where the LHS is obviously safe.
* tree-nrv.c (execute_return_slot_opt): Set
CALL_EXPR_HAS_RETURN_SLOT_ADDR based on escape analysis.
* tree-pass.h: Declare pass_return_slot.
* tree-optimize.c (init_tree_optimization_passes): Add it.
* cp/semantics.c (simplify_aggr_init_expr): Use
CALL_EXPR_RETURN_SLOT_OPT, not CALL_EXPR_HAS_RETURN_SLOT_ADDR.
From-SVN: r101269
|
|
PR target/21760
* config/rs6000/rs6000.h (PPC405_ERRATUM77): New.
* config/rs6000/rs6000.md: Move atomic instructions to ...
* config/rs6000/sync.md: Here.
Change sync_compare_and_swap<mode> to define_expand. All stwcx
patterns test PPC405_ERRATUM77.
From-SVN: r101268
|
|
From-SVN: r101267
|
|
From-SVN: r101266
|
|
From-SVN: r101265
|
|
2005-06-23 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/f2c_4.f90: Add tests for complex functions
* gfortran.dg/f2c_4.c: Likewise
From-SVN: r101262
|
|
2005-06-23 David Billinghurst <David.Billinghurst@riotinto.com>
* gfortran.dg/f2c_4.f90: Add tests for complex functions
* gfortran.dg/f2c_4.c: Likewise
From-SVN: r101261
|
|
From-SVN: r101260
|
|
[[Split portion of a mixed commit.]]
From-SVN: r101257.2
|
|
From-SVN: r101253
|
|
gfc_trans_auto_array_allocation, at fortran/trans-array.c:3036)
2005-06-22 Paul Brook <paul@codesourcery.com>
PR fortran/21034
* symbol.c (gfc_is_var_automatic): New function.
(save_symbol): Use it.
testsuite/
* gfortran.dg/auto_save_1.f90: New test.
From-SVN: r101250
|
|
* gcc.target/x86-64/abi: New directory.
* gcc.target/x86-64/abi/abi-x86_64.exp: New testsuite.
* gcc.target/x86-64/abi/README.gcc: New file.
* gcc.target/x86-64/abi/{args.h,defines.h,macros.h}: New headers.
* gcc.target/x86-64/abi/asm-support.s: New file.
* gcc.target/x86_64/abi/test_3_element_struct_and_unions.c: New test.
* gcc.target/x86_64/abi/test_basic_alignment.c: New test.
* gcc.target/x86_64/abi/test_basic_array_size_and_align.c: New test.
* gcc.target/x86_64/abi/test_basic_returning.c: New test.
* gcc.target/x86_64/abi/test_basic_sizes.c: New test.
* gcc.target/x86_64/abi/test_basic_struct_size_and_align.c: New test.
* gcc.target/x86_64/abi/test_basic_union_size_and_align.c: New test.
* gcc.target/x86_64/abi/test_bitfields.c: New test.
* gcc.target/x86_64/abi/test_complex_returning.c: New test.
* gcc.target/x86_64/abi/test_passing_floats.c: New test.
* gcc.target/x86_64/abi/test_passing_integers.c: New test.
* gcc.target/x86_64/abi/test_passing_structs_and_unions.c: New test.
* gcc.target/x86_64/abi/test_passing_structs.c: New test.
* gcc.target/x86_64/abi/test_passing_unions.c: New test.
* gcc.target/x86_64/abi/test_struct_returning.c: New test.
* gcc.target/x86_64/abi/test_varargs.c: New test.
From-SVN: r101249
|
|
x86_64 and PPC)
2005-06-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
PR middle-end/20593
* varasm.c (compute_reloc_for_constant): Treat VIEW_CONVER_EXPR
the same as the other cast operands.
(output_addressed_constants): Likewise.
From-SVN: r101248
|
|
[[Split portion of a mixed commit.]]
From-SVN: r101242.2
|
|
* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: Pass -mmmx for
32-bit i?86 and x86_64.
From-SVN: r101240
|
|
[gcc/testsuite/ChangeLog]
2005-06-21 Ziemowit Laski <zlaski@apple.com>
* obj-c++.dg/const-str-[1-9].mm: New tests.
From-SVN: r101237
|
|
From-SVN: r101235
|
|
From-SVN: r101234
|
|
Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r101233
|
|
* tree-vrp.c (extract_range_from_unary_expr): Handle type
conversions better.
* gcc.dg/tree-ssa/vrp15.c: New test.
From-SVN: r101232
|
|
* genopinit.c (vec_shl_optab, vec_shr_optab): Initialize new optabs.
(reduc_plus_optab): Removed. Replcaed with...
(reduc_splus_optab, reduc_uplus_optab): Initialize new optabs.
* optabs.c (optab_for_tree_code): Return reduc_splus_optab or
reduc_uplus_optab instead of reduc_plus_optab.
(expand_vec_shift_expr): New function.
(init_optabs): Initialize new optabs. Remove initialization of
reduc_plus_optab.
(optab_for_tree_code): Return vec_shl_optab/vec_shr_optab
for VEC_LSHIFT_EXPR/VEC_RSHIFT_EXPR.
* optabs.h (OTI_reduc_plus): Removed. Replaced with...
(OTI_reduc_splus, OTI_reduc_uplus): New.
(reduc_plus_optab): Removed. Replcaed with...
(reduc_splus_optab, reduc_uplus_optab): New optabs.
(vec_shl_optab, vec_shr_optab): New optabs.
(expand_vec_shift_expr): New function declaration.
* tree.def (VEC_LSHIFT_EXPR, VEC_RSHIFT_EXPR): New tree-codes.
* tree-inline.c (estimate_num_insns_1): Handle new tree-codes.
* expr.c (expand_expr_real_1): Handle new tree-codes.
* tree-pretty-print.c (dump_generic_node, op_symbol, op_prio): Likewise.
* tree-vect-generic.c (expand_vector_operations_1): Add assert.
* tree-vect-transform.c (vect_create_epilog_for_reduction): Add two
alternatives for generating reduction epilog code.
(vectorizable_reduction): Don't fail of direct reduction support is
not available.
(vectorizable_target_reduction_pattern): Likewise.
* config/rs6000/altivec.md (reduc_smax_v4si, reduc_smax_v4sf,
reduc_umax_v4si, reduc_smin_v4si, reduc_smin_v4sf, reduc_umin_v4si,
reduc_plus_v4si, reduc_plus_v4sf): Removed.
(vec_shl_<mode>, vec_shr_<mode>, altivec_vsumsws_nomode,
reduc_splus_<mode>, reduc_uplus_v16qi): New.
From-SVN: r101231
|
|
2005-06-21 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/func_derived_2.f90, gfortran.dg/func_derived_3.f90:
New tests.
From-SVN: r101230
|
|
2005-06-20 Daniel Berlin <dberlin@dberlin.org>
* c-typeck.c (build_function_call): Set fundecl = function again.
* tree-ssa-alias.c (find_used_portions): Address taking causes the
entire variable to be used.
* tree-ssa-structalias.c (do_structure_copy): Fix handling of
unknown size variables, and structure copies from addressof
operations. Simplify how we do *a = *b type structure copies.
(init_base_vars): Add ANYTHING = &ANYTHING constraint the right
way. READONLY's address is not taken by default.
INTEGER dereference should point to anything.
(create_variable_info_for): It's okay for the first field to not start
at 0.
From-SVN: r101227
|
|
From-SVN: r101225
|
|
[[Split portion of a mixed commit.]]
From-SVN: r101222.2
|