aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-01unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while ↵Olivier Hainque2-11/+29
scanning for multiple back edges. 2001-12-01 Olivier Hainque <hainque@act-europe.fr> * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges. From-SVN: r47510
2001-12-01ppc-asm.h (JUMP_TARGET): New macro.Franz Sirl3-1/+14
2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * ginclude/ppc-asm.h (JUMP_TARGET): New macro. * config/rs6000/tramp.asm: Use it. From-SVN: r47509
2001-12-01Daily bump.GCC Administrator6-6/+6
From-SVN: r47507
2001-12-01gencheck.c, [...]: Don't define xmalloc.Zack Weinberg6-92/+11
* gencheck.c, gengenrtl.c: Don't define xmalloc. * gensupport.c: Don't define xstrdup, xcalloc, xrealloc, xmalloc. * f/fini.c: Use xmalloc. From-SVN: r47506
2001-12-01exception (bad_exception::~bad_exception()): Remove declaration.Benjamin Kosnik8-16/+19
2001-11-30 Benjamin Kosnik <bkoz@redhat.com> libstdc++/3150 DR/266 * libsupc++/exception (bad_exception::~bad_exception()): Remove declaration. * libsupc++/new (bad_alloc::~bad_alloc()): Remove. * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove. (bad_typeid::~bad_typeid()): Remove. * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition. (bad_typeid::~bad_typeid()): Same. * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same. * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same. * include/bits/std_iomanip.h: Tweak. From-SVN: r47505
2001-12-01* pa.c (output_ascii): Cast `p' to unsigned char.John David Anglin2-1/+5
From-SVN: r47504
2001-12-01Makefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency.Graham Stott3-8/+21
2001-12-01 Graham Stott <grahams@redhat.com> * Makefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency. * misc.c: Include optabs.h (gnat_tree_code_type): Make static and const. (gnat_tree_code_length): Likewise. (gnat_tree_code_name): Likewise. (update_setjmp_buf): Obtain operands mode from insn_data. From-SVN: r47503
2001-12-01rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ↵Daniel Berlin6-235/+487
ALTIVEC_BUILTIN_ST_INTERNAL_4sf... 2001-11-30 Daniel Berlin <dan@cgsoftware.com> * config/rs6000/rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf, *_16qi,_8hi, rename existing V4SI ones to *_4si. (altivec_init_builtins): Ditto. (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file. * config/rs6000/rs6000.md: Add attribute types vecsimple, veccomplex, vecfloat, and vecperm, for altivec instructions. Modify altivec patterns to use approriate attribute type. Modify altivec patterns to match RTL operations where approriate (IE no unspec where we can avoid it). Add vector unit scheduling for ppc7450. Rename patterns to what they are where approriate (altivec_vaddfp->addv4sf3, etc) * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR. Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used. * config/rs6000/sysv4.h: Add -mcpu=7450. * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed _builtin_altivec_ld_interal function. From-SVN: r47502
2001-12-01configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, ↵Kaveh R. Ghazi7-265/+182
strrchr, isascii, gettimeofday. * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isascii, gettimeofday. * config.in, configure: Regenerate. f: * Make-lang.in: Delete references to proj.[co], proj-h.[co]. * proj.c: Delete file. From-SVN: r47501
2001-11-30* unroll.c (unroll_loop): Correct special exit cases.Zoltan Hidvegi2-9/+36
From-SVN: r47499
2001-11-30sparc.c (DF_MODES_NO_S): Fix pr/3623, define to accept DFmode and DImode only.Stephane Carrez2-1/+6
* config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to accept DFmode and DImode only. From-SVN: r47497
2001-11-30rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.Aldy Hernandez2-2/+9
2001-11-30 Aldy Hernandez <aldyh@redhat.com> * rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec. (STACK_DYNAMIC_OFFSET): Same. From-SVN: r47495
2001-11-30* c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.Richard Henderson2-0/+5
From-SVN: r47494
2001-11-30rs6000.h (CALL_REALLY_USED_REGISTERS): New.Aldy Hernandez2-6/+33
2001-11-30 Aldy Hernandez <aldyh@redhat.com> * rs6000.h (CALL_REALLY_USED_REGISTERS): New. (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to the values in call_used_registers. From-SVN: r47493
2001-11-30gthr-dce.h: If _DCE_THREADS is not defined, then just include gthr-single.Jeffrey A Law2-0/+12
* gthr-dce.h: If _DCE_THREADS is not defined, then just include gthr-single. From-SVN: r47490
2001-11-30dwarf2out.c (is_cxx): New fn.Jason Merrill3-2/+15
* dwarf2out.c (is_cxx): New fn. (add_data_member_location_attribute): Check it. * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++. From-SVN: r47483
2001-11-30* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.Richard Kenner2-2/+7
From-SVN: r47482
2001-11-30* class.c (add_interface_do): Set BINFO_VPTR_FIELD.Bryce McKinlay2-0/+5
From-SVN: r47480
2001-11-30Daily bump.GCC Administrator6-6/+6
From-SVN: r47479
2001-11-30genopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed.Daniel Berlin2-3/+11
2001-11-30 Daniel Berlin <dan@cgsoftware.com> * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed. From-SVN: r47476
2001-11-30Purge cruft now we have build libiberty.Zack Weinberg11-772/+237
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR, HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR, USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT, USE_HOST_STRSTR): Delete variables. (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o, hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o, $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules. (LIBIBERTY, BUILD_LIBIBERTY): New variables. (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY). (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY). (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY). (HOST_LIBS): Ditto. (HOST_RTL): Remove hashtab.o safe-ctype.o. (OBJS): Remove splay-tree.o. (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a. (distclean): No need to delete splay-tree.c obstack.c hashtab.c safe-ctype.c. (mostlyclean): Delete build copies of print-rtl.c bitmap.c errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1). * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR): Delete. * configure.in: Don't use them. Set and substitute @FORBUILD@. * config.in, configure: Regenerate. * doprint.c: Move to libiberty/_doprnt.c. * doc/configterms.texi: Document that libiberty is now built up to three times. Fix typo. * f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS) and link with $(HOST_LIBS), not safe-ctype.o. From-SVN: r47475
2001-11-30re PR c++/3048 (Lookup problem (gcc 2.95 regression))Mark Mitchell5-21/+47
2001-11-29 Mark Mitchell <mark@codesourcery.com> PR c++/3048 * cp-tree.h (ovl_member): Remove. * decl2.c (merge_functions): Handle extern "C" functions specially. * tree.c (ovl_member): Remove. From-SVN: r47474
2001-11-30Remove ">>>"Bryce McKinlay1-1/+0
From-SVN: r47472
2001-11-30Makefile.am (nat_headers, [...]): Depend on .class files, not libgcj.jar.Bryce McKinlay5-1308/+126
* Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not libgcj.jar. (nat_files, x_nat_files): Build native files in subdirectories using the same dependency options as the java files. (gnu/gcj/runtime/FirstThread.h): Remove explicit rule and friend declarations. * configure.in: Put dependencies for .cc files in deps.mak. * Makefile.in: Rebuilt. * configure: Rebuilt. From-SVN: r47471
2001-11-29dwarf2out.c (add_data_member_location_attribute): Do the right thing for ↵Jason Merrill3-14/+70
virtual bases. * dwarf2out.c (add_data_member_location_attribute): Do the right thing for virtual bases. * dbxout.c (dbxout_type): For a virtual base, print the offset within the vtable. From-SVN: r47469
2001-11-29doloop.c (doloop_valid_p): Check for LTU and GTU as well.Zoltan Hidvegi2-6/+25
2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net> * doloop.c (doloop_valid_p): Check for LTU and GTU as well. From-SVN: r47468
2001-11-30rs6000.c (function_arg): Unnamed vector arguments go in memory.Aldy Hernandez2-2/+8
* rs6000.c (function_arg): Unnamed vector arguments go in memory. Remove unused attribute for named. From-SVN: r47466
2001-11-30genattrtab.c (attr_rtx_1): New function containing the majority of `attr_rtx'.Kaveh R. Ghazi2-34/+34
* genattrtab.c (attr_rtx_1): New function containing the majority of `attr_rtx'. Move variable declarations into the scope where they are used. Eliminate unnecessary gotos. (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN, VA_FIXEDARG, and VA_CLOSE. From-SVN: r47465
2001-11-30* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix typo in comment.Hans-Peter Nilsson2-1/+2
From-SVN: r47464
2001-11-30cris.c (cris_notice_update_cc): Check first destination also against overlap ↵Hans-Peter Nilsson3-18/+42
with cc_status.value2 and second... * config/cris/cris.c (cris_notice_update_cc): Check first destination also against overlap with cc_status.value2 and second destination against overlap with cc_status.value1. For overlaps, clear overlapped value, don't just CC_STATUS_INIT. * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME. (LINK_SPEC): Remove whitespace at end of line. From-SVN: r47463
2001-11-29* c-lex.c (init_c_lex): Canonicalize "-" filename to "".Jakub Jelinek2-1/+5
From-SVN: r47461
2001-11-29gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG macros for the ↵Jakub Jelinek2-10/+14
supported debugging types. * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG macros for the supported debugging types. From-SVN: r47460
2001-11-29locale_facets.tcc (__pad): Add bool parameter to correctly pad ↵Paolo Carlini5-25/+42
internal-adjusted const char*-type objects. 2001-11-29 Paolo Carlini <pcarlini@unitus.it> libstdc++/3655 * include/bits/locale_facets.tcc (__pad): Add bool parameter to correctly pad internal-adjusted const char*-type objects. * include/bits/locale_facts.tcc (num_put::_M_insert): Update call. * include/bits/ostream.tcc (operator<<(_CharT , char, const _CharT*, const char*, const basic_string&): Update calls. * src/locale-inst.tcc: Update declarations. * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test. From-SVN: r47459
2001-11-29re PR c++/4842 (-Woverloaded-virtual does not work)Mark Mitchell3-78/+75
PR c++/4842 * class.c (get_basefndecls): Take an IDENTIFIER_NODE, not a FUNCTION_DECL, as input. (mark_overriders): Remove. (warn_hidden): Rework for the new ABI. From-SVN: r47458
2001-11-29re PR c++/3471 (gcc 3.01 reports error about a private copy constructor that ↵Mark Mitchell1-2/+2
shouldn't get called.) PR c++/3471 * call.c (convert_like_real): Do not build additional temporaries for rvalues of class type. From-SVN: r47455
2001-11-29re PR other/4932 (the i386 backend crashes on incorrect asm("... %c0 ..."))Craig Rodrigues2-0/+14
2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org> PR other/4932 * config/i386/i386.c (print_operand): Verify that the argument to %c is a constant and not a conditional which needs to be reversed. From-SVN: r47453
2001-11-29howto.html: Finish allocator notes (inst and 3.0).Phil Edwards2-5/+26
2001-11-29 Phil Edwards <pme@gcc.gnu.org> * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0). From-SVN: r47452
2001-11-29re PR c++/3471 (gcc 3.01 reports error about a private copy constructor that ↵Mark Mitchell5-7/+36
shouldn't get called.) PR c++/3471 * call.c (convert_like_real): Do not build additional temporaries for rvalues of class type. From-SVN: r47451
2001-11-29locale_facets.tcc (num_get::do_get(long double)): Fix __traits_type typo.Benjamin Kosnik2-2/+7
2001-11-29 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.tcc (num_get::do_get(long double)): Fix __traits_type typo. From-SVN: r47449
2001-11-29memtemp100.C: Remove non-standard constructs.Mark Mitchell2-5/+10
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard constructs. From-SVN: r47448
2001-11-29emit-rtl.c (gen_lowpart_common): Fix conversion of REAL_VALUE_TYPEs to an ↵Geoffrey Keating2-34/+24
array of target integers. * emit-rtl.c (gen_lowpart_common): Fix conversion of REAL_VALUE_TYPEs to an array of target integers. Fix extraction of low part of those arrays for 32bit and 64bit hosts. From-SVN: r47446
2001-11-29* init.c: Remove obsolete dwarf2 frame.h section.Richard Henderson2-322/+5
From-SVN: r47445
2001-11-29cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.Nathan Sidwell10-350/+138
cp: * cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base. (ACCESSIBLY_UNIQUELY_DERIVED_FROM_P): Likewise. (PUBLICLY_UNIQUELY_DERIVED_FROM_P: Likewise. (DERIVED_FROM_P): Likewise. (enum base_access): Renumber, add ba_quiet bit mask. (get_binfo): Remove. (get_base_distance): Remove. (binfo_value): Remove. (ACCESSIBLY_DERIVED_FROM_P): Remove. * call.c (standard_conversion): Use lookup_base. * class.c (strictly_overrides): Likewise. (layout_virtual_bases): Likewise. (warn_about_ambiguous_direct_bases): Likewise. (is_base_of_enclosing_class): Likewise. (add_vcall_offset_vtbl_entries_1): Likewise. * cvt.c (build_up_reference): Adjust comment. * init.c (build_member_call): Reformat. * search.c (get_binfo): Remove. (get_base_distance_recursive): Remove. (get_base_distance): Remove. (lookup_base_r): Tweak. (lookup_base): Add ba_quiet control. Complete the types here. (covariant_return_p): Use lookup_base. * tree.c (binfo_value): Remove. (maybe_dummy_object): Use lookup_base. * typeck.c (build_static_cast): Use lookup_base. (get_delta_difference): Likewise. * typeck2.c (binfo_or_else): Use lookup_base. (build_scoped_ref): Add back error_mark_check. (build_m_component_ref): Use lookup_base. From-SVN: r47444
2001-11-29* Makefile.in (insn-output.o): Depend on insn-codes.h.Kaveh R. Ghazi2-1/+5
From-SVN: r47443
2001-11-29configure.in (target_list): Add generated-manpages.Joseph Myers15-14/+50
* configure.in (target_list): Add generated-manpages. * configure: Regenerate. * Makefile.in (generated-manpages): Depend on lang.generated-manpages. * objc/Make-lang.in (objc.generated-manpages): New dummy target. ada: * Make-lang.in (ada.generated-manpages): New dummy target. ch: * Make-lang.in (CHILL.generated-manpages): New dummy target. cp: * Make-lang.in (c++.generated-manpages): New dummy target. f: * Make-lang.in (f77.generated-manpages): New target. ($(srcdir)/f/g77.1): Don't check $(GENERATED_MANPAGES). Allow manpage generation to fail. (f77.info): Don't depend on $(srcdir)/f/g77.1. (f77.install-man): Depend on $(GENERATED_MANPAGES) rather than directly on $(srcdir)/g77.1. java: * Make-lang.in (java.generated-manpages): New dummy target. From-SVN: r47442
2001-11-29Mark _init and _fini as Thumb functions if compiled in thumb mode.Nick Clifton2-0/+12
From-SVN: r47441
2001-11-29Daily bump.GCC Administrator6-6/+6
From-SVN: r47439
2001-11-29mips.c (override_options): Fix thinko in mips_tune for mips32/mips64.Eric Christopher2-15/+12
2001-11-28 Eric Christopher <echristo@redhat.com> * config/mips/mips.c (override_options): Fix thinko in mips_tune for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits. From-SVN: r47438
2001-11-28Fix comment typo.Richard Henderson1-1/+1
From-SVN: r47437
2001-11-29alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG.John Wehle2-1/+6
* alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG. From-SVN: r47436