aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-05-13tree-ssa-live.c (calculate_live_on_entry): Ignore virtual variables.Jeff Law2-30/+9
* tree-ssa-live.c (calculate_live_on_entry): Ignore virtual variables. Simplify slightly by using USE_OP/DEF_OP instead of USE_OP_PTR/DEF_OP_PTR and dereferencing the result. From-SVN: r81832
2004-05-14tree.def (documentation): Remove mention of class 'b'.Zack Weinberg11-62/+76
* tree.def (documentation): Remove mention of class 'b'. (BLOCK): Now in class 'x'. * c-common.c (verify_tree): Remove case 'b'. * c-typeck.c (same_translation_unit_p): Change 'b' to 'x'. * calls.c (calls_function_1): Control cannot get past the switch when exp is a BLOCK. * print-tree.c (print_node): Move code for class 'b' to the class 'c'/'x' switch, as case BLOCK. * tree.c (tree_size, make_node_stat, tree_node_structure): Likewise. (unsafe_for_reeval, substitute_placeholder_in_expr) (stabilize_reference_1): Remove case 'b'. * tree-browser.c (browse_tree): Change all tests for TREE_CODE_CLASS of something being 'b' to tests for TREE_CODE of something being BLOCK. * tree-ssa-operands.c (get_expr_operands): Likewise. ada: * trans.c (gnat_stabilize_reference_1): Remove case 'b'. From-SVN: r81831
2004-05-13tree-gimple.c: Rename from tree-simple.c.Diego Novillo47-68/+98
* tree-gimple.c: Rename from tree-simple.c. * tree-gimple.h: Rename from tree-simple.h. * c-gimplify.c: Rename from c-simplify.c * Makefile.in, c-decl.c, gimple-low.c, gimplify.c, langhooks.c, tree-alias-ander.c, tree-alias-common.c, tree-complex.c, tree-dfa.c, tree-flow.h, tree-inline.c, tree-into-ssa.c, tree-iterator.c, tree-mudflap.c, tree-nested.c, tree-nomudflap.c, tree-outof-ssa.c, tree-sra.c, tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-copyrename.c, tree-ssa-dce.c, tree-ssa-live.c, tree-ssa-pre.c, tree-ssa.c: Update. cp/ChangeLog * cp-gimplify.c: Rename from cp-simplify.c. * Make-lang.in, optimize.c: Update. fortran/ChangeLog * Make-lang.in, f95-lang.c, trans-array.c, trans-decl.c, trans-expr.c, trans-intrinsic.c, trans-io.c, trans-stmt.c, trans.c: Rename tree-simple.[ch] to tree-gimple.[ch]. java/ChangeLog * Make-lang.in, expr.c, java-gimplify.c: Rename tree-simple.[ch] to tree-gimple.[ch]. From-SVN: r81829
2004-05-14* java-gimplify.c (java_gimplify_expr): Correct minor typos.Ranjit Mathew2-4/+8
From-SVN: r81825
2004-05-14* doc/sourcebuild.texi: Mention libbanshee and libmudflap.Ranjit Mathew2-0/+11
From-SVN: r81824
2004-05-14Daily bump.GCC Administrator1-1/+1
From-SVN: r81822
2004-05-13re PR fortran/15314 (ICE caused by array initializer in derived type definition)Paul Brook3-1/+21
PR fortran/15314 * gfortran.fortran-torture/execute/der_init_s.f90: New test. From-SVN: r81818
2004-05-13tree-ssa.c (delete_tree_ssa): XFREE bitmaps allocated with BITMAP_XMALLOC.Andrew Pinski2-1/+4
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa.c (delete_tree_ssa): XFREE bitmaps allocated with BITMAP_XMALLOC. From-SVN: r81817
2004-05-13re PR fortran/15314 (ICE caused by array initializer in derived type definition)Paul Brook2-10/+10
PR fortran/15314 * trans-expr.c (gfc_conv_structure): Use field type, not expr type. From-SVN: r81816
2004-05-13tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end ↵Andrew Pinski2-1/+6
of the function. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function. From-SVN: r81815
2004-05-13tree-ssa-live (calculate_live_on_entry): Free saw_def at the end of the ↵Andrew Pinski2-0/+5
function. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-live (calculate_live_on_entry): Free saw_def at the end of the function. From-SVN: r81814
2004-05-13tree-ssa-dce.c (perform_tree_ssa_dce): Free el at the end of the function.Andrew Pinski2-0/+5
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-dce.c (perform_tree_ssa_dce): Free el at the end of the function. From-SVN: r81813
2004-05-13uninit-H.c: Test for __PPC__ and __ppc__ for the powerpc case.Andrew Pinski2-1/+6
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/uninit-H.c: Test for __PPC__ and __ppc__ for the powerpc case. From-SVN: r81812
2004-05-13tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP rather ↵Jeff Law2-9/+12
than iterating through the blocks testing... * tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP rather than iterating through the blocks testing each bit in livein to initialize the worklist. (mark_def_sites): Remove useless checks of KILLS for virtual operands. From-SVN: r81811
2004-05-13tree-into-ssa.c (insert_phi_nodes_for): XFREE bitmaps allocated with ↵Andrew Pinski2-1/+4
BITMAP_XMALLOC. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-into-ssa.c (insert_phi_nodes_for): XFREE bitmaps allocated with BITMAP_XMALLOC. From-SVN: r81809
2004-05-13loop-unswitch.c (unswitch_single_loop): Free bbs at the end.Andrew Pinski2-0/+5
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * loop-unswitch.c (unswitch_single_loop): Free bbs at the end. From-SVN: r81808
2004-05-13final.c (shorten_branches): Free uid_shuid before reallocating it.Andrew Pinski2-0/+6
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * final.c (shorten_branches): Free uid_shuid before reallocating it. From-SVN: r81807
2004-05-13bb-reoder.c (connect_traces): Free cold_traces at the end.Andrew Pinski2-0/+5
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * bb-reoder.c (connect_traces): Free cold_traces at the end. From-SVN: r81806
2004-05-13tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept new ↵Jeff Law5-42/+185
parameters for the statement and variable worklist as well as a... * tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept new parameters for the statement and variable worklist as well as a bitmap of interesting SSA_NAMEs. Walk over the statement worklist recording interesting variables in the variable worklist and bitmap. Handle casts between integral and boolean types. (substitute_single_use_vars): Accept new parameters for the statement and variable worklist. When a substitution is made add a new entry to the statement worklist. Handle casts between integral and boolean types. (tree_ssa_forward_propagate_single_use_vars): Rework to pass worklists to children. Iterate until the statement worklist is empty. * gcc.dg/tree-ssa/20040513-1.c: New test. * gcc.dg/tree-ssa/20040513-2.c: New test. From-SVN: r81803
2004-05-1320030808-1.c: Force enum size.Paul Brook4-3/+10
* gcc.dg/tree-ssa/20030808-1.c: Force enum size. * gcc.dg/tree-ssa/20030714-1.c: Ditto. * gcc.dg/tree-ssa/20030708-1.c: Ditto. From-SVN: r81796
2004-05-13tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the end of the block.Andrew Pinski2-0/+6
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the end of the block. From-SVN: r81793
2004-05-13tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated with BITMAP_XMALLOC.Andrew Pinski2-2/+5
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated with BITMAP_XMALLOC. From-SVN: r81791
2004-05-13tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated with ↵Andrew Pinski2-5/+8
BITMAP_XMALLOC. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated with BITMAP_XMALLOC. From-SVN: r81789
2004-05-13tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end ↵Andrew Pinski2-0/+6
of the function. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function. From-SVN: r81788
2004-05-13convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a need to ↵Andrew Pinski2-1/+6
generate code instead of a NOP_EXPR. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a need to generate code instead of a NOP_EXPR. From-SVN: r81787
2004-05-13re PR testsuite/10819 (testsuite creates CR+LF on compiler version lines in ↵Andreas Schwab2-2/+8
test summary files) PR other/10819 * lib/gfortran.exp (gfortran_version): Do not match NL/CR characters. From-SVN: r81784
2004-05-13gcc.c (default_compilers): Fill out initializers for new Fortran entries.Ian Lance Taylor2-2/+8
* gcc.c (default_compilers): Fill out initializers for new Fortran entries. From-SVN: r81782
2004-05-13gfortran.texi: Use @table @emph instead of @itemize @emph.Joseph Myers2-32/+9
* gfortran.texi: Use @table @emph instead of @itemize @emph. Remove "set DEVELOPMENT". (Compiling GFORTRAN): Remove. From-SVN: r81780
2004-05-13* config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define.Paul Brook2-0/+10
From-SVN: r81777
2004-05-13arm.c (arm_default_short_enums): New function.Paul Brook2-0/+17
* config/arm/arm.c (arm_default_short_enums): New function. (TARGET_DEFAULT_SHORT_ENUMS): Define. From-SVN: r81776
2004-05-13re PR libfortran/15204 (ADJUSTR intrinsic accesses corrupted pointer)Bud Davis2-0/+51
PR fortran/15294 * gfortran.fortran-torture/execute/adjustr.f90: New file. * io/intrinsic/string_intrinsics.c(adjustr): rework logic. From-SVN: r81771
2004-05-13Merge tree-ssa-20020619-branch into mainline.Diego Novillo737-11240/+176896
From-SVN: r81764
2004-05-13Daily bump.GCC Administrator1-1/+1
From-SVN: r81758
2004-05-12Replace several arrays with a struct of arrays.Paolo Bonzini2-225/+214
2004-05-12 Paolo Bonzini <bonzini@gnu.org> Replace several arrays with a struct of arrays. * combine.c (struct reg_stat): New. (init_reg_last_arrays): Renamed to... (init_reg_last): ...this. Callers adjusted. (reg_stat): New. (combine_instructions): Allocate it and use it. (reg_last_death, reg_last_set, reg_last_set_value, reg_last_set_label, reg_last_set_table_tick, reg_last_set_invalid, reg_nonzero_bits, reg_sign_bit_copies, reg_last_set_mode, reg_last_set_nonzero_bits, reg_last_set_sign_bit_copies): Replace throughout with items of reg_stat. From-SVN: r81740
2004-05-12re PR target/15331 (Assembler error building gnatlib on IRIX 6.5 with GNU as ↵Richard Sandiford2-1/+6
2.14.91) PR target/15331 * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '. From-SVN: r81737
2004-05-12re PR rtl-optimization/15100 (cc1plus got hang-up on ↵Kaz Kojima2-0/+12
libstdc++-v3/testsuite/abi_check.cc) PR optimization/15100 * combine.c (distribute_notes): Don't create a dangling REG_LIBCALL/REG_RETVAL note. From-SVN: r81736
2004-05-12Daily bump.GCC Administrator1-1/+1
From-SVN: r81729
2004-05-11spe.md (spe_evneg): Rename to negv2si2.Aldy Hernandez3-2/+9
* config/rs6000/spe.md (spe_evneg): Rename to negv2si2. * config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to negv2si2. From-SVN: r81724
2004-05-11* doc/md.texi (Standard Names): Fix typo in vec_init description.Aldy Hernandez2-1/+5
From-SVN: r81723
2004-05-11utils.c (max_size): Use MIN_EXPR to find the minimum value of a COND_EXPR.Roger Sayle2-1/+6
* utils.c (max_size): Use MIN_EXPR to find the minimum value of a COND_EXPR. From-SVN: r81721
2004-05-11altivec-8.C: Use '-maltivec' instead of '-faltivec'; include <altivec.h> ↵Ziemowit Laski3-4/+18
explicitly. 2004-05-11 Ziemowit Laski <zlaski@apple.com> * g++.dg/ext/altivec-8.C: Use '-maltivec' instead of '-faltivec'; include <altivec.h> explicitly. * gcc.dg/altivec-13.c: Likewise. From-SVN: r81719
2004-05-11* doc/gty.texi (GTY Options): Clarify example.Geoffrey Keating2-1/+5
From-SVN: r81718
2004-05-11Fix typo.Mike Stump1-1/+1
From-SVN: r81717
2004-05-11Test for AltiVec function vec_ld, passing a pointer to const vector.Fariborz Jahanian1-0/+13
Approved by Aldy Hernandez. From-SVN: r81716
2004-05-11Fixed problem related to vec_ld in c++ mode.Fariborz Jahanian2-0/+8
Approved by Aldy Hernandez. From-SVN: r81715
2004-05-11* gcc.c-torture/compile/20010518-1.c: Force enum size.Paul Brook2-1/+5
From-SVN: r81707
2004-05-11flags.h (flag_short_enums): Update comment.Paul Brook4-4/+17
* flags.h (flag_short_enums): Update comment. * opts.c (decode_options): Set flag_short_enums to 2. * toplev.c (flag_short_enums): Update comment. (process_options): Call default_short_enums target hook. From-SVN: r81704
2004-05-11Fix entry.Eric Christopher1-1/+1
From-SVN: r81697
2004-05-11sibcall-3.c: Remove xfail for mips*-*-elf.Eric Christopher3-5/+10
2004-05-10 Eric Christopher <echristo@redhat.com> * gcc.dg/sibcall-3.c: Remove xfail for mips*-*-elf. * gcc.dg/sibcall-4.c: Ditto. From-SVN: r81695
2004-05-10re PR target/14063 (conditional around vec_dss() call disappears at -O2)Andrew Pinski2-2/+9
2004-05-11 Andrew Pinski <pinskia@gcc.gnu.org> PR target/14063 * config/rs6000/altivec.md (altivec_dssall): Change to unspec_volatile. (altivec_dss): Likewise. From-SVN: r81694