summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* dummy commit before mergelaw1998-04-0322-219/+408
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18980 138bc75d-0d04-0410-961f-82ee72b054a4
* Implement empty base optimization.jason1998-04-037-19/+152
| | | | | | | | | | | | | * class.c (finish_struct_1): Add vbase fields earlier. Set CLASSTYPE_SIZE of an empty base to 0. Types with bases can be empty. * search.c (dfs_check_overlap, dfs_no_overlap_yet): New fns. (types_overlap_p): New fn. * tree.c (avoid_overlap): New fn. (build_base_fields): Use it to avoid overlapping empty bases. * cp-tree.h, decl2.c, lang-options.h: Add -fnew-abi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18978 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (insn*.o): Depend on system.h.law1998-04-032-7/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18976 138bc75d-0d04-0410-961f-82ee72b054a4
* x86 regex.c failure from Jim Meyering.wilson1998-04-032-0/+75
| | | | | | | * compile/980329-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18975 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (cplus_expand_expr_stmt): Strip unused INDIRECT_REFs.jason1998-04-032-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18974 138bc75d-0d04-0410-961f-82ee72b054a4
* Re-implement allocation of base class subobjects.jason1998-04-034-227/+187
| | | | | | | | | | | | | | | | * tree.c (unshare_base_binfos): New fn. (layout_basetypes): Use it. Now handles offsets of both virtual and non-virtual bases, after layout_type. (layout_vbasetypes): Remove. (build_base_fields): Generate FIELD_DECLs for each non-virtual base. (build_vbase_pointer_fields): Split out from old layout_basetypes. * class.c (finish_base_struct): Lose offset handling code. Move nonvdtor warning here. Don't mess with t_binfo anymore. (finish_struct_1): Don't mess with t_binfo anymore. Use fns above. * cp-tree.h: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18973 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.c (output_global_address): Initialize base.law1998-04-023-2/+7
| | | | | | | * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18972 138bc75d-0d04-0410-961f-82ee72b054a4
* * gthr.h: Support systems that don't have weak, but have threads.law1998-04-026-7/+354
| | | | | | | | | * configure.in (*wrs-vxworks*): Use VxWorks threads by default. * gthr-vxworks.h: New file. * objc/thr-vxworks.h: Dummy file from thr-single.c for now. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18971 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix x86 core dump on regex.cwilson1998-04-022-1/+5
| | | | | | | * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18966 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h: Lose CLASSTYPE_VBASE_SIZE, some unused stuff.jason1998-04-029-195/+90
| | | | | | | | | | | | * decl.c, decl2.c, pt.c, ptree.c, lex.c: Likewise. * class.c (duplicate_tag_error): Likewise. (finish_struct_1): Set CLASSTYPE_SIZE, CLASSTYPE_MODE, CLASSTYPE_ALIGN. * tree.c (layout_vbasetypes): Update from layout_record, remove var_size support, use CLASSTYPE_SIZE instead of CLASSTYPE_VBASE_SIZE. (layout_basetypes): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18965 138bc75d-0d04-0410-961f-82ee72b054a4
* updatejason1998-04-023-3/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18964 138bc75d-0d04-0410-961f-82ee72b054a4
* Patch from vmakarov to avoid warnings with -Wall.wilson1998-04-022-1/+5
| | | | | | | * ginclude/va-i960.h (va_end): Change void * to void. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18961 138bc75d-0d04-0410-961f-82ee72b054a4
* Patched in the gcc directory:ghazi1998-04-023-6/+18
| | | | | | | | | * Makefile.in (choose-temp.o): Depend on system.h. Patched in both the libiberty and gcc directories: * choose-temp.c: Include system.h when IN_GCC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18952 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.rth1998-04-025-0/+134
| | | | | | | | | (move_replacements): New function. * reload.h: Prototype it. * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18947 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (alter_subreg): Allow the target to hook by-mode subregrth1998-04-023-1/+25
| | | | | | | hard register number changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18946 138bc75d-0d04-0410-961f-82ee72b054a4
* * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.rth1998-04-022-11/+24
| | | | | | | (gen_highpart): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18945 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):rth1998-04-023-4/+5
| | | | | | | Run fixincludes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18944 138bc75d-0d04-0410-961f-82ee72b054a4
* * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,law1998-04-015-12/+26
| | | | | | | | | | | | | | | rnbitsize, rnmode and rinner. (make_range): Initialize type. (fold): Initialize arg0, arg1 and varop. * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi and regnor. (expand_function_start): Initialize last_ptr. * stor-layout.c (layout_record): Initialize desired_align. (get_best_mode): Initialize unit. * tree.c (copy_node): Initialize length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18943 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.law1998-04-018-9/+38
| | | | | | | | | | | | | | | | | | * caller-save.c (insert_save_restore): Initialize pat, code and numregs. * emit-rtl.c (push_to_sequence): Initialize top. (push_topmost_sequence): Likewise. * genattrtab.c (simplify_by_exploding): Initialize defval. * profile.c (branch_prob): Initialize dest. * rtl.h (note_stores): Remove duplicate prototype. (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT. Fix some warnings. * cplus-dem.c (gnu_special): Don't get confused by .<digits> strings that are not actually lengths. A change from libiberty that didn't make it into the gcc copy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18942 138bc75d-0d04-0410-961f-82ee72b054a4
* * genattrtab.c: Make generated file use system.h, instead oflaw1998-04-018-7/+20
| | | | | | | | | | | including stdio.h, etc directly. * genextract.c, genopinit.c, genoutput.c: Likewise. * genpeep.c, genrecog.c: Likewise * genoutput.c (process_template): Mark operands in the generated function as potentially unused if compiling with GNU CC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18941 138bc75d-0d04-0410-961f-82ee72b054a4
* * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.law1998-04-012-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18940 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.md (reload peepholes): Remove unused variable "mode".law1998-04-012-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18939 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed thumb-pe support.nickc1998-04-014-552/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18938 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed thumb-pe target.nickc1998-04-014-30/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18937 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c, Make sure system.h is included just after config.h.law1998-04-019-14/+11
| | | | | | | | Delete lingering stdio and errno references too. * decl.c, errfn.c, parse.y, ptree.c search.c, xrefc.: Likewwise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18936 138bc75d-0d04-0410-961f-82ee72b054a4
* Add thumb-pe support.nickc1998-04-0115-152/+1506
| | | | | | | Add super interworking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18935 138bc75d-0d04-0410-961f-82ee72b054a4
* tweakjason1998-04-011-13/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18934 138bc75d-0d04-0410-961f-82ee72b054a4
* * friend.c (is_friend): Fix access control for local classes.jason1998-04-015-12/+60
| | | | | | | | * class.c (is_empty_class): New fn. * call.c (build_call): Don't pass empty class objects to a function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18933 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (build_over_call): Do name resolution for defaultmmitchel1998-04-013-3/+57
| | | | | | | arguments of function templates in the scope of the templates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18932 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix irix6-x-foo cross compiler build problem where irix6 gcc invokes wrong as.wilson1998-04-012-0/+17
| | | | | | | | * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/. (MD_STARTFILE_PREFIX): Unset. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18931 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for ammitchel1998-04-013-0/+16
| | | | | | | | | entity in a local scope. * fold-const.c (fold): Call truthvalue_conversion for values which are folded to boolean type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18929 138bc75d-0d04-0410-961f-82ee72b054a4
* * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.law1998-04-0147-567/+484
| | | | | | | | | | | | | | * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise. * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise. * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise. * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise. * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise. * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise. * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise. * md.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18927 138bc75d-0d04-0410-961f-82ee72b054a4
* 8manfred1998-03-311-0/+25
| | | | | | | | * fixincludes (limits.h): Fix nested comments in Motorola's limits.h and sys/limits.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18923 138bc75d-0d04-0410-961f-82ee72b054a4
* @manfred1998-03-311-0/+5
| | | | | | | | * fixincludes (limits.h): Fix nested comments in Motorola's limits.h and sys/limits.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18922 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix alpha-vms packed-1 failure.wilson1998-03-312-1/+7
| | | | | | | | * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr as dest of expand_binop call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18921 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix core dump while compiling gdb-4.16.wilson1998-03-312-1/+7
| | | | | | | * alpha.md (extzv): Correct check for valid operand[2] values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18920 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix HPPA -fprofile-arcs abort on switch statements.wilson1998-03-312-0/+13
| | | | | | | | * profile.c (branch_prob): Add code to recognize HPPA tablejump entry branch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18919 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix problem where different code gets generated with/without -Wreturn-type.wilson1998-03-312-0/+15
| | | | | | | * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18918 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c: Include system.h. Remove includes, declarations andlaw1998-03-3131-956/+861
| | | | | | | | | | | | | | | defines provided by system.h. * class.c, cvt.c, decl.c, decl2.c, errfn.c error.c: Likewise. * except.c, expr.c friend.c, g++spec.c, init.c, input.c: Likewise. * lex.c, parse.y, pt.c, ptree.c repo.c rtti.c, search.c: Likewise. * semantics.c, sig.c, spew.c, tree.c, typeck.c: Likewise. * typeck2.c, xref.c: Likewise. * Makefile.in: Dependencies updated as appropriate. * Make-lang.in: Likewise. system.h cutover from the cp subdir git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18917 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.scox1998-03-305-14/+56
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18914 138bc75d-0d04-0410-961f-82ee72b054a4
* (__main, __do_global_dtors, __do_global_ctors): For __CYGWIN32__ use the ↵scox1998-03-301-0/+2
| | | | | | versions in winsup/dcrt0.cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18913 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (fn_type_unification): Allow incomplete unification withoutmmitchel1998-03-303-1/+37
| | | | | | | an immediate error message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18912 138bc75d-0d04-0410-961f-82ee72b054a4
* More cutover to system.h:ghazi1998-03-3016-156/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o, cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o, gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on system.h. * cpphash.c: Include config.h. * cppalloc.c: Include system.h. Add parameters to various function prototypes. * cpperror.c: Likewise. * cppexp.c: Likewise. * cpphash.c: Likewise. * cpplib.c: Likewise. * cppmain.c: Likewise. * fix-header.c: Likewise. * gcov.c: Likewise. * gen-protos.c: Likewise. * gengenrtl.c: Likewise. * halfpic.c: Likewise. * hash.c: Likewise. * scan-decls.c: Likewise. * scan.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18911 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix problem reported by Thomas Quinot.wilson1998-03-302-0/+23
| | | | | | | * README.gnat: Add lang_print_xnode definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18910 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (member_p): New fn.jason1998-03-305-3/+30
| | | | | | | | | | * decl2.c (finish_file): Only set DECL_STATIC_FUNCTION_P for initializing class members. * cp-tree.def (TEMPLATE_PARM_INDEX): Class 'x'. * ptree.c (lang_print_xnode): Handle TEMPLATE_PARM_INDEX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18909 138bc75d-0d04-0410-961f-82ee72b054a4
* * call.c (build_method_call): Handle non-scoped destructors, too.jason1998-03-305-20/+45
| | | | | | | | | | | | * pt.c (tsubst_copy): Likewise. * pt.c (print_template_context): Split out... (push_tinst_level): ...from here. * friend.c (is_friend): Don't pass a type to decl_function_context. * typeck.c (convert_for_initialization): Always hand off conversions to class type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18908 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68k/m68k.c (standard_68881_constant_p): Don't useschwab1998-03-302-3/+9
| | | | | | | fmovecr on the 68060. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18907 138bc75d-0d04-0410-961f-82ee72b054a4
* * genemit.c (DONE): Rework so that it works in the true arm iflaw1998-03-292-2/+8
| | | | | | | | an if-else conditional. (FAIL): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18906 138bc75d-0d04-0410-961f-82ee72b054a4
* * rs6000.c: Do not include stdioh or ctype.h anymore.law1998-03-292-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18905 138bc75d-0d04-0410-961f-82ee72b054a4
* * friend.c (is_friend): Local classes have the same access as thejason1998-03-292-20/+22
| | | | | | | enclosing function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18904 138bc75d-0d04-0410-961f-82ee72b054a4