aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-11-26* typeck.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r91340
2004-11-26* cse.c, tree-ssa-operands.c: Fix comment typos.Kazu Hirata3-5/+9
From-SVN: r91339
2004-11-26re PR target/18510 (GCC should have instrinsics for SPARC VIS instructions)James A. Morrison2-0/+45
2004-11-26 James A. Morrison <phython@gcc.gnu.org> PR target/18510 * doc/extend.texi (SPARC VIS Built-in Functions): New section. From-SVN: r91338
2004-11-26* gcc.dg/sibcall-[34].c: Remove MIPS xfails.Richard Sandiford3-2/+6
From-SVN: r91337
2004-11-26* g++.old-deja/g++.jason/thunk3.C: Remove mips*-*-* xfail.Richard Sandiford2-1/+5
From-SVN: r91336
2004-11-26bitmap.c (bitmap_find_bit): Speed up by traversing from head->first if that ↵Kazu Hirata2-2/+17
seems profitable. * bitmap.c (bitmap_find_bit): Speed up by traversing from head->first if that seems profitable. From-SVN: r91335
2004-11-26cfgrtl.c (try_redirect_by_replacing_jump): Speed up the check that tests if ↵Kazu Hirata2-7/+15
all edges go to the same destination. * cfgrtl.c (try_redirect_by_replacing_jump): Speed up the check that tests if all edges go to the same destination. From-SVN: r91334
2004-11-25timevar.def (TV_TREE_LOOP_INIT, [...]): New timevars.Jeff Law3-2/+10
* timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars. * tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT. (pass_loop_done): Use TV_TREE_LOOP_FINI. From-SVN: r91333
2004-11-26isysroot-2.c: Move target selector from dg-options to dg-do directive.Ben Elliston2-2/+7
* gcc.dg/cpp/isysroot-2.c: Move target selector from dg-options to dg-do directive. From-SVN: r91332
2004-11-26* gcc.dg/pr17957.c: Pass --param, not -param.Ben Elliston2-1/+5
From-SVN: r91331
2004-11-26Fix "PACKAGE_NAME redefined" errors.Bryce McKinlay6-152/+167
2004-11-26 Bryce McKinlay <mckinlay@redhat.com> Fix "PACKAGE_NAME redefined" errors. * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h and include/gc_config.h. * configure: Regenerated. * include/gc_config.h.in: No longer auto-generated. Define only the macros needed by libjava. * include/config.h.in: Generated by autoheader. * include/gc.h: Include config.h, not gc_config.h. From-SVN: r91330
2004-11-26fix weird changelog damage in last commitAlan Modra1-1/+25
From-SVN: r91326
2004-11-26re PR rtl-optimization/16356 (Failure to use count register (branch on count ↵Alan Modra2-59/+45
register)) PR rtl-optimization/16356 * config/rs6000/rs6000.md (floatdisf2_internal2): Rewrite with separate output register and one less jump. Enable for powerpc64. (floatdisf2): Adjust for above. From-SVN: r91324
2004-11-26xtensa.h (STARTFILE_SPEC): Add crt0.Bob Wilson2-1/+28
* config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0. (GCC_DRIVER_HOST_INITIALIZATION): Define. From-SVN: r91323
2004-11-25re PR middle-end/17957 (vector type node used after garbage-collected)Andrew Pinski5-14/+57
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17957 * testsuite/gcc.dg/pr17957.c: New test. 2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17957 * tree-complex.c (vector_inner_type): New variable moved from build_word_mode_vector_type. (vector_last_type): Likewise. (vector_last_nunits): Likewise. (build_word_mode_vector_type): Use the new variables. * Makefile.in (tree-complex.o): Add gt-tree-complex.h $(GGC_H). (GTFILES): Add tree-complex.c. (gt-tree-complex.h): New rule, add it to the rest of the gt-* rules. From-SVN: r91322
2004-11-26xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __XTENSA_WINDOWED_ABI__.Bob Wilson2-0/+6
* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __XTENSA_WINDOWED_ABI__. From-SVN: r91321
2004-11-26natDebug.cc (getField): Don't qualify name.Tom Tromey3-9/+21
* gnu/gcj/util/natDebug.cc (getField): Don't qualify name. * java/lang/Class.h (_Jv_Linker): Declare. (Class): Fix names of friends. (_Jv_getInterfaceMethod): Declare. From-SVN: r91320
2004-11-25dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument.Richard Henderson4-32/+48
* dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument. Save args_size adjustments for calls even with cfa as stack pointer. Search calls for stack adjustments after the insn is issued. (dwarf2out_frame_debug): Add after_p argument; pass it on. * dwarf2out.h (dwarf2out_frame_debug): Update to match. * final.c (final_start_function, final_scan_insn): Likewise. From-SVN: r91319
2004-11-25re PR c++/6764 (Throwing exception causes crash with '-O2 -fomit-frame-pointer')Richard Henderson3-0/+50
PR c++/6764 * reload1.c (set_initial_eh_label_offset): New. (set_initial_label_offsets): Use it. From-SVN: r91318
2004-11-26sh.c (sh_output_mi_thunk): Initialize bitmap obstacks before calling ↵Kaz Kojima2-0/+12
life_analysis and release them after. * config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks before calling life_analysis and release them after. From-SVN: r91317
2004-11-26tree-ssa-forwprop.c (substitute_single_use_vars): Remove duplicate code.Kazu Hirata2-11/+9
* tree-ssa-forwprop.c (substitute_single_use_vars): Remove duplicate code. From-SVN: r91316
2004-11-26configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.John David Anglin3-4/+10
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs. (hppa*64*-*-*): Delete incorrect comment. * configure: Rebuilt. From-SVN: r91315
2004-11-26libjava.exp (libjava_arguments): Add new global variable ↵John David Anglin2-3/+13
libjava_ld_library_path. * testsuite/lib/libjava.exp (libjava_arguments): Add new global variable libjava_ld_library_path. (gcj_invoke, libjava_invoke): Use it to set ld_library_path. From-SVN: r91314
2004-11-26Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r91312.2
2004-11-26Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r91311.2
2004-11-25bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not BITMAP_OBSTACK_ALLOC.Andrew Pinski2-2/+8
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> * bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not BITMAP_OBSTACK_ALLOC. (BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE. From-SVN: r91309
2004-11-25parts of PR rtl-opt/18463, rtl-opt/17647Andrew Pinski2-0/+63
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu> parts of PR rtl-opt/18463, rtl-opt/17647 * cse.c (canon_for_address): New function. (find_best_addr): Call canon_for_address before getting the address's cost when checking if we should take that address. From-SVN: r91308
2004-11-25tree-phinodes.c (add_phi_arg): Take "tree" instead of "tree *" as the first ↵Kazu Hirata13-42/+52
argument. * tree-phinodes.c (add_phi_arg): Take "tree" instead of "tree *" as the first argument. * tree-flow.h: Update the prototype of add_phi_arg. * lambda-code.c, tree-cfg.c, tree-into-ssa.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c, tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c, tree-vectorizer.c: Update all call sites of add_phi_arg. From-SVN: r91307
2004-11-25bitmap.c (bitmap_malloc_alloc, [...]): Remove.Nathan Sidwell3-46/+22
* bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove. * bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove. (BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC. (BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE. From-SVN: r91306
2004-11-25re PR tree-optimization/18587 (build_v_may_defs and build_vuses can be ↵Andrew MacLeod5-89/+286
improved when adding) 2004-11-25 Andrew Macleod <amacleod@redhat.com> PR tree-optimization/18587 * tree-flow-inline.h (mark_call_clobbered, mark_non_addressable): Flag call clobbered caches as invalid. * tree-ssa-operands.c (ssa_call_clobbered_cache_valid): New. Flag indicating whether the call clobbered operand cache is valid. (ssa_ro_call_cache_valid): New. Flag indicating whether the pure/const call operand cache is valid. (clobbered_v_may_defs, clobbered_vuses, ro_call_vuses): New. cached list of operands for cached call virtual operands. (clobbered_aliased_loads, clobbered_aliased_stores, ro_call_aliased_load): New. flags caching whether alias bits are to be set in call stmt's. */ (fini_ssa_operands): Remove call operand caches if present. (get_expr_operands, get_asm_expr_operands, get_indirect_ref_operands): Pass stmt annotation to add_stmt_operand. (get_call_expr_operands): Add call clobbered variables first. (add_stmt_operand): Take stmt annotation rather than stmt as a param. (add_call_clobber_ops, add_call_read_ops): Use the call operand cache if it is valid, otherise fill the cache. * tree-ssa-operands.h (ssa_clobbered_cache_valid): Declare extern. * tree-flow.h (struct var_ann_d): Add in_vuse_list and in_v_may_def_list bits. * tree-ssa-operands.c (cleanup_v_may_defs): New. Clear the in_list bits for the v_may_def elements and empty the operand build array. (finalize_ssa_vuses): Use cleanup_v_may_defs and remove redundant VUSES by checking the in_v_may_def_list bit. (append_v_may_def, append_vuse): Use the in_list bit rather than scanning the array for duplicates. From-SVN: r91305
2004-11-25ResourceBundle.java (BundleKey): Don't implement Cloneable.Bryce McKinlay2-14/+9
2004-11-25 Bryce McKinlay <mckinlay@redhat.com> * java/util/ResourceBundle.java (BundleKey): Don't implement Cloneable. (BundleKey.clone): Removed. (getBundle): Copy BundleKey using constructor, not clone(). From-SVN: r91304
2004-11-25s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF displacements are not short.Ulrich Weigand2-1/+7
* config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF displacements are not short. From-SVN: r91303
2004-11-25s390.c (legitimize_pic_address): Use s390_load_address to load addresses.Ulrich Weigand2-4/+9
* config/s390/s390.c (legitimize_pic_address): Use s390_load_address to load addresses. From-SVN: r91302
2004-11-25re PR c++/18001 (Badly formatted error message (quotation problem))Mark Mitchell21-130/+232
PR c++/18001 * c-common.h (lvalue_use): Move here from c-ctypeck.c. (lvalue_or_else): Declare. * c-common.c (lvalue_or_else): Move here from c-typeck.c. * c-typeck.c (lvalue_use): Remove. (lvalue_or_else): Remove. PR c++/18556 * toplev.c (check_global_declarations): Set DECL_IGNORED_P on unemitted variables with static storage duration. PR c++/18445 * class.c (instantiate_type): Treat NON_DEPENDENT_EXPRs with unknown_type as non matching. Tidy up. * pt.c (build_non_dependent_expr): Do not build a NON_DEPENDENT_EXPR for a VAR_DECL. PR c++/18001 * cp-tree.h (lvalue_or_else): Remove declaration. * tree.c (lvalue_or_else): Remove. * typeck.c (build_unary_op): Adjust call to lvalue_or_else. (build_modify_expr): Likewise. PR c++/18625 * decl.c (duplicate_decls): Return error_mark_node on error, as specified. PR c++/18466 * decl.c (grokvardecl): Keep track of whether or not a there was explicit qualification. * name-lookup.c (set_decl_namespace): Complain about explicit qualification of a name within its own namespace. PR c++/18545 * typeck.c (check_return_expr): Robustify. PR c++/18445 * g++.dg/template/crash28.C: Likewise. PR c++/18001 * g++.dg/expr/unary2.C: Adjust lvalue messages. * g++.dg/ext/lvaddr.C: Likewise. * g++.dg/opt/pr7503-3.C: Likewise. PR c++/18466 * g++.dg/parse/qualified3.C: New test. * g++.old-deja/g++.other/friend7.C: Remove bogus qualification. PR c++/18545 * g++.dg/expr/return1.C: New test. From-SVN: r91301
2004-11-25Friend class name lookup 3/n, PR c++/3332Kriang Lerdsuwanakij8-17/+217
Friend class name lookup 3/n, PR c++/3332 * name-lookup.c (push_inner_scope, pop_inner_scope): New functions. (lookup_type_scope): Don't deal with name from user declaration specially. * name-lookup.h (push_inner_scope, pop_inner_scope): Add declarations. * parser.c (cp_parser_class_specifier): Use push_inner_scope and pop_inner_scope. * g++.dg/lookup/friend3.C: New test. * g++.dg/lookup/friend4.C: Likewise. * g++.dg/lookup/friend5.C: Likewise. From-SVN: r91300
2004-11-25Friend class name lookup 2/n, PR c++/14513, c++/15410Kriang Lerdsuwanakij11-55/+176
Friend class name lookup 2/n, PR c++/14513, c++/15410 * name-lookup.c (lookup_name_real): Simplify. (lookup_type_scope): Add SCOPE parameter. Handle friend class lookup. * name-lookup.h (tag_scope): New enum type. (lookup_type_scope): Adjust declaration. * decl.c (lookup_and_check_tag, xref_tag, xref_tag_from_type): Change bool parameter GLOBALIZED to TAG_SCOPE parameter SCOPE. (start_enum): Likewise. Add assertion test that NAME is IDENTIFIER_NODE. Use anonymous name for dummy ENUMERAL_TYPE in case of error. * cp-tree.h (xref_tag, xref_tag_from_type): Adjust declarations. * parser.c (cp_parser_elaborated_type_specifier, cp_parser_class_head): Adjust call to xref_tag. * pt.c (lookup_template_class, instantiate_class_template): Likewise. * rtti.c (init_rtti_processing, build_dynamic_cast_1, tinfo_base_init, emit_support_tinfos): Likewise. * g++.dg/lookup/friend2.C: New test. * g++.dg/template/friend31.C: Likewise. From-SVN: r91299
2004-11-25Resync.Arnaud Charlet1-0/+10
From-SVN: r91298
2004-11-25g-socthi-mingw.ads, [...]: Remove C_Read and C_Write from internal ↵Arnaud Charlet3-27/+1
implementation unit GNAT.Sockets.Thin... * g-socthi-mingw.ads, g-socthi-vms.ads: Remove C_Read and C_Write from internal implementation unit GNAT.Sockets.Thin, as their usage for sockets is non-portable (using the read and write functions from the system runtime library is fine on UNIX but won't work under Windows). * mingw32.h: Update copyright notice. From-SVN: r91297
2004-11-25ada-tree.h: Minor reformatting of previous change to avoid lines longer than ↵Arnaud Charlet2-2/+8
79 characters. * ada-tree.h: Minor reformatting of previous change to avoid lines longer than 79 characters. From-SVN: r91296
2004-11-25ChangeLog: Remove duplicate lines.Benjamin Kosnik1-38/+0
2004-11-24 Benjamin Kosnik <bkoz@redhat.com> * ChangeLog: Remove duplicate lines. From-SVN: r91295
2004-11-25libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.Kelley Cook13-11/+78
2004-11-24 Kelley Cook <kcook@gcc.gnu.org> * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. * boehm-gc/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libjava/configure: Regenerate. * libobjc/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * zlib/configure: Regenerate. From-SVN: r91293
2004-11-25Makefile.am: Revert previous.Kelley Cook7-34/+960
2004-11-24 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Revert previous. * acinclude.m4: Restore. * aclocal.m4, configure, Makefile.in: Regenerate. * testsuite/Makefile.in: Likewise. From-SVN: r91292
2004-11-25tree-cfg.c (tree_verify_flow_info): Do not terminate error() message with \n.Gerald Pfeifer2-1/+6
* tree-cfg.c (tree_verify_flow_info): Do not terminate error() message with \n. From-SVN: r91291
2004-11-25tb-gcc.c: GCC infrastructure based implementation of __gnat_backtrace.Olivier Hainque2-0/+107
* tb-gcc.c: GCC infrastructure based implementation of __gnat_backtrace. From-SVN: r91290
2004-11-25Complete previous check-in: add Style_Check_Xtra_Parens.Arnaud Charlet1-14/+19
From-SVN: r91289
2004-11-25Makefile.am: Added most of javax.print again.Michael Koch3-0/+305
2004-11-25 Michael Koch <konqueror@gmx.de> * Makefile.am: Added most of javax.print again. * Makefile.in: Regenerated. From-SVN: r91288
2004-11-25altivec.md (VIshort): New mode macro.Nathan Sidwell3-454/+208
* config/rs6000/altivec.md (VIshort): New mode macro. (altivec_vaddubs, altivec_vadduhs, altivec_vadduws): Replace with ... (altivec_vaddu<VI_char>s): ... this. (altivec_vaddsbs, altivec_vaddshs, altivec_vaddsws): Replace with ... (altivec_vadds<VI_char>s): ... this. (altivec_vsububs, altivec_vsubuhs, altivec_vsubuws): Replace with ... (altivec_vsubu<VI_char>s): ... this. (altivec_vsubsbs, altivec_vsubshs, altivec_vsubsws): Replace with ... (altivec_vsubs<VI_char>s): ... this. (altivec_vavgub, altivec_vavguh, altivec_vavguw): Replace with ... (altivec_vavgu<VI_char>): ... this. (altivec_vavgsb, altivec_vavgsh, altivec_vavgsw): Replace with ... (altivec_vavgs<VI_char>): ... this. (altivec_vmsumubm, altivec_vmsumuhm): Replace with ... (altivec_vmsumu<VI_char>m): ... this. (altivec_vmsummbm, altivec_vmsummhm): Replace with ... (altivec_vmsumm<VI_char>m): ... this. (altivec_vandc): Remove. (*andc<mode>3): Renamed to ... (andc<mode>3): ... here. Swap operand 1 and 2 numbering. (altivec_vrlb, altivec_vrlh, altivec_vrlw): Replace with ... (altivec_vrl<VI_char>): ... this. (altivec_vslb, altivec_vslh, altivec_vslw): Replace with ... (altivec_vsl<VI_char>): ... this. (altivec_vsrb, altivec_vsrh, altivec_vsrw): Replace with ... (altivec_vsr<VI_char>): ... this. (altivec_vsrab, altivec_vsrah, altivec_vsraw): Replace with ... (altivec_vsra<VI_char>): ... this. (altivec_vsum4sbs, altivec_vsum4shs): Replace with ... (altivec_vsum4s<VI_char>s): ... this. (altivec_vperm_4si, altivec_vperm_8hi, altivec_vperm_16qi): Replace with ... (altivec_vperm_<mode>): ... this. (altivec_vsel_4sf): Rename to ... (altivec_vsel_v4sf): ... here. (altivec_vsel_4si, altivec_vsel_8hi, altivec_vsel_16qi): Replace with ... (altivec_vsel_<mode>): ... this. (altivec_vsldoi_4si, altivec_vsldoi_8hi, altivec_vsldoi_16qi): Rename to ... (altivec_vsldoi_v4si, altivec_vsldoi_v8hi, altivec_vsldoi_v16qi): ... here. (altivec_vsldoi_4sf): Rename to ... (altivec_vsldoi_v4sf): ... here. (altivec_predicate_v4si, altivec_predicate_v8hi, altivec_predicate_v16qi): Replace with ... (altivec_predicate_<mode>): ... this. (altivec_lvebx, altivec_lvehx, altivec_lvewx): Replace with ... (altivec_lve<VI_char>x): ... this. (altivec_stvebx, altivec_stvehx, altivec_stvewx): Replace with ... (altivec_stve<VI_char>x): ... this. (absv16qi2, absv8hi2, absv4si2): Replace with ... (abs<mode>2): ... this. (altivec_abss_v16qi, altivec_abss_v8hi, altivec_abss_v4si): Replace with ... (altivec_abss_<mode>): ... this. (vec_realign_load_v16qi, vec_realign_load_v8hi, vec_realign_load_v4si): Replace with ... (vec_realign_load_<mode>): ... this. * config/rs6000/rs6000.c (bdesc_3arg, bdesc_2arg): Update tweaked insn names. (rs6000_expand_ternop_builtin): Likewise. From-SVN: r91287
2004-11-25Makefile.am: Added most of javax.print again.Michael Koch1-0/+5
2004-11-25 Michael Koch <konqueror@gmx.de> * Makefile.am: Added most of javax.print again. * Makefile.in: Regenerated. From-SVN: r91286
2004-11-25Add missing file from gcj-abi-2-dev-branch mergeAndrew Haley1-0/+118
From-SVN: r91285
2004-11-25Add missing file from gcj-abi-2-dev-branch merge.Andrew Haley1-0/+226
From-SVN: r91284