summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* * m68k.c (init_FPA_table): Provide static prototype.ghazi2001-12-016-6/+17
| | | | | | | | | | * mips/abi64.h (mips_function_value): Move prototype to ... * mips-protos.h (mips_function_value): ... here. * mips.c: Include halfpic.h. * output.h (rdata_section): Prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47516 138bc75d-0d04-0410-961f-82ee72b054a4
* * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.ghazi2001-12-016-4/+29
| | | | | | | | | | | | * m88k.c (m88k_svr3_asm_out_constructor, m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN && !OBJECT_FORMAT_ELF. * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF. * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF. * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47515 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complexgeoffk2001-12-013-13/+20
| | | | | | | | | LO_SUM addresses less than word size are not legitimate, because they lead to invalid SUBREGs. * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47514 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-01 Olivier Hainque <hainque@act-europe.fr>sirl2001-12-012-11/+29
| | | | | | | | * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47510 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>sirl2001-12-013-1/+14
| | | | | | | | * ginclude/ppc-asm.h (JUMP_TARGET): New macro. * config/rs6000/tramp.asm: Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47509 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2001-12-012-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47507 138bc75d-0d04-0410-961f-82ee72b054a4
* * gencheck.c, gengenrtl.c: Don't define xmalloc.zack2001-12-016-92/+11
| | | | | | | | | * gensupport.c: Don't define xstrdup, xcalloc, xrealloc, xmalloc. * f/fini.c: Use xmalloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47506 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.c (output_ascii): Cast `p' to unsigned char.danglin2001-12-012-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47504 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-01 Graham Stott <grahams@redhat.com>guerby2001-12-013-8/+21
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47503 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-30 Daniel Berlin <dan@cgsoftware.com>dberlin2001-12-016-235/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47502 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,ghazi2001-12-017-265/+182
| | | | | | | | | | | | strchr, strrchr, isascii, gettimeofday. * config.in, configure: Regenerate. f: * Make-lang.in: Delete references to proj.[co], proj-h.[co]. * proj.c: Delete file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47501 138bc75d-0d04-0410-961f-82ee72b054a4
* * unroll.c (unroll_loop): Correct special exit cases.dje2001-11-302-9/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47499 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define tojakub2001-11-302-1/+6
| | | | | | | accept DFmode and DImode only. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47497 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-30 Aldy Hernandez <aldyh@redhat.com>aldyh2001-11-302-2/+9
| | | | | | | | * rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec. (STACK_DYNAMIC_OFFSET): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47495 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.rth2001-11-302-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47494 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-30 Aldy Hernandez <aldyh@redhat.com>aldyh2001-11-302-6/+33
| | | | | | | | | * rs6000.h (CALL_REALLY_USED_REGISTERS): New. (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to the values in call_used_registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47493 138bc75d-0d04-0410-961f-82ee72b054a4
* * gthr-dce.h: If _DCE_THREADS is not defined, then just includelaw2001-11-302-0/+12
| | | | | | | gthr-single. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47490 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (is_cxx): New fn.jason2001-11-303-2/+15
| | | | | | | | (add_data_member_location_attribute): Check it. * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47483 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.kenner2001-11-302-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47482 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (add_interface_do): Set BINFO_VPTR_FIELD.bryce2001-11-302-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47480 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2001-11-302-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47479 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-30 Daniel Berlin <dan@cgsoftware.com>dberlin2001-11-302-3/+11
| | | | | | | | * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47476 138bc75d-0d04-0410-961f-82ee72b054a4
* Purge cruft now we have build libiberty.zack2001-11-3011-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47475 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-29 Mark Mitchell <mark@codesourcery.com>mmitchel2001-11-305-21/+47
| | | | | | | | | | | PR c++/3048 * cp-tree.h (ovl_member): Remove. * decl2.c (merge_functions): Handle extern "C" functions specially. * tree.c (ovl_member): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47474 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (add_data_member_location_attribute): Do thejason2001-11-303-14/+70
| | | | | | | | | right thing for virtual bases. * dbxout.c (dbxout_type): For a virtual base, print the offset within the vtable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47469 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>dje2001-11-302-6/+25
| | | | | | | * doloop.c (doloop_valid_p): Check for LTU and GTU as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47468 138bc75d-0d04-0410-961f-82ee72b054a4
* * rs6000.c (function_arg): Unnamed vector arguments go in memory.aldyh2001-11-302-2/+8
| | | | | | | Remove unused attribute for named. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47466 138bc75d-0d04-0410-961f-82ee72b054a4
* * genattrtab.c (attr_rtx_1): New function containing theghazi2001-11-302-34/+34
| | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47465 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix typo in comment.hp2001-11-302-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47464 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cris/cris.c (cris_notice_update_cc): Check firsthp2001-11-303-18/+42
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47463 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-lex.c (init_c_lex): Canonicalize "-" filename to "".jakub2001-11-292-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47461 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAGjakub2001-11-292-10/+14
| | | | | | | macros for the supported debugging types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47460 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/4842mmitchel2001-11-293-78/+75
| | | | | | | | | | * class.c (get_basefndecls): Take an IDENTIFIER_NODE, not a FUNCTION_DECL, as input. (mark_overriders): Remove. (warn_hidden): Rework for the new ABI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47458 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/3471mmitchel2001-11-291-2/+2
| | | | | | | | * call.c (convert_like_real): Do not build additional temporaries for rvalues of class type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47455 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>rodrigc2001-11-292-0/+14
| | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47453 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/3471mmitchel2001-11-295-7/+36
| | | | | | | | * call.c (convert_like_real): Do not build additional temporaries for rvalues of class type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47451 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.old-deja/g++.pt/memtemp100.C: Remove non-standardmmitchel2001-11-292-5/+10
| | | | | | | constructs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47448 138bc75d-0d04-0410-961f-82ee72b054a4
* * emit-rtl.c (gen_lowpart_common): Fix conversion oflaw2001-11-292-34/+24
| | | | | | | | REAL_VALUE_TYPEs to an array of target integers. Fix extraction of low part of those arrays for 32bit and 64bit hosts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47446 138bc75d-0d04-0410-961f-82ee72b054a4
* * init.c: Remove obsolete dwarf2 frame.h section.rth2001-11-292-322/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47445 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:nathan2001-11-2910-350/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47444 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (insn-output.o): Depend on insn-codes.h.ghazi2001-11-292-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47443 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (target_list): Add generated-manpages.jsm282001-11-2915-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47442 138bc75d-0d04-0410-961f-82ee72b054a4
* Mark _init and _fini as Thumb functions if compiled in thumb mode.nickc2001-11-292-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47441 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2001-11-292-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47439 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-28 Eric Christopher <echristo@redhat.com>echristo2001-11-292-15/+12
| | | | | | | | * config/mips/mips.c (override_options): Fix thinko in mips_tune for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47438 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix comment typo.rth2001-11-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47437 138bc75d-0d04-0410-961f-82ee72b054a4
* * alpha.md (tablejump): Use pic_offset_table_rtxwehle2001-11-292-1/+6
| | | | | | | instead of gen_rtx_REG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47436 138bc75d-0d04-0410-961f-82ee72b054a4
* * g-os_lib.adb (Add_To_Command): use explicit loop to move stringbosch2001-11-292-1/+13
| | | | | | | | into Command, an array conversion is illegal here. Uncovered by ACATS B460005. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47435 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (store_expr): When copying a string constant into anlaw2001-11-282-0/+12
| | | | | | | | array, reset the known alignment of the MEM for the section to be cleared to BITS_PER_UNIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47432 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/20011128-1.c: New test.law2001-11-282-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47431 138bc75d-0d04-0410-961f-82ee72b054a4