summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * defaults.h (FRAME_GROWS_DOWNWARD): Define to 0 if not defined.jakub2005-06-2634-100/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * function.c (get_func_frame_size): Use if (FRAME_GROWS_DOWNWARD) instead of preprocessor conditionals. (assign_stack_local_1, assign_stack_temp_for_type): Likewise. * cfgexpand.c (FRAME_GROWS_DOWNWARD): Don't redefine to 1 or 0 depending on if it was or was not defined previously. * doc/rtl.texi (VIRTUAL_STACK_VARS_REGNUM): Mention that only non-zero definition of FRAME_GROWS_DOWNWARD means frame grows downward. * doc/tm.texi (FRAME_GROWS_DOWNWARD): Likewise. * config/m68hc11/m68hc11.h (FRAME_GROWS_DOWNWARD): Define to 0. Update comment. * config/pa/pa.h (FRAME_GROWS_DOWNWARD): Likewise. * config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Likewise. * config/stormy16/stormy16.h (FRAME_GROWS_DOWNWARD): Define to 0. * config/c4x/c4x.h (FRAME_GROWS_DOWNWARD): Likewise. * config/sh/sh.h (FRAME_GROWS_DOWNWARD): Likewise. * config/ia64/ia64.h (FRAME_GROWS_DOWNWARD): Likewise. * config/iq2000/iq2000.h (FRAME_GROWS_DOWNWARD): Likewise. * config/pdp11/pdp11.h (FRAME_GROWS_DOWNWARD): Define to 1. Update comment. * config/i860/i860.h (FRAME_GROWS_DOWNWARD): Likewise. * config/h8300/h8300.h (FRAME_GROWS_DOWNWARD): Likewise. * config/arc/arc.h (FRAME_GROWS_DOWNWARD): Likewise. * config/vax/vax.h (FRAME_GROWS_DOWNWARD): Likewise. * config/sparc/sparc.h (FRAME_GROWS_DOWNWARD): Likewise. * config/i386/i386.h (FRAME_GROWS_DOWNWARD): Likewise. * config/fr30/fr30.h (FRAME_GROWS_DOWNWARD): Likewise. * config/frv/frv.h (FRAME_GROWS_DOWNWARD): Likewise. * config/mn10300/mn10300.h (FRAME_GROWS_DOWNWARD): Likewise. * config/bfin/bfin.h (FRAME_GROWS_DOWNWARD): Likewise. * config/ns32k/ns32k.h (FRAME_GROWS_DOWNWARD): Likewise. * config/v850/v850.h (FRAME_GROWS_DOWNWARD): Likewise. * config/alpha/alpha.h (FRAME_GROWS_DOWNWARD): Update comment. * config/s390/s390.h (FRAME_GROWS_DOWNWARD): Likewise. * config/arm/arm.h (FRAME_GROWS_DOWNWARD): Likewise. * config/alpha/unicosmk.h (FRAME_GROWS_DOWNWARD): Define to 1. * config/cris/cris.h (FRAME_GROWS_DOWNWARD): Likewise. * config/m68k/m68k.h (FRAME_GROWS_DOWNWARD): Likewise. * config/mmix/mmix.h (FRAME_GROWS_DOWNWARD): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101329 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kazu2005-06-264-1/+104
| | | | | | | | | | | | | | PR tree-optimization/22026 * tree-vrp.c (extract_range_from_binary_expr): Drop to VR_VARYING if a binary expression involving VR_ANTI_RANGE is PLUS_EXPR, MINUS_EXPR, or unsigned MULT_EXPR. testsuite/ PR tree-optimization/22026 * gcc.dg/tree-ssa/pr22026.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101328 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (OBJS-common): Remove duplicate object filekazu2005-06-262-2/+6
| | | | | | | names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101327 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-06-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101325 138bc75d-0d04-0410-961f-82ee72b054a4
* Move misplaced ChangeLog entry.jakub2005-06-252-12/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101323 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-phiopt.c (replace_phi_edge_with_variable): Update profile.hubicka2005-06-253-1/+8
| | | | | | | * cfg.c (update_bb_profile_for_threading): Fix rescaling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101322 138bc75d-0d04-0410-961f-82ee72b054a4
* * passes.c (rest_of_handle_branch_prob): Do not rebuild profiling infohubicka2005-06-253-6/+16
| | | | | | | | | | when not neecesary (rest_of_compilation): Fix conditional on branch prob pass. * predict.c (tree_estimate_probability): Enable strip_builtin_expect when not loop optimizing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101321 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/bfin/bfin.md (ror_one, rol_one, ashrdi3, ashldi3, lshrdi3):bernds2005-06-252-11/+106
| | | | | | | | | | New patterns. (movbi): Add alternative to set CC to zero. (compare_eq, compare_ne, compare_le, compare_lt, compare_leu, compare_ltu): Now named patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101320 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (define_builtin): Accept new flags parameter.hubicka2005-06-252-19/+43
| | | | | | | (initialize_builtins): Mark the builtins const and nothrow accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101319 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-25 Thomas Koenig <Thomas.Koenig@online.de>tkoenig2005-06-252-0/+23
| | | | | | | | | | | | | | | | | | | | | | PR libfortran/22144 * m4/cshift1.m4: Remove const from argument ret. Populate return array descriptor if ret->data is NULL. * m4/eoshift1.m4: Likewise. * m4/eoshift3.m4: Likewise. * generated/cshift1_4.c: Regenerated. * generated/cshift1_8.c: Regenerated. * generated/eoshift1_4.c: Regenerated. * generated/eoshift1_8.c: Regenerated. * generated/eoshift3_4.c: Regenerated. * generated/eoshift3_8.c: Regenerated. 2005-06-25 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/21144 * gfortran.dg/shift-alloc.f90: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101318 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-25452-880/+884
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101317 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-25111-137/+141
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101316 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF addresskcook2005-06-252-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101315 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-25714-1426/+1428
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101314 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-255-10/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101313 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-2556-110/+118
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101312 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-25 Kelley Cook <kcook@gcc.gnu.org>kcook2005-06-252-4/+9
| | | | | | | | * gengtype.c: Update FSF address in copyright header. (create_file): Update FSF in outputed copyright header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101311 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-2554-108/+112
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101310 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-2568-130/+142
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101309 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-06-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101307 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-24 Jerry DeLisle <jvdelisle@verizon.net>jvdelisle2005-06-247-3/+141
| | | | | | | | | | | | | | | | | 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101304 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java/:tromey2005-06-242-4/+11
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101299 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfglayout.c (block_locators_locs, line_locators_locs,kazu2005-06-242-19/+31
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101297 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-nrv.c (tree_nrv): Fix to check assignments to thejason2005-06-244-45/+115
| | | | | | | | RESULT_DECL rather than just RETURN_EXPRs. (finalize_nrv_r): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101296 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-optimize.c (init_tree_optimization_passes): Fix flags ofhubicka2005-06-2411-8/+156
| | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101295 138bc75d-0d04-0410-961f-82ee72b054a4
* tweak commentjason2005-06-241-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101294 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 22171mmitchel2005-06-241-1/+1
| | | | | | | | * tree-ssa-operands (get_expr_operands): Check s_ann for NULL before use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101293 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 22171mmitchel2005-06-243-0/+39
| | | | | | | | | | | * tree-ssa-operands.c (get_expr_operands): Check s_ann for NULL before use. PR 22171 * gcc.dg/tree-ssa/pr22171.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101292 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 22000mmitchel2005-06-242-1/+11
| | | | | | | | * tree-ssa-operands.c (get_expr_operands): Check the volatility of the FIELD_DECL and set s_ann->has_volatile_ops accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101289 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-24 Feng Wang <fengwang@nudt.edu.cn>fengwang2005-06-244-3/+15
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101288 138bc75d-0d04-0410-961f-82ee72b054a4
* * opts.c (decode_options): Enable unit-at-a-time by default at -O1.hubicka2005-06-244-2/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101287 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc/testsuite/ChangeLog]zlaski2005-06-245-0/+145
| | | | | | | | | 2005-06-23 Ziemowit Laski <zlaski@apple.com> * obj-c++.dg/proto-lossage-[1-4].mm: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101284 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc/testsuite/ChangeLog]zlaski2005-06-243-0/+37
| | | | | | | | | | 2005-06-23 Ziemowit Laski <zlaski@apple.com> * obj-c++.dg/typedef-alias-1.mm: New. * objc.dg/typedef-alias-1.m: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101281 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-06-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101279 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-optimize.c (init_tree_optimization_passes): Movelaw2005-06-235-4/+65
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101277 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/c99_functions.c (log10l): New log10l function forfxcoudert2005-06-234-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101274 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kazu2005-06-234-1/+42
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101272 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-23 James A. Morrison <phython@gcc.gnu.org>phython2005-06-232-1/+6
| | | | | | | | PR testsuite/22123 * gcc.dg/fold-mod-1.c: Accept fffffff8 as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101271 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/20697bryce2005-06-232-6/+8
| | | | | | | | * parse.y (find_most_specific_methods_list): Remove special case for inner classes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101270 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/19317jason2005-06-2312-46/+198
| | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101269 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/21760dje2005-06-234-447/+510
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101268 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/rs6000-fpint-2.c: Only compile on Darwin and Linux.dje2005-06-232-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101267 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-inline.c (copy_body_r): Remap labels correctly.hubicka2005-06-231-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101266 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-inline.c (copy_body_r): Remap labels correctly.hubicka2005-06-231-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101265 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-23 David Billinghurst <David.Billinghurst@riotinto.com>billingd2005-06-231-0/+5
| | | | | | | | * gfortran.dg/f2c_4.f90: Add tests for complex functions * gfortran.dg/f2c_4.c: Likewise git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101262 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-23 David Billinghurst <David.Billinghurst@riotinto.com>billingd2005-06-232-2/+116
| | | | | | | | * gfortran.dg/f2c_4.f90: Add tests for complex functions * gfortran.dg/f2c_4.c: Likewise git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101261 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/sysv4.h (TARGET_ASM_EXCEPTION_SECTION): Delete.amodra2005-06-232-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101260 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-06-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101257 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (register_specialization): Remove superfluous assertion.reichelt2005-06-222-5/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101253 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-22 Paul Brook <paul@codesourcery.com>pbrook2005-06-224-1/+51
| | | | | | | | | | | PR fortran/21034 * symbol.c (gfc_is_var_automatic): New function. (save_symbol): Use it. testsuite/ * gfortran.dg/auto_save_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101250 138bc75d-0d04-0410-961f-82ee72b054a4