aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-06-25Update FSF address.R. Kelley Cook5-10/+10
From-SVN: r101313
2005-06-25Update FSF address.Kelley Cook56-110/+118
From-SVN: r101312
2005-06-25gengtype.c: Update FSF address in copyright header.Kelley Cook2-4/+9
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
2005-06-25Update FSF address.Kelley Cook54-108/+112
From-SVN: r101310
2005-06-25Update FSF address.Kelley Cook68-130/+142
From-SVN: r101309
2005-06-25Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r101307.2
2005-06-24re PR fortran/21915 ([4.0 only] Would like atanh etc. as intrinsics)Jerry DeLisle7-3/+141
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
2005-06-24verify-impl.c (verify_instructions_0): Correctly handle situation where PC ↵Tom Tromey2-4/+11
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
2005-06-24cfglayout.c (block_locators_locs, [...]): Change the type to VEC(int,heap)*.Kazu Hirata2-19/+31
* 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
2005-06-24tree-nrv.c (tree_nrv): Fix to check assignments to the RESULT_DECL rather ↵Jason Merrill4-45/+115
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
2005-06-24tree-optimize.c (init_tree_optimization_passes): Fix flags of all_passes and ↵Jan Hubicka11-8/+156
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
2005-06-24tweak commentJason Merrill1-2/+2
From-SVN: r101294
2005-06-24re PR tree-optimization/22171 (gcc-4.0-20050623 internal compiler error in ↵Mark Mitchell1-1/+1
linux/drivers/serial/8250.c) PR 22171 * tree-ssa-operands (get_expr_operands): Check s_ann for NULL before use. From-SVN: r101293
2005-06-24re PR tree-optimization/22171 (gcc-4.0-20050623 internal compiler error in ↵Mark Mitchell3-0/+39
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
2005-06-24re PR tree-optimization/22000 (Read from volatile member of struct is ↵Mark Mitchell2-1/+11
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-24simplify.c (gfc_simplify_modulo): Don't clear before get result.Feng Wang4-3/+15
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
2005-06-24* opts.c (decode_options): Enable unit-at-a-time by default at -O1.Jan Hubicka4-2/+10
From-SVN: r101287
2005-06-24proto-lossage-[1-4].mm: New.Ziemowit Laski5-0/+145
[gcc/testsuite/ChangeLog] 2005-06-23 Ziemowit Laski <zlaski@apple.com> * obj-c++.dg/proto-lossage-[1-4].mm: New. From-SVN: r101284
2005-06-24typedef-alias-1.mm: New.Ziemowit Laski3-0/+37
[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
2005-06-24Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r101279.2
2005-06-23tree-optimize.c (init_tree_optimization_passes): Move copy prop pass to run ↵Jeff Law5-4/+65
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
2005-06-23c99_functions.c (log10l): New log10l function for systems where this is not ↵Francois-Xavier Coudert4-0/+200
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
2005-06-23re PR tree-optimization/22117 (VRP thinks <ptr type> + <ptr type> is always ↵Kazu Hirata4-1/+42
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-23re PR testsuite/22123 (gcc.dg/fold-mod-1.c scan-tree-dump a % 4294967288 fails)James A. Morrison2-1/+6
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
2005-06-23re PR java/20697 (Invalid Can't find method error on call to super)Bryce McKinlay2-6/+8
PR java/20697 * parse.y (find_most_specific_methods_list): Remove special case for inner classes. From-SVN: r101270
2005-06-23re PR c++/19317 (removing a temporary return value when we cannot)Jason Merrill12-46/+198
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
2005-06-23re PR target/21760 (Powerpc atomic builtins missing PPC405 errata)David Edelsohn4-447/+510
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
2005-06-23* gcc.dg/rs6000-fpint-2.c: Only compile on Darwin and Linux.David Edelsohn2-1/+5
From-SVN: r101267
2005-06-23* tree-inline.c (copy_body_r): Remap labels correctly.Jan Hubicka1-2/+4
From-SVN: r101266
2005-06-23* tree-inline.c (copy_body_r): Remap labels correctly.Jan Hubicka1-0/+4
From-SVN: r101265
2005-06-23f2c_4.f90: Add tests for complex functionsDavid Billinghurst1-0/+5
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-23f2c_4.f90: Add tests for complex functionsDavid Billinghurst2-2/+116
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
2005-06-23* config/rs6000/sysv4.h (TARGET_ASM_EXCEPTION_SECTION): Delete.Alan Modra2-2/+4
From-SVN: r101260
2005-06-23Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r101257.2
2005-06-22* pt.c (register_specialization): Remove superfluous assertion.Volker Reichelt2-5/+4
From-SVN: r101253
2005-06-22re PR fortran/21034 ([4.0 only] internal compiler error: in ↵Paul Brook4-1/+51
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
2005-06-22abi: New directory.Michael Matz23-0/+2911
* 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
2005-06-22re PR middle-end/20593 (Simple array of string access miscompiled on x86 and ↵Richard Kenner2-0/+9
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
2005-06-22Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r101242.2
2005-06-22mangle24.C, mangle25.C: Pass -mmmx for 32-bit i?86 and x86_64.Joseph Myers3-0/+9
* g++.dg/abi/mangle24.C, g++.dg/abi/mangle25.C: Pass -mmmx for 32-bit i?86 and x86_64. From-SVN: r101240
2005-06-21const-str-[1-9].mm: New tests.Ziemowit Laski10-0/+274
[gcc/testsuite/ChangeLog] 2005-06-21 Ziemowit Laski <zlaski@apple.com> * obj-c++.dg/const-str-[1-9].mm: New tests. From-SVN: r101237
2005-06-21* nl.po: Update.Joseph Myers2-3430/+1921
From-SVN: r101235
2005-06-21namelist_use_2.msgPaul Thomas3-0/+70
From-SVN: r101234
2005-06-21namelist_use_1.msgTobias Schlüter2-0/+60
Co-Authored-By: Paul Thomas <pault@gcc.gnu.org> From-SVN: r101233
2005-06-21tree-vrp.c (extract_range_from_unary_expr): Handle type conversions better.Jeff Law4-0/+72
* tree-vrp.c (extract_range_from_unary_expr): Handle type conversions better. * gcc.dg/tree-ssa/vrp15.c: New test. From-SVN: r101232
2005-06-21genopinit.c (vec_shl_optab, [...]): Initialize new optabs.Dorit Nuzman25-215/+882
* 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-21func_derived_2.f90, [...]: New tests.Tobias Schlüter3-1/+174
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-21c-typeck.c (build_function_call): Set fundecl = function again.Daniel Berlin5-18/+121
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
2005-06-21config/sh/linux.h (FUNCTION_PROFILER): Constify a char*.Kaz Kojima2-1/+5
From-SVN: r101225
2005-06-21Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r101222.2