aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-09-20* 5tsystem.ads: Removed, no longer used.Arnaud Charlet2-236/+4
From-SVN: r87751
2004-09-20vect-13.c: Added xfail for non ppc platforms.Ira Rosen13-52/+734
2004-09-20 Ira Rosen <irar@il.ibm.com> * gcc.dg/vect/vect-13.c: Added xfail for non ppc platforms. * gcc.dg/vect/vect-74.c: Split into 3 tests (vect-79.c, vect-80.c). * gcc.dg/vect/vect-62.c: New testcase. * gcc.dg/vect/vect-63.c: New testcase. * gcc.dg/vect/vect-64.c: New testcase. * gcc.dg/vect/vect-65.c: New testcase. * gcc.dg/vect/vect-66.c: New testcase. * gcc.dg/vect/vect-67.c: New testcase. * gcc.dg/vect/vect-68.c: New testcase. * gcc.dg/vect/vect-69.c: New testcase. * gcc.dg/vect/vect-79.c: New testcase. * gcc.dg/vect/vect-80.c: New testcase. From-SVN: r87745
2004-09-20re PR target/17565 ([3.3 only] asms in delay slots)Richard Sandiford4-1/+25
PR target/17565 * config/mips/mips.md (define_asm_attributes): Set can_delay to no. From-SVN: r87744
2004-09-20Daily bump.GCC Administrator1-1/+1
From-SVN: r87739
2004-09-20* predict.c (estimate_probability): Remove unnecesary code.Jan Hubicka2-30/+6
From-SVN: r87736
2004-09-19decl2.c (determine_visibility): Allow class visibility directives to ↵Mark Mitchell2-14/+26
override targetm.cxx.export_class_data. * decl2.c (determine_visibility): Allow class visibility directives to override targetm.cxx.export_class_data. [[Split portion of a mixed commit.]] From-SVN: r87735.2
2004-09-19tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field.Ira Rosen14-384/+1362
2004-09-19 Ira Rosen <irar@il.ibm.com> * tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field. (STMT_VINFO_VECT_DR_BASE): Declare. (VECT_SMODULO): Declare. * tree-vectorizer.c (vect_compute_array_ref_alignment): New function. (vect_compute_array_base_alignment): New function. (vect_analyze_data_ref_access): Check array indices. Remove one dimensional arrays restriction. (vect_get_ptr_offset): New function. (vect_get_symbl_and_dr): New function. (vect_get_base_and_bit_offset): Support additional data refs. Renamed (former name vect_get_base_decl_and_bit_offset). (vect_create_index_for_array_ref): Removed. (vect_create_index_for_vector_ref): New function. (vect_create_addr_base_for_vector_ref): New function. (vect_create_data_ref): Handle additional data refs. Call vect_create_index_for_vector_ref and vect_create_addr_base_for_vector_ref. (vect_compute_data_ref_alignment): Support the changes. Call vect_get_base_and_bit_offset. (vect_analyze_data_refs): Call vect_get_symbl_and_dr. Support additional data refs. Store vect_dr_base. (vect_analyze_data_ref_accesses): Support nonconstant init. (new_stmt_vec_info): Initialize vect_dr_base field. (vect_is_simple_iv_evolution): Call initial_condition_in_loop_num. (get_vectype_for_scalar_type): Check for BLKmode. * tree-chrec.h (initial_condition_in_loop_num): Declare. * tree-chrec.c (initial_condition_in_loop_num): New function. (chrec_component_in_loop_num): New function. (evolution_part_in_loop_num): Call chrec_component_in_loop_num. * tree-data-ref.c (analyze_array_indexes): Change parameter (access_fns) to be pointer to varray_type. From-SVN: r87731
2004-09-19basic-block.h (update_bb_profile_after_threading): Declare.Jan Hubicka6-26/+89
* basic-block.h (update_bb_profile_after_threading): Declare. * cfg.c (update_bb_profile_after_threading): Break out from ... * cfgcleanup.c (try_forward_edges): ... here; use it. * tree-ssa-dom.c (thread_across_edge): Use it. * tree-ssa-threadupdate.c (create_block_for_threading): Zero out profile of the new BB. From-SVN: r87730
2004-09-19tree-ssa-pre.c (insert_into_set): Don't put is_gimple_min_invariant values ↵Daniel Berlin2-0/+8
into the set. 2004-09-19 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-pre.c (insert_into_set): Don't put is_gimple_min_invariant values into the set. From-SVN: r87725
2004-09-19tree-ssa-dom.c (restore_nonzero_vars_to_original_value): Fix prototype.Andreas Jaeger2-1/+6
* tree-ssa-dom.c (restore_nonzero_vars_to_original_value): Fix prototype. From-SVN: r87721
2004-09-19cris.h: Preserve the original spelling in a quote.Kazu Hirata2-1/+6
* config/cris/cris.h: Preserve the original spelling in a quote. From-SVN: r87720
2004-09-18tree-ssa-dom.c (nonzero_vars_stack, [...]): New global varrays to replace ↵Jeff Law2-104/+79
the block local varrays. * tree-ssa-dom.c (nonzero_vars_stack, vrp_variables_stack): New global varrays to replace the block local varrays. (struct dom_walk_block_data): Remove, no longer used. (get_eq_expr_value): No longer need to pass around pointers to local varrays. Callers updated. Unused markers added to unused parameters. (record_range, record_equivalences_from_stmt): Likewise. (record_equivalences_from_incoming_edge): Likewise. (record_var_is_nonzero): Likewise. Update now that we have a single global varray of SSA_NAMEs that need restoring. (dom_opt_initialize_block_local_data): Kill, no longer used. (tree_ssa_dominator_optimize): Initialize new global varrays. Update callbacks in dominator walker structure. (dom_opt_initialize_block): Add markers to NONZERO_VAR_STACK and VRP_VARIABLES_STACK. (restore_nonzero_vars_to_original_value): Update now that we have a single global varray of SSA_NAMEs that need restoring. (dom_opt_finalize_block): Similarly for VRP_VARIABLES_STACK. Remove unused variables. (optimize_stmt): Remove unused variable. From-SVN: r87719
2004-09-19Daily bump.GCC Administrator1-1/+1
From-SVN: r87717
2004-09-18* g++.old-deja/g++.pt/static11.C: XFAIL on arm*-*-eabi.Paul Brook2-1/+5
From-SVN: r87712
2004-09-18* tree-cfg.c (thread_jumps): Fix updating of the profile.Jan Hubicka2-10/+18
From-SVN: r87709
2004-09-18tree-optimize.c (tree_rest_of_compilation): Kill forgotten verify_cgraph call.Jan Hubicka2-1/+6
* tree-optimize.c (tree_rest_of_compilation): Kill forgotten verify_cgraph call. From-SVN: r87708
2004-09-18alias.c, [...]: Fix comment typos.Kazu Hirata23-32/+41
* alias.c, crtstuff.c, dbxout.c, domwalk.c, domwalk.h, gcc.c, gcse.c, global.c, lambda-code.c, loop.c, mips-tdump.c, optabs.h, predict.c, reg-stack.c, regclass.c, sched-rgn.c, tree-optimize.c, tree-ssa-dom.c, tree-ssa-forwprop.c, tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-threadupdate.c: Fix comment typos. From-SVN: r87707
2004-09-18darwin-c.c, [...]: Fix comment typos.Kazu Hirata35-65/+84
* config/darwin-c.c, config/arc/arc.c, config/arc/arc.md, config/arm/README-interworking, config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, config/arm/pe.c, config/arm/vfp.md, config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h, config/fr30/fr30.c, config/fr30/fr30.h, config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md, config/i386/winnt.c, config/ia64/unwind-ia64.c, config/iq2000/iq2000.c, config/iq2000/iq2000.h, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.md, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.h, config/mn10300/mn10300.md, config/pa/pa.c, config/pa/pa64-regs.h, config/pdp11/pdp11.c, config/rs6000/rs6000.c, config/sh/symbian.c, config/sparc/sparc.h: Fix comment typos. Follow spelling conventions. From-SVN: r87706
2004-09-18re PR c/17424 (ICE with sizeof an undeclared variable)Joseph Myers4-3/+27
PR c/17424 * c-typeck.c (c_expr_sizeof_expr): Check for error_mark_node. testsuite: * gcc.dg/pr17424-1.c: New test. From-SVN: r87705
2004-09-18call.c, [...]: Follow spelling conventions.Kazu Hirata4-3/+8
* call.c, semantics.c: Follow spelling conventions. * class.c: Fix a comment typo. From-SVN: r87704
2004-09-18tree-ssa-alias.c (setup_pointers_and_addressables): Don't remove ↵Diego Novillo4-0/+27
TREE_ADDRESSABLE from RESULT_DECL. * tree-ssa-alias.c (setup_pointers_and_addressables): Don't remove TREE_ADDRESSABLE from RESULT_DECL. testsuite/ChangeLog * g++.dg/tree-ssa/pr17153.C: New test. From-SVN: r87703
2004-09-18* tree-ssa-alias.c (dump_alias_info): Ignore NULL SSA_NAMEs.Diego Novillo2-1/+10
From-SVN: r87702
2004-09-18tree-into-ssa.c (rewrite_ssa_into_ssa): Expect ssa_name to return NULL.Jan Hubicka5-23/+40
* tree-into-ssa.c (rewrite_ssa_into_ssa): Expect ssa_name to return NULL. * tree-ssa-alias.c (init_alias_info): Likewise. * tree-ssa.c (verify_flow_sensitive_alias_info): Likewise. (verify_ssa): Likewise. * tree-ssanames.c (make_ssa_name): Clear out ssa_names arrays. From-SVN: r87698
2004-09-18i386.c (legitimize_pic_address): Fix splitting of PLUS with huge offset.Jan Hubicka2-1/+6
* i386.c (legitimize_pic_address): Fix splitting of PLUS with huge offset. From-SVN: r87697
2004-09-18linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove.Kaz Kojima3-12/+12
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove. * config/sh/sh.h (ASM_PREFERRED_EH_DATA_FORMAT): Use DW_EH_PE_sdata* for data. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise. From-SVN: r87696
2004-09-18re PR pch/13361 (const wchar_t * strings not stored in pch)Geoffrey Keating14-41/+85
* tree-inline.c (copy_tree_r): Don't duplicate constants, they're shared anyway. PR pch/13361 * c-typeck.c (constructor_asmspec): Delete. (struct initializer_stack): Delete field 'asmspec'. (start_init): Delete saving of asmspec. (finish_init): Don't update constructor_asmspec. * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. * stmt.c (expand_asm): Duplicate strings from tree. (expand_asm_operands): Likewise. * tree.c (tree_size): Update computation of size of STRING_CST. (make_node): Don't make STRING_CST nodes. (build_string): Allocate string with tree node. (tree_code_size): Clean up assertions, don't allow requests for "the size of a STRING_CST". * tree.def (STRING_CST): Update comment. * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. (tree_string): Place contents of string in tree node. * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string from tree. From-SVN: r87695
2004-09-18Makefile.in (c-parse.o): Depend on $(C_PRAGMA_H).Zack Weinberg3-3/+9
* Makefile.in (c-parse.o): Depend on $(C_PRAGMA_H). * objc/Make-lang.in (objc/objc-parse.o): Likewise. From-SVN: r87689
2004-09-18configure.ac: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.Jones Desougi4-343/+2406
2004-09-17 Jones Desougi <jones@ingate.com> * configure.ac: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. * configure, config.in: Regenerate. From-SVN: r87686
2004-09-18tree.c, tree.h (tree_class_strings): Make array const.Zack Weinberg3-14/+20
* tree.c, tree.h (tree_class_strings): Make array const. Reindent per coding convention. Move asterisk to proper place per coding convention. From-SVN: r87685
2004-09-18Daily bump.GCC Administrator1-1/+1
From-SVN: r87683
2004-09-17Makefile.in (gimple-low.o): Depend on $(EXPR_H).Andreas Schwab2-3/+9
* Makefile.in (gimple-low.o): Depend on $(EXPR_H). (tree-vectorizer.o): Likewise. (targhooks.o): Likewise. From-SVN: r87676
2004-09-17alias.c (find_base_decl): Remove unreachable case '3' block.Jeffrey D. Oldham97-1038/+1212
2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com> Zack Weinberg <zack@codesourcery.com> * alias.c (find_base_decl): Remove unreachable case '3' block. * expr.c (safe_from_p): Abort if passed a type. * tree-gimple.c (recalculate_side_effects): Abort if passed anything other than an expression. * tree-ssa-pre.c (phi_translate): Return expr immediately if is_gimple_min_invariant is true for it. Reorder cases for clarity. Abort on un-handled tree classes. (valid_in_set): Likewise. * tree.c (tree_code_class_strings): New static data. * tree.h (enum tree_code_class): New. (tree_code_class_strings): Declare. (TREE_CODE_CLASS_STRING, EXCEPTIONAL_CLASS_P, CONSTANT_CLASS_P) (REFERENCE_CLASS_P, COMPARISON_CLASS_P, UNARY_CLASS_P, BINARY_CLASS_P) (STATEMENT_CLASS_P, EXPRESSION_CLASS_P, IS_TYPE_OR_DECL_P): New macros. (TYPE_P, DECL_P, IS_NON_TYPE_CODE_CLASS, IS_EXPR_CODE_CLASS) (checking macros, EXPR_LOCATION, SET_EXPR_LOCATION, EXPR_LOCUS): Update. * tree.def, c-common.def, objc/objc-tree.def: Use tree_code_class enumeration constants instead of code letters. * alias.c, builtins.c, c-common.c, c-format.c, c-lang.c, c-pragma.c * c-typeck.c, cgraphunit.c, convert.c, dbxout.c, dwarf2out.c * emit-rtl.c expr.c, fold-const.c, gimplify.c, lambda-code.c * langhooks.c, langhooks.h, predict.c, print-tree.c, reload1.c, stmt.c * tree-browser.c, tree-cfg.c, tree-chrec.c, tree-complex.c, tree-dfa.c * tree-dump.c, tree-eh.c, tree-gimple.c, tree-inline.c, tree-nested.c * tree-outof-ssa.c, tree-pretty-print.c, tree-sra.c, tree-ssa-ccp.c * tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-forwprop.c, tree-ssa-live.c * tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c * tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-propagate.c * tree-ssa.c, tree-ssanames.c, tree-tailcall.c, tree.c, varasm.c * config/sol2-c.c, config/arm/arm.c, config/i386/winnt.c * config/pa/pa.c, config/pa/pa.h, config/sh/sh.c, objc/objc-lang.c Update to match. * LANGUAGES: Add note about change. ada: * ada-tree.def: Use tree_code_class enumeration constants instead of code letters. * ada-tree.h, decl.c, misc.c, trans.c, utils.c, utils2.c: Update for new tree-class enumeration constants. cp: * cp-tree.def: Use tree_code_class enumeration constants instead of code letters. * call.c, class.c, cp-gimplify.c, cp-lang.c, cxx-pretty-print.c * mangle.c, pt.c, semantics.c, tree.c, typeck.c: Update for new tree-class enumeration constants. fortran: * f95-lang.c, trans-expr.c, trans.c: Update for new tree-class enumeration constants. java: * java-tree.def: Use tree_code_class enumeration constants instead of code letters. * java-gimplify.c, jcf-write.c, lang.c, parse.y: Update for new tree-class enumeration constants. treelang: * treetree.c: Update for new tree-class enumeration constants. From-SVN: r87675
2004-09-1720040917-1.c: New test.Kenneth Zadeck2-0/+36
2004-09-17 Kenneth Zadeck <Kenneth.Zadeck@NaturalBridge.com> * gcc.c-torture/execute/20040917-1.c: New test. From-SVN: r87674
2004-09-17re PR tree-optimization/17319 (-fno-tree-dce cause ICE)Diego Novillo4-0/+33
PR tree-optimization/17319 * tree-ssa-alias.c (compute_points_to_and_addr_escape): Also examine pointers on the LHS of an assignment. (collect_points_to_info_r): Handle RETURN_EXPR. testsuite/ChangeLog PR tree-optimization/17319 * gcc.dg/pr17319.c: New test. From-SVN: r87673
2004-09-17tree-ssa-dom.c (const_and_copies_stack): New.Jeff Law2-54/+56
* tree-ssa-dom.c (const_and_copies_stack): New. (dom_walk_block_data): Remove const_and_copies field. (record_const_or_copy): No longer need to pass in varray_type *. Use CONST_AND_COPIES_STACK rather than passed in block local stack. Callers updated. (record_equality): Similarly. (restore_vars_to_original_value): Similarly. Revamp to use new single global stack rather than per-block stacks. (tree_ssa_dominator_optimize): Initialize the CONST_AND_COPIES_STACK. (thread_across_edge): Remove now unused parameters. (dom_opt_initialize_block_local_data): No longer test the block local CONST_AND_COPIES. (dom_opt_initialize_block): Push a marker on CONST_AND_COPIES_STACK. From-SVN: r87670
2004-09-17re PR tree-optimization/17509 (ICE in verify_cgraph_node)Jan Hubicka2-1/+29
PR tree-optimization/17509 * tree-optimize.c (update_inlined_to_pointers): New function. (tree_rest_of_compilation): Use it. From-SVN: r87669
2004-09-17dbxout.c (get_lang_number): New.Devang Patel5-2/+63
* dbxout.c (get_lang_number): New. (dbxout_init): Include lang number in N_SO stab. * dbxout.h (N_SO_AS, N_SO_C, N_SO_ANSI_C, N_SO_CC, N_SO_FORTRAN, N_SO_PASCAL, N_SO_FORTRAN90, N_SO_OBJC, N_SO_OBJCPLUS): New #define. testsuite * gcc.dg/20040813-1.c: New test. From-SVN: r87663
2004-09-17re PR tree-optimization/17273 (ICE in get_indirect_ref_operands)Diego Novillo4-0/+52
PR tree-optimization/17273 * tree-ssa.c (replace_immediate_uses): Call fold_stmt if the replacement is a constant. testsuite/ChangeLog PR tree-optimization/17273 * gcc.c-torture/compile/pr17273.c: New test. From-SVN: r87662
2004-09-17c-tree.h (enum c_typespec_keyword): New.Joseph Myers9-265/+602
* c-tree.h (enum c_typespec_keyword): New. (struct c_declspecs): Adjust description of "type". Remove specbits, explicit_int_p and explicit_char_p. Rename typedef_signed_p to explicit_signed_p. Add default_int_p, long_p, short_p, signed_p, unsigned_p and complex_p. (finish_declspecs): New. * c-parse.in (datadef, datadecl, setspecs, decl, component_decl, typename): Call finish_declspecs. * c-decl.c (finish_declspecs): New. (declspecs_add_type): Check for combinations which cannot occur in valid specifier lists. Update comments. (shadow_tag_warned): Remove checks done in finish_declspecs. Don't report useless type name if type defaulted to int. (grokdeclarator): Remove checks and actions done in finish_declspecs. Don't allow for type being NULL. Update for datastructures changes. Initialize decl_attr. (build_null_declspecs, quals_from_declspecs): Update for datastructures changes. testsuite: * gcc.dg/declspec-4.c, gcc.dg/declspec-5.c, gcc.dg/declspec-6.c: Update expected messages. * gcc.dg/declspec-13.c: New test. From-SVN: r87660
2004-09-17* doc/extend.texi: Fix duplicated word.Sylvain Pion2-1/+5
From-SVN: r87657
2004-09-17gfortran.h (struct gfc_linebuf): Don't use C99 empty arrays.Paul Brook3-3/+11
* gfortran.h (struct gfc_linebuf): Don't use C99 empty arrays. (gfc_linebuf_header_size): Define. * scanner.c (load_file): Use it. From-SVN: r87655
2004-09-17invoke.texi: Remove stray explanation on -freduce-all-givs and ↵Toon Moene2-9/+5
-fmove-all-movables. 2004-09-17 Toon Moene <toon@moene.indiv.nluug.nl> * doc/invoke.texi: Remove stray explanation on -freduce-all-givs and -fmove-all-movables. From-SVN: r87651
2004-09-17cfg.texi: Use @smallexample.James A. Morrison6-25/+33
2004-09-17 James Morrison <phython@gcc.gnu.org> * doc/cfg.texi: Use @smallexample. * doc/md.texi: Likewise. * doc/tree-ssa.texi: Likewise. * doc/extend.texi: Likewise. Use @r{} in comments. * doc/trouble.texi: Use @r{} in comments. From-SVN: r87646
2004-09-17* gcc.dg/darwin-longlong.c: XFAIL on AIX and SPE.David Edelsohn2-0/+5
From-SVN: r87645
2004-09-17prj-attr-pm.ads, [...]: New files, to split some private capabilities of the ↵Vincent Celier3-0/+118
general project manager. 2004-09-17 Vincent Celier <celier@gnat.com> * prj-attr-pm.ads, prj-attr-pm.adb: New files, to split some private capabilities of the general project manager. From-SVN: r87644
2004-09-17configure.ac (gcc_cv_gld_version): Handle whitespace before "VERSION=".Hans-Peter Nilsson4-4/+11
* configure.ac (gcc_cv_gld_version): Handle whitespace before "VERSION=". * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Ditto. * configure: Regenerate. From-SVN: r87643
2004-09-17pr17252.c: Use post-increment to change what 'a' is pointing to.Diego Novillo2-1/+6
* gcc.c-torture/execute/pr17252.c: Use post-increment to change what 'a' is pointing to. From-SVN: r87642
2004-09-17Be more precise in last entry.Joern Rennecke1-0/+9
From-SVN: r87641
2004-09-17sh.c (sh_gimplify_va_arg_expr): Don't call pass_by_reference.Joern Rennecke3-4/+10
* sh.c (sh_gimplify_va_arg_expr): Don't call pass_by_reference. (sh_pass_by_reference): Work around std_gimplify_va_arg_expr bug. * t-sh (MULTILIB_CPUS): s/ML_m/ML_sh/g . * t-sh64 (MULTILIB_CPU_DIRS): Likewise. Match trailing slashes in substitutions. (MULTILIB_DIRNAMES): Remove defunct removal of /media32. From-SVN: r87640
2004-09-17basic-block.h, [...]: Fix comment typos.Kazu Hirata15-16/+24
* basic-block.h, c-decl.c, c-parse.in, cgraphunit.c, ddg.c, gimplify.c, lambda-code.c, optabs.c, predict.c, tree-scalar-evolution.c, tree-sra.c, tree-ssa-loop-ch.c, tree-ssa.c, vec.h: Fix comment typos. Follow spelling conventions. From-SVN: r87637