summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2004-06-10 Vladimir Makarov <vmakarov@redhat.com>vmakarov2004-06-102-3/+14
| | | | | | | | | PR target/15653 * haifa-sched.c (schedule_block): Finish cycle after issuing asm insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82942 138bc75d-0d04-0410-961f-82ee72b054a4
* PR web/15263reichelt2004-06-102-1/+5
| | | | | | | * doc/install.texi: Remove superfluous linebreak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82940 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>bkoz2004-06-102-1/+5
| | | | | | | * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82939 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (expand_builtin): Fall back to library function call forsayle2004-06-102-13/+31
| | | | | | | | | | conj, conjf, conjl, creal, crealf, creall, cimag, cimagf and cimagl. (fold_builtin_1): Lower built-ins BUILT_IN_CONJ{,F,L} to CONJ_EXPR, BUILT_IN_CREAL{,F,L} to REALPART_EXPR, and BUILT_IN_CIMAG{,F,L} to IMAGPART_EXPR respectively. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82938 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/15875jason2004-06-109-121/+37
| | | | | | | | | | | | | | | Revert: 2004-06-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * init.c (build_offset_ref): Build SCOPE_REF with non-null TREE_TYPE for non-dependent names. * pt.c (type_dependent_expression_p): Handle SCOPE_REF with unknown_type_node as its TREE_TYPE. * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK. * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression. (dump_expr) <SCOPE_REF case>: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82933 138bc75d-0d04-0410-961f-82ee72b054a4
* * sh.c (dump_table): New argument start. Changed caller.amylaar2004-06-103-13/+137
| | | | | | | | | | | | | | (fixup_mova): New function. (find_barrier): Use it. (sh_reorg): Likewise. Check for CODE_FOR_casesi_worker_2. If the label a mova refers to is above the mova itself, change the mova into a load. * sh.md (*casesi_worker): Rename to: (casesi_worker_1). (casesi_worker_2): New insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82932 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>bkoz2004-06-102-8/+13
| | | | | | | | * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make this function return a value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82928 138bc75d-0d04-0410-961f-82ee72b054a4
* fix conflict markersjason2004-06-101-14/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82926 138bc75d-0d04-0410-961f-82ee72b054a4
* * target.h (struct gcc_target): Change gimplify_va_arg_exprjason2004-06-109-109/+108
| | | | | | | | | | | | | | | | | hook signature. * tree-gimple.h: Adjust. * config/alpha/alpha.c (alpha_gimplify_va_arg): Adjust. * config/i386/i386.c (ix86_gimplify_va_arg): Adjust. Use fold_convert. * config/ia64/ia64.c (ia64_gimplify_va_arg): Adjust. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust. Use COMPLEX_EXPR for complex numbers. Use fold_convert. * builtins.c (std_gimplify_va_arg_expr): Adjust. Use fold_convert. (gimplify_va_arg_expr): Return GS_ERROR in error case. Gimplify valist rather than calling stabilize_va_list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82925 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-10 Stephen Crowley <stephen.crowley@sbcglobal.net>fche2004-06-102-2/+7
| | | | | | | | PR libmudflap/13505 * mf-hooks2.c (semctl): Add cygwin porting hack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82923 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (df.o): Remove fibheap dependency.rakdver2004-06-104-516/+735
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * df.h: Do not include sbitmap.h. (struct ref): New field "data". (DF_REF_DATA): New accessor macro. (struct df): Field "dom" removed. (df_analyze_subcfg): New function. (transfer_function_sbitmap, transfer_function_bitmap): Replaced by ... (transfer_function): ... new type. (iterative_dataflow_sbitmap, iterative_dataflow_bitmap): Replaced by ... (iterative_dataflow): ... new function. (enum set_representation, struct dataflow): New. * df.c: Do not include fibheap.h. (df_reg_def_chain_clean, df_reg_use_chain_clean, (df_bb_table_realloc, df_analyse_subcfg, free_reg_ref_chain, prune_to_subcfg, df_bb_modify): New functions. (df_bitmaps_alloc, df_reg_def_chain_create, df_reg_use_chain_create, df_refs_update, df_reg_table_realloc, df_ref_create, df_bb_reg_def_chain_create, df_bb_reg_use_chain_create, df_bb_rd_local_compute, df_bb_ru_local_compute, df_bb_lr_local_compute, df_analyse_1, df_insn_modify): Support analysing only a part of the cfg. (dataflow_set_a_op_b, dataflow_set_copy): New functions. (df_rd_transfer_function, df_ru_transfer_function, df_lr_transfer_function): Type of bitmaps changed to void *. (hybrid_search_bitmap, hybrid_search_sbitmap): Merge into ... (hybrid_search): ... new function. (iterative_dataflow_bitmap, iterative_dataflow_sbitmap): Merge into ... (iterative_dataflow): ... new function. Avoid use of fibheaps for a worklist. Do not process basic blocks unnecessarily. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82921 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/15227mmitchel2004-06-108-4/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * parser.c (cp_parser_direct_declarator): Robustify. PR c++/15877 * pt.c (tsubst_copy): Use decl_constant_value on enumeration constants in non-dependent contexts. PR c++/14211 PR c++/15076 * typeck.c (build_static_cast): Wrap casts in NON_LVALUE_EXPR when necessary. PR c++/14211 * g++.dg/conversion/const1.C: New test. PR c++/15076 * g++.dg/conversion/reinterpret1.C: New test. PR c++/15877 * g++.dg/template/enum2.C: New test. PR c++/15227 * g++.dg/template/error13.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82917 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_abs_const): Make extern.sayle2004-06-104-12/+56
| | | | | | | | | | | | | | | * tree.h (fold_abs_const): Prototype here. * builtins.c (fold_builtin_fabs): New function to transform fabs, fabsf and fabsl builtins into ABS_EXPR tree nodes. (fold_builtin_abs): New function to transform abs, labs, llabs and imaxabs builtins into ABS_EXPR tree nodes. (expand_builtin): Fall back to a function call for abs, labs, llabs and imaxabs builtins that survive constant folding. (fold_builtin_1): Call fold_builtin_fabs for FABS, FABSF and FABSL, and fold_builtin_abs for ABS, LABS, LLABS and IMAXABS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82916 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/14957tobi2004-06-102-2/+8
| | | | | | | | * gfortran.fortran-torture/execute/intrinsic_scale.f90: Make all arguments to test_* REAL and of the right size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82915 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/15569jakub2004-06-102-0/+79
| | | | | | | | PR rtl-optimization/15681 * gcc.dg/20040609-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82908 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (uw_frame_state_for): Don't assume ajakub2004-06-102-2/+9
| | | | | | | leaf function without unwind info at RP 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82906 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/ia64/unix.S (ffi_call_unix): Insert group barrier breakjakub2004-06-102-2/+10
| | | | | | | | | fp_done. (ffi_closure_UNIX): Fix f14/f15 adjustment if FLOAT_SZ is ever changed from 8. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82904 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops.jakub2004-06-102-3/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82903 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/14791jakub2004-06-109-25/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tree.h (enum tree_index): Add TI_FILEPTR_TYPE. (fileptr_type_node): Define. * tree.c (build_common_tree_nodes_2): Initialize fileptr_type_node to ptr_type_node. * c-common.c (c_common_nodes_and_builtins): For C++, make fileptr_type_node a distinct type copy. * builtin-types.def (BT_FILEPTR, BT_FN_INT_CONST_STRING_FILEPTR, BT_FN_INT_INT_FILEPTR, BT_FN_INT_FILEPTR_CONST_STRING_VALIST_ARG, BT_FN_SIZE_CONST_PTR_SIZE_SIZE_FILEPTR, BT_FN_INT_FILEPTR_CONST_STRING_VAR): Add. (BT_FN_INT_CONST_STRING_PTR, BT_FN_INT_INT_PTR, BT_FN_SIZE_CONST_PTR_SIZE_SIZE_PTR, BT_FN_INT_PTR_CONST_STRING_VAR, BT_FN_INT_PTR_CONST_STRING_VALIST_ARG): Remove. * builtins.def (BUILT_IN_FPRINTF, BUILT_IN_FPRINTF_UNLOCKED, BUILT_IN_FPUTC, BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS, BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FSCANF, BUILT_IN_FWRITE, BUILT_IN_FWRITE_UNLOCKED, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): Use the above *FILEPTR* types instead of *PTR*. * decl.c (duplicate_decls): Handle fileptr_type_node arguments specially. * g++.dg/opt/builtins1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82902 138bc75d-0d04-0410-961f-82ee72b054a4
* * interpret.cc (run): Handle wide fload.tromey2004-06-102-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82889 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos.jakub2004-06-101-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82887 138bc75d-0d04-0410-961f-82ee72b054a4
* clean up obsolete commentjason2004-06-101-15/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82885 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc_update: Add libgfortran.aj2004-06-102-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82884 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Daniel Berlin <dberlin@dberlin.org>dberlin2004-06-102-1/+9
| | | | | | | | * tree-ssa.c (verify_ssa): Verify that vdefs/makes_aliased_stores match. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82883 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/i386-bitfield1.c: Add mingw32 and cygwin to targetsdannysmith2004-06-103-2/+8
| | | | | | | | that use default windows32 struct layout. * gcc.dg/i386-bitfield2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82878 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-06-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82874 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-06-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82873 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c (fold_not_const): New function.sayle2004-06-102-24/+40
| | | | | | | | | (fold) <ABS_EXPR>: Don't bother testing wins. (fold) <BIT_NOT_EXPR>: Call fold_not_const. (nondestructive_fold_unary_to_constant) <BIT_NOT_EXPR>: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82868 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/15228rth2004-06-092-11/+11
| | | | | | | | * function.c (assign_parms): Always set_mem_align with the computed FUNCTION_ARG_BOUNDARY. Don't clear stack_parm if !STRICT_ALIGNMENT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82867 138bc75d-0d04-0410-961f-82ee72b054a4
* PR opt/15108rth2004-06-092-5/+11
| | | | | | | | * tree-tailcall.c (find_tail_calls): Don't check early for tail_recursion failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82866 138bc75d-0d04-0410-961f-82ee72b054a4
* Move SSA_NAME annotations into tree_ssa_name.dnovillo2004-06-097-149/+153
| | | | | | | | | | | | | | | | | | * tree-dfa.c (create_ssa_name_ann): Remove. * tree-flow-inline.h (ssa_name_ann, get_ssa_name_ann): Remove. * tree-flow.h (enum tree_ann_type): Remove SSA_NAME_ANN. (struct ssa_name_ann_d): Remove. (union tree_ann_d): Update. (ssa_name_ann_t): Remove. * tree-ssa-alias.c: (get_ptr_info): New local function. Replace references to ssa_name_ann_t with struct ptr_info_def. * tree-ssa-operands.c (get_expr_operands): Likewise. * tree.h (SSA_NAME_PTR_INFO): Define. (struct ptr_info_def): Declare. (struct tree_ssa_name): Add field 'ptr_info'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82864 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/winnt.c (i386_pe_output_labelref): Correctdannysmith2004-06-092-3/+3
| | | | | | | misplaced ')'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82862 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/winnt.c (i386_pe_output_labelref); Correctdannysmith2004-06-091-0/+5
| | | | | | | misplaced ')'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82860 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/k6.md: Rewrite using the DFA model.steven2004-06-093-131/+267
| | | | | | | | | | * config/i386/i386.c (ix86_adjust_cost): Don't increase the cost of load-operation insns for the K6. (ia32_use_dfa_pipeline_interface): Add TARGET_K6. (ia32_multipass_dfa_lookahead): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82859 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c (alpha_gimplify_va_arg_1,rth2004-06-092-0/+141
| | | | | | | alpha_gimplify_va_arg, TARGET_GIMPLIFY_VA_ARG_EXPR): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82858 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Paolo Carlini <pcarlini@suse.de>paolo2004-06-096-42/+52
| | | | | | | | | | | | | | PR libstdc++/15775 * include/bits/stl_deque.h: Consistently with stl_set.h, define pointer as allocator's pointer, likewise for reference, const_pointer, and const_reference. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_vector.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82857 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/abi/bitfield3.C: Add -mno-align-double compile optiondannysmith2004-06-092-0/+6
| | | | | | | for mingw32 and cygwin targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82856 138bc75d-0d04-0410-961f-82ee72b054a4
* * expmed.c (emit_store_flag): Cope with FLOAT_STORE_FLAG_VALUE.rth2004-06-092-5/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82854 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: gcc/ChangeLoggeoffk2004-06-0918-233/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-09 Geoffrey Keating <geoffk@apple.com> * Makefile.in (CPPLIB_H): Put files in order of inclusion. (CPP_ID_DATA_H): New. (gtype-desc.o): Update dependencies. (GTFILES): Use CPP_ID_DATA_H. Index: gcc/testsuite/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/macro-4.c: New. * gcc.dg/pch/macro-4.hs: New. Index: libcpp/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * traditional.c (push_replacement_text): Set macro->traditional. (save_replacement_text): Likewise. * pch.c (cpp_write_pch_state): Don't write list of defined macros. (struct save_macro_item): Delete. (struct save_macro_data): Use a character array not the previous structured format. (save_macros): Save macro as text not as internal structures. (cpp_prepare_state): Update for changes to save_macro_data. (cpp_read_state): Don't read macros defined in PCH. Restore -D macros as text. * macro.c (create_iso_definition): Honour alloc_subobject. Clear traditional flag. (_cpp_create_definition): Honour alloc_subobject. * lex.c (cpp_token_val_index): New. * internal.h: Include cpp-id-data.h. (uchar): Move definition to cpp-id-data.h. (U): Likewise. (cpp_macro): Likewise. * directives.c (struct answer): Move to cpp-id-data.h. (do_assert): Honour alloc_subobject. Index: libcpp/include/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * symtab.h (struct ht): Add field 'alloc_subobject'. * cpplib.h (struct cpp_string): Add GTY marker. (enum cpp_token_fld_kind): New. (struct cpp_token): Add GTY markers. (cpp_token_val_index): Prototype. (CPP_HASHNODE_VALUE_IDX): New. (struct cpp_hashnode): Don't skip fields of 'value' when marking. * cpp-id-data.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82851 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Toon Moene <toon@moene.indiv.nluug.nl>toon2004-06-092-3/+10
| | | | | | | | | * trans-expr.c (gfc_conv_cst_int_power): Compute x**(-n) by converting it to (1/x)**n instead of 1/x**n. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82850 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Frank Ch. Eigler <fche@redhat.com>fche2004-06-098-3/+213
| | | | | | | | | | | | | | | ctype support. * configure.in: Look for ctype header and glibc implementation. * mf-hooks2.c (__ctype_{b,toupper,tolower}_loc): Sample ctype array hooks for glibc 2.3. * mf-runtime.h.in: Wrap them. * mf-runtime.c (__mf_init): Leave marker regarding other ctype implementations. * testsuite/libmudflap.c/pass47-frag.c: New test. * configure, config.h.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82848 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert:mmitchel2004-06-094-12/+16
| | | | | | | | | | | | | | | | PR c++/15815 2004-06-07 Mark Mitchell <mark@codesourcery.com> * doc/extend.texi: Deprecate #pragma interface and #pragma implementation. Revert: PR c++/15815 2004-06-07 Mark Mitchell <mark@codesourcery.com> * lex.c (handle_pragma_interface): Deprecate. (handle_pragma_implementation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82847 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 David S. Miller <davem@nuts.davemloft.net>davem2004-06-092-0/+9
| | | | | | | * config/sparc/sparc.h (MOVE_RATIO): New definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82844 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-092-4/+6
| | | | | | | | * g++spec.c (lang_specific_driver): Remove check for -lm and -lmath when check it see if it was the math library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82843 138bc75d-0d04-0410-961f-82ee72b054a4
* * basic-block.h (struct edge_def): Add goto_locus.rth2004-06-094-8/+32
| | | | | | | | | * tree-cfg.c (make_goto_expr_edges): Set it. (disband_implicit_edges): Use it. * tree-pretty-print.c (dump_implicit_edges): Print it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82842 138bc75d-0d04-0410-961f-82ee72b054a4
* * h8300.md (ldm_h8300s_4): Fix condition for expander.law2004-06-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82841 138bc75d-0d04-0410-961f-82ee72b054a4
* Gimplify VA_ARG_EXPR into simpler forms.jason2004-06-0913-60/+869
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * target.h: Add gimplify_va_arg_expr hook. * target-def.h: Add TARGET_GIMPLIFY_VA_ARG_EXPR. * fold-const.c (build_fold_addr_expr) (build_fold_addr_expr_with_type): Move from gimplify.c. * tree.h: Declare them. * gimplify.c (gimplify_and_add): New fn. (build_addr_expr, build_addr_expr_with_type): Move to fold-const.c. (gimplify_array_ref_to_plus, gimplify_modify_expr) (gimplify_expr): Use build_fold_*. (copy_if_shared_r): Only mark VA_ARG_EXPR volatile if we don't know how to gimplify it. * builtins.c (std_gimplify_va_arg_expr): New fn. (dummy_object): New static fn. (gimplify_va_arg_expr): New fn. (stabilize_va_list): Use build_fold_*. * tree-gimple.h: Declare new fns. * config/i386/i386.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. (ix86_gimplify_va_arg): New fn. * config/i386/ia64.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. (ia64_gimplify_va_arg): New fn. * config/i386/rs6000.c (rs6000_gimplify_va_arg): New fn. (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. * config/i386/sparc.c (sparc_gimplify_va_arg): New fn. * alias.c (get_varargs_alias_set): Just return 0 for now. * c-objc-common.c (c_tree_printer): Improve handling of %T. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82838 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-06-098-9/+20
| | | | | | | | | | | | | | * tree-complex.c (expand_complex_comparison): Use fold_convert instead of convert. * tree-inline.c (setup_one_parameter): Likewise. * tree-sra.c (csc_build_component_ref): Likewise. * tree-ssa-ccp.c (ccp_fold): Likewise. * tree-ssa-copy.c (cprop_operand): Likewise. * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82837 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/13249tobi2004-06-092-0/+15
| | | | | | | * gfortran.fortran-torture/compile/name_clash.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82836 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2004-06-095-2/+42
| | | | | | | | | | | | | | | PR fortran/13372 * module.c (write_symbol, write_symtree): Don't write symbols wrongly added to namespace. * trans-decl.c (gfc_create_module_variable): Don't create a backend decl for a symbol incorrectly added to namespace. testsuite/ PR fortran/13372 * gfortran.fortran-torture/compile/named_args_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82834 138bc75d-0d04-0410-961f-82ee72b054a4