aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-11-08re PR tree-optimization/23382 (Does not remove the old HEAP virtual ↵Daniel Berlin7-0/+103
variables in clobbered) 2005-11-08 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/23382 * tree-ssa-alias.c (compute_may_aliases): Call delete_old_heap_vars. * tree-dfa.c (referenced_var_remove): New function. * tree-ssa.c (delete_tree_ssa): Call delete_old_heap_vars. * tree-flow.h (referenced_var_remove): Add prototype. (delete_old_heap_vars): Ditto. * tree-ssa-structalias.c (heapvars): New variable. (oldheapvars): Ditto. (get_constraint_for): Put heap vars on heapvars list. (delete_old_heap_vars): New function. From-SVN: r106643
2005-11-08altivec-{1-13}.C: XFAIL on AIX and SPE.David Edelsohn30-20/+48
* g++.dg/ext/altivec-{1-13}.C: XFAIL on AIX and SPE. * gcc.target/powerpc/pr16155.c: Same. * gcc.target/powerpc/altivec-1.c: Same. * gcc.target/powerpc/altivec-2.c: Same. * gcc.target/powerpc/altivec-3.c: Same. * gcc.target/powerpc/altivec-5.c: Same. * gcc.target/powerpc/altivec-11.c: Same. * gcc.target/powerpc/altivec-12.c: Same. * gcc.target/powerpc/altivec-14.c: Same. * gcc.target/powerpc/altivec-22.c: Same. * gcc.target/powerpc/altivec-consts.c: Same. * gcc.target/powerpc/altivec-pr22085.c: Same. * gcc.target/powerpc/altivec-splat.c: Same. * gcc.target/powerpc/altivec-varargs-1.c: Same. * gcc.target/powerpc/altivec-vec-merge.c: Same. * gcc.target/powerpc/darwin-longlong.c: Same. From-SVN: r106638
2005-11-08* scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.Mark Wielaard2-0/+5
From-SVN: r106636
2005-11-08re PR c++/21123 (ICE in cp_expr_size, at cp/cp-objcp-common.c:101)Jason Merrill5-2/+36
PR c++/21123 * cp/method.c (use_thunk): Use build_cplus_new instead of force_target_expr. * tree.h (CALL_FROM_THUNK_P): Add CALL_EXPR_CHECK. From-SVN: r106634
2005-11-08re PR target/19340 (Compilation SEGFAULTs with -O1 -fschedule-insns2 ↵Uros Bizjak4-2/+39
-fsched2-use-traces on an x86 architecture.) PR target/19340 * reg-stack.c (reg_to_stack): Update register liveness also for flag_sched2_use_traces. testsuite/ PR target/19340 * gcc.dg/pr19340.c: New test. From-SVN: r106632
2005-11-08re PR target/23704 (gcc.dg/rs6000-fpint.c fails)Alan Modra2-3/+9
PR target/23704 * config/rs6000/rs6000.c (rs6000_handle_option <OPT_m64>): Don't override prior explicit -mno-powerpc-gfxopt. From-SVN: r106631
2005-11-08Removed decompilation for non-ELF targets.Terry Laurenzo2-1/+13
From-SVN: r106628
2005-11-08Daily bump.GCC Administrator1-1/+1
From-SVN: r106625
2005-11-08Added Terry LaurenzoTerry Laurenzo1-0/+1
From-SVN: r106620
2005-11-07mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding.David Daney2-0/+7
* mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding. From-SVN: r106614
2005-11-07* Update ChangeLog with the missing entry from my previous commit.Steven G. Kargl1-0/+5
From-SVN: r106611
2005-11-07expmed.c (extract_bit_field): Do not use insv/extv/extzv patterns if the ↵Eric Botcazou4-21/+17
bitsize is zero. * expmed.c (extract_bit_field): Do not use insv/extv/extzv patterns if the bitsize is zero. * doc/md.texi (Standard Pattern Names): Document it. * config/ia64/ia64.c (ia64_pass_by_reference): Delete. (TARGET_PASS_BY_REFERENCE): Likewise. From-SVN: r106605
2005-11-07re PR rtl-optimization/24683 (ICE in in extract_insn, at recog.c:2084)Ian Lance Taylor4-1/+27
./: PR rtl-optimization/24683 * config/i386/i386.c (legitimize_pic_address): If constant operand to PLUS is too large, put it in a register. testsuite/: PR rtl-optimization/24683 * gcc.dg/pr24683.c: New test. From-SVN: r106601
2005-11-07configure.ac: Enable checking assembler dwarf2 support for bfin target.Jie Zhang2-2/+2
* configure.ac: Enable checking assembler dwarf2 support for bfin target. * configure: Regenerate. From-SVN: r106598
2005-11-07configure.ac: Enable checking assembler dwarf2 support for bfin target.Jie Zhang1-0/+6
* configure.ac: Enable checking assembler dwarf2 support for bfin target. * configure: Regenerate. From-SVN: r106597
2005-11-07error.c: Use flag_fatal_error.Steven G. Kargl2-2/+7
*error.c: Use flag_fatal_error. *invoke.texi: Remove -Werror from list of options. From-SVN: r106595
2005-11-07pr24225.c: Add cleanup-coverage-files.Uros Bizjak3-1/+10
* gcc.dg/vect/pr24225.c: Add cleanup-coverage-files. * gcc.dg/vect/pr24300.c: Add cleanup-tree-dump. From-SVN: r106592
2005-11-07pr23376: Compile with -mmmx.Uros Bizjak2-1/+5
* gcc.target/i386/pr23376: Compile with -mmmx. From-SVN: r106591
2005-11-07* g++.dg/abi/empty6.C (B): Align to twice pointer size.Ulrich Weigand2-6/+9
From-SVN: r106589
2005-11-07re PR target/24230 (ICE in extract_insn with altivec)Paolo Bonzini9-163/+601
2005-11-07 Paolo Bonzini <bonzini@gnu.org> PR target/24230 * config/rs6000/rs6000.c (easy_vector_splat_const, easy_vector_same, gen_easy_vector_constant_add_self): Delete. (vspltis_constant, easy_altivec_constant, gen_easy_altivec_constant): New. (output_vec_const_move): Use gen_easy_altivec_constant. (rs6000_expand_vector_init): Do not emit a set of a VEC_DUPLICATE. * config/rs6000/predicates.md (easy_vector_constant): Reorganize tests. (easy_vector_constant_add_self): Rewritten. * config/rs6000/rs6000-protos.h (easy_vector_splat_const, easy_vector_same, gen_easy_vector_constant_add_self): Remove prototype. (easy_altivec_constant, gen_easy_altivec_constant): Add prototype. testsuite: 2005-11-07 Paolo Bonzini <bonzini@gnu.org> PR target/24230 * gcc.target/powerpc/altivec-consts.c, gcc.target/powerpc/altivec-splat.c: New testcase. From-SVN: r106588
2005-11-07c-typeck.c (build_c_cast): Try using a shared constant...Paolo Bonzini4-6/+31
2005-11-07 Paolo Bonzini <bonzini@gnu.org> * c-typeck.c (build_c_cast): Try using a shared constant, and see if TREE_OVERFLOW or TREE_CONSTANT_OVERFLOW really changed. testsuite: 2005-11-07 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/overflow-2.c: New testcase. From-SVN: r106587
2005-11-07re PR rtl-optimization/23567 (if-conversion causes wrong code)Jakub Jelinek4-25/+93
PR rtl-optimization/23567 * ifcvt.c (noce_mem_write_may_trap_or_fault_p): New function. (noce_process_if_block): Don't do any optimizations except if (cond) x = x; if !set_b and write into orig_x may trap or fault. Remove the MEM_READONLY_P check. * gcc.c-torture/execute/20051104-1.c: New test. From-SVN: r106585
2005-11-07splay-tree.c (rotate_left): New function.Richard Guenther2-111/+87
2005-11-07 Richard Guenther <rguenther@suse.de> * splay-tree.c (rotate_left): New function. (rotate_right): Likewise. (splay_tree_splay_helper): Remove. (splay_tree_splay): Re-implement. From-SVN: r106584
2005-11-07Fix PR number.James A. Morrison1-1/+1
From-SVN: r106583
2005-11-07re PR ada/21952 (Annoying "attribute directive ignored" warnings)James A. Morrison2-2/+41
2005-11-07 James A. Morrison <phython@gcc.gnu.org> PR treelang/21952 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to treelang_attribute_table. (handle_attribute): New function. (treelang_attribute_table): New attribute table. From-SVN: r106582
2005-11-07re PR c++/17256 (undefined but used static or inline functions should be ↵Jason Merrill4-9/+27
diagnosed) PR c++/17256 * decl2.c (cp_finish_file): Fix conditions for undefined warning. Set TREE_NO_WARNING instead of TREE_PUBLIC. * pt.c (instantiate_pending_templates): Set DECL_INITIAL to avoid a warning on a function we didn't instantiate because of excessive recursion. Co-Authored-By: James A. Morrison <phython@gcc.gnu.org> From-SVN: r106581
2005-11-07class.c (record_subobject_offsets): Don't record offsets past biggest empty ↵Mark Mitchell2-13/+21
class for non-empty base classes. * class.c (record_subobject_offsets): Don't record offsets past biggest empty class for non-empty base classes. (layout_class_type): Use TYPE_SIZE_UNIT, not TYPE_SIZE, when keeping track of the size of emptyclasses. From-SVN: r106580
2005-11-07Daily bump.GCC Administrator1-1/+1
From-SVN: r106577
2005-11-06MAINTAINERS (Write After Approval): Add myself.Janne Blomqvist2-0/+5
2005-11-06 Janne Blomqvist <jb@gcc.gnu.org> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r106569
2005-11-06Reset svn:executable property for those testcases that had it set.Tobias Schlüter21-0/+0
From-SVN: r106568
2005-11-06re PR fortran/24534 (PUBLIC derived types with private components)Paul Thomas15-21/+209
2005-11-06 Paul Thomas <pault@gcc.gnu.org> PR fortran/24534 * resolve.c (resolve_symbol): Exclude case of PRIVATE declared within derived type from error associated with PRIVATE type components within derived type. PR fortran/20838 PR fortran/20840 * gfortran.h: Add prototype for gfc_has_vector_index. * io.c (gfc_resolve_dt): Error if internal unit has a vector index. * expr.c (gfc_has_vector_index): New function to check if any of the array references of an expression have vector inidices. (gfc_check_pointer_assign): Error if internal unit has a vector index. PR fortran/17737 * data.c (gfc_assign_data_value): Remove gcc_assert that caused the ICE and replace by a standard dependent warning/error if overwriting an existing initialization. * decl.c (gfc_data_variable): Remove old error for already initialized variable and the unused error check for common block variables. Add error for hots associated variable and standard dependent error for common block variables, outside of blockdata. * symbol.c (check_conflict): Add constraints for DATA statement. 2005-11-06 Paul Thomas <pault@gcc.gnu.org> PR fortran/24534 gfortran.dg/private_type_2.f90: Modified to check that case with PRIVATE declaration within derived type is accepted. PR fortran/20838 gfortran.dg/pointer_assign_1.f90: New test. PR fortran/20840 * gfortran.dg/arrayio_0.f90: New test. PR fortran/17737 gfortran.dg/data_initialized.f90: New test. gfortran.dg/data_constraints_1.f90: New test. gfortran.dg/data_constraints_2.f90: New test. From-SVN: r106567
2005-11-06re PR c++/21308 (Very high compile time)Mark Mitchell2-9/+46
PR c++/21308 * class.c (sizeof_biggest_empty_class): New variable. (record_subobject_offsets): Don't record offsets past biggest empty class for data members. Replace vbases_p parameter with is_data_member parameter. (build_base_field): Adjust call. (layout_class_type): Likewise. Maintain sizeof_biggest_empty_class. From-SVN: r106566
2005-11-06MAINTAINERS (Write After Approval): Add myself.Erik Edelmann2-0/+5
2005-11-06 Erik Edelmann <eedelman@gcc.gnu.org> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r106565
2005-11-06gcc_release: Further update for SVN.Joseph Myers3-33/+24
* gcc_release: Further update for SVN. Don't set EXPORTTAG or EXPORTDATE; always determine SVNREV the same way. Correct message about what sources are being retrived. Include branch information in LAST_UPDATED. * crontab: Don't include initial / in branch name. From-SVN: r106564
2005-11-06gfortran ChangeLogJanne Blomqvist13-516/+492
2005-11-06 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/24174 PR fortran/24305 * fortran/trans-io.c (gfc_build_io_library_fndecls): Add kind argument to transfer_array. (transfer_array_desc): Add kind argument. testsuite ChangeLog: 2005-11-06 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/24174 PR fortran/24305 * testsuite/gfortran.dg/large_real_kind_form_io_1.f90: New file. libgfortran Changelog: 2005-11-06 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/24174 PR fortran/24305 * io/io.h: Add argument to prototypes, add prototypes for size_from_*_kind functions. * io/list_read.c (read_complex): Add size argument, use it. (list_formatted_read): Add size argument, cleanup. (list_formatted_read_scalar): Add size argument. (nml_read_obj): Fix for padding. * io/transfer.c: Add argument to transfer function pointer. (unformatted_read): Add size argument. (unformatted_write): Likewise. (formatted_transfer_scalar): Fix for padding with complex(10). (formatted_transfer): Add size argument, cleanup. (transfer_integer): Add size argument to transfer call. (transfer_real): Likewise. (transfer_logical): Likewise. (transfer_character): Likewise. (transfer_complex): Likewise. (transfer_array): New kind argument, use it. (data_transfer_init): Add size argument to formatted_transfer call. (iolength_transfer): Add size argument, cleanup. * io/write.c (write_complex): Add size argument, fix for padding with complex(10). (list_formatted_write): Add size argument, cleanup. (list_formatted_write_scalar): Add size argument, use it. (nml_write_obj): Fix for size vs. kind issue. * io/size_from_kind.c: New file. * Makefile.am: Add io/size_from_kind.c. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r106563
2005-11-06re PR tree-optimization/24670 (VRP ICE in compare_name_with_value)Diego Novillo4-2/+120
PR 24670 * tree-vrp.c (fix_equivalence_set): New. (extract_range_from_assert): Call it. testsuite/ PR 24670 * gcc.dg/tree-ssa/pr24670.c: New test. From-SVN: r106562
2005-11-06re PR libstdc++/18174 (documentation example for std::priority_queue usage)Paolo Carlini2-6/+10
2005-11-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/18174 * include/bits/stl_queue.h (priority_queue): Tweak a bit the comment describing the container. From-SVN: r106560
2005-11-06intrinsic.c (add_functions): Add ctime and fdate intrinsics.Francois-Xavier Coudert17-5/+534
* intrinsic.c (add_functions): Add ctime and fdate intrinsics. (add_subroutines): Likewise. * intrinsic.h: Prototypes for gfc_check_ctime, gfc_check_ctime_sub, gfc_check_fdate_sub, gfc_resolve_ctime, gfc_resolve_fdate, gfc_resolve_ctime_sub, gfc_resolve_fdate_sub. * gfortran.h: Add GFC_ISYM_CTIME and GFC_ISYM_FDATE. * iresolve.c (gfc_resolve_ctime, gfc_resolve_fdate, gfc_resolve_ctime_sub, gfc_resolve_fdate_sub): New functions. * trans-decl.c (gfc_build_intrinsic_function_decls): Add gfor_fndecl_fdate and gfor_fndecl_ctime. * check.c (gfc_check_ctime, gfc_check_ctime_sub, gfc_check_fdate_sub): New functions. * trans-intrinsic.c (gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate): New functions. (gfc_conv_intrinsic_function): Add cases for GFC_ISYM_CTIME and GFC_ISYM_FDATE. * intrinsic.texi: Documentation for the new CTIME and FDATE intrinsics. * trans.h: Declarations for gfor_fndecl_ctime and gfor_fndecl_fdate. * intrinsics/ctime.c: New file. * configure.ac: Add check for ctime. * Makefile.am: Add ctime.c * configure: Regenerate. * config.h.in: Regenerate. * Makefile.in: Regenerate. From-SVN: r106558
2005-11-06re PR target/22432 (Wrong code generation using MMX intrinsics on amd64)Ian Lance Taylor4-8/+41
./: PR target/22432 * combine.c (apply_distributive_law): Don't distribute across a vector mode subreg. testsuite/: PR target/22432 * gcc.target/i386/pr22432.c: New test. From-SVN: r106555
2005-11-06gcc_release: Always determine revision number from date or tag...Daniel Berlin2-18/+16
2005-11-05 Daniel Berlin <dberlin@dberlin.org> * gcc_release: Always determine revision number from date or tag, and use that, instead of fragile date based export. Put back setting of non-local CVSROOT. From-SVN: r106554
2005-11-06Daily bump.GCC Administrator1-1/+1
From-SVN: r106547
2005-11-05asm-1.c: Move from gcc.dg/asm-5.c.Richard Henderson11-3/+13
* gcc.target/alpha/asm-1.c: Move from gcc.dg/asm-5.c. * gcc.target/alpha/cix-1.c, gcc.target/alpha/cix-2.c, gcc.target/alpha/max-1.c, gcc.target/alpha/max-2.c, gcc.target/alpha/base-1.c, gcc.target/alpha/base-2.c: Move from gcc.dg/alpha-*. * gcc.target/alpha/980217-1.c, gcc.target/alpha/20011018-1.c, gcc.target/alpha/20000715-1.c: Move from gcc.dg/. From-SVN: r106538
2005-11-05configure.ac: Use AM_FCFLAGS for extra flags, not FCFLAGS.Richard Guenther3-9/+10
2005-11-05 Richard Guenther <rguenther@suse.de> * configure.ac: Use AM_FCFLAGS for extra flags, not FCFLAGS. * configure: Regenerate. From-SVN: r106535
2005-11-05decl.c, [...]: Fix comment typos.Kazu Hirata4-4/+9
* decl.c, trans-decl.c: Fix comment typos. * gfortran.texi: Fix a typo. From-SVN: r106534
2005-11-05* decl2.c, init.c, typeck.c: Fix comment typos.Kazu Hirata4-3/+7
From-SVN: r106533
2005-11-05c-typeck.c, [...]: Fix comment typos.Kazu Hirata15-16/+25
* c-typeck.c, config/i386/netware.h, config/m32c/cond.md, config/ms1/ms1.h, config/rs6000/predicates.md, config/s390/s390.c, params.def, postreload-gcse.c, tree-flow-inline.h, tree-ssa-operands.c, tree-vectorizer.c, tree-vrp.c, tree.c: Fix comment typos. * doc/invoke.texi: Fix typos. From-SVN: r106532
2005-11-05gcc_release: Make tags go in /tags.Daniel Berlin2-9/+17
2005-11-05 Daniel Berlin <dberlin@dberlin.org> * gcc_release: Make tags go in /tags. Don't tag for snapshots. Determine revision number of export and put into snapshot announcement. From-SVN: r106531
2005-11-05lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS for testing ↵Sebastian Pop7-158/+254
whether the data_dependence_relation... * lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS for testing whether the data_dependence_relation contains distance vectors. Iterate over all distance vectors of the ddr. * lambda.h: Define a vec of lambda_vector pointers. * tree-data-ref.c (dump_data_dependence_relation, dump_data_dependence_direction): Iterate over all distance and direction vectors of the ddr. (initialize_data_dependence_relation): Initialize DDR_DIR_VECTS and DDR_DIST_VECTS. (build_classic_dist_vector, build_classic_dir_vector): Push a set of distance/direction vectors instead of a single one. * tree-data-ref.h (dir_vects, dist_vects): Replace dir/dist lambda_vectors with a vec of lambda_vectors. (DDR_DIR_VECT, DDR_DIST_VECT): Redefined as operations on vec. (DDR_DIR_VECTS, DDR_DIST_VECTS, DDR_NUM_DIR_VECTS, DDR_NUM_DIST_VECTS): New. * tree-loop-linear.c (gather_interchange_stats): Test for the existence of distance vectors only after having checked that there is a dependence. Iterate over all distance vectors of the ddr. (linear_transform_loops): Use dump_data_dependence_relation. * tree-vect-analyze.c (vect_analyze_data_ref_dependence): Test for distance vectors using DDR_NUM_DIST_VECTS. Iterate over all the distance vectors of the ddr. From-SVN: r106530
2005-11-05check.tpl: Adopt for move to subversion.Andreas Jaeger2-3/+7
* check.tpl: Adopt for move to subversion. From-SVN: r106527
2005-11-05bfin.c (n_dregs_to_save, [...]): New argument IS_INTHANDLER; all callers ↵Bernd Schmidt2-36/+69
changed. * config/bfin/bfin.c (n_dregs_to_save, n_pregs_to_save, expand_prologue_reg_save, expand_epilogue_reg_restore): New argument IS_INTHANDLER; all callers changed. (n_regs_saved_by_prologue): Take interrupt handler attributes into account. (do_link, do_unlink): New argument ALL; all callers changed. (expand_interrupt_handler_prologue, expand_interrupt_handler_epilogue): If function isn't leaf, save and restore all registers. (bfin_function_ok_for_sibcall): Only true if not an interrupt or exception handler. From-SVN: r106526