aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
1998-09-06final.c (final): If a label is reached only from a single jump...John Carr4-726/+748
( * final.c (final): If a label is reached only from a single jump, call NOTICE_UPDATE_CC on the jump and its predecessor before emitting the insn after the label. * i386.h: Add AMD K6 support. Change TARGET_* macros to use table lookup. (INITIALIZE_TRAMPOLINE): Improve trampoline code. (ADJUST_COST): Change definition to call function in i386.c. (ISSUE_RATE): Define as 2 for anything newer than an 80486. * i386.c: Add AMD K6 support. Add constants for feature tests used by TARGET_* macros. (split_di): If before reload, call gen_lowpart and gen_highpart. (x86_adjust_cost): New function. (put_jump_code): New function. (print_operand): New codes 'D' and 'd'. * i386.md: New insn types. New insn attribute "memory". Redefine scheduling parameters to use new types and add AMD K6 support. Explicitly set type of most insns. (move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium Pro and K6 prefer movl $1,reg to incl reg. (adddi3, subdi3): Set cc_status. (DImode shift patterns): Change label counters from HOST_WIDE_INT to int; x86 can't have more than 2^31 DImode shifts per file. (setcc): Combine all setcc patterns. Allow writing memory. Combine all jump patterns using match_operator. (*bzero): Name pattern. Emit mutliple stos instructions when that is faster than rep stos. (xordi3, anddi3, iordi3): Simplify DImode logical patterns and add define_split. * ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them. From-SVN: r22292
1998-09-06final.c (final): If a label is reached only from a single jump...John Carr1-0/+4
� * final.c (final): If a label is reached only from a single jump, call NOTICE_UPDATE_CC on the jump and its predecessor before emitting the insn after the label. * i386.h: Add AMD K6 support. Change TARGET_* macros to use table lookup. (INITIALIZE_TRAMPOLINE): Improve trampoline code. (ADJUST_COST): Change definition to call function in i386.c. (ISSUE_RATE): Define as 2 for anything newer than an 80486. * i386.c: Add AMD K6 support. Add constants for feature tests used by TARGET_* macros. (split_di): If before reload, call gen_lowpart and gen_highpart. (x86_adjust_cost): New function. (put_jump_code): New function. (print_operand): New codes 'D' and 'd'. * i386.md: New insn types. New insn attribute "memory". Redefine scheduling parameters to use new types and add AMD K6 support. Explicitly set type of most insns. (move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium Pro and K6 prefer movl $1,reg to incl reg. (adddi3, subdi3): Set cc_status. (DImode shift patterns): Change label counters from HOST_WIDE_INT to int; x86 can't have more than 2^31 DImode shifts per file. (setcc): Combine all setcc patterns. Allow writing memory. Combine all jump patterns using match_operator. (*bzero): Name pattern. Emit mutliple stos instructions when that is faster than rep stos. (xordi3, anddi3, iordi3): Simplify DImode logical patterns and add define_split. * ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them. From-SVN: r22291
1998-09-06final.c (final): If a label is reached only from a single jump...John Carr1-0/+35
d * final.c (final): If a label is reached only from a single jump, call NOTICE_UPDATE_CC on the jump and its predecessor before emitting the insn after the label. * i386.h: Add AMD K6 support. Change TARGET_* macros to use table lookup. (INITIALIZE_TRAMPOLINE): Improve trampoline code. (ADJUST_COST): Change definition to call function in i386.c. (ISSUE_RATE): Define as 2 for anything newer than an 80486. * i386.c: Add AMD K6 support. Add constants for feature tests used by TARGET_* macros. (split_di): If before reload, call gen_lowpart and gen_highpart. (x86_adjust_cost): New function. (put_jump_code): New function. (print_operand): New codes 'D' and 'd'. * i386.md: New insn types. New insn attribute "memory". Redefine scheduling parameters to use new types and add AMD K6 support. Explicitly set type of most insns. (move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium Pro and K6 prefer movl $1,reg to incl reg. (adddi3, subdi3): Set cc_status. (DImode shift patterns): Change label counters from HOST_WIDE_INT to int; x86 can't have more than 2^31 DImode shifts per file. (setcc): Combine all setcc patterns. Allow writing memory. Combine all jump patterns using match_operator. (*bzero): Name pattern. Emit mutliple stos instructions when that is faster than rep stos. (xordi3, anddi3, iordi3): Simplify DImode logical patterns and add define_split. * ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them. From-SVN: r22290
1998-09-06final.c (final): If a label is reached only from a single jump...John Carr1-0/+32
0 * final.c (final): If a label is reached only from a single jump, call NOTICE_UPDATE_CC on the jump and its predecessor before emitting the insn after the label. * i386.h: Add AMD K6 support. Change TARGET_* macros to use table lookup. (INITIALIZE_TRAMPOLINE): Improve trampoline code. (ADJUST_COST): Change definition to call function in i386.c. (ISSUE_RATE): Define as 2 for anything newer than an 80486. * i386.c: Add AMD K6 support. Add constants for feature tests used by TARGET_* macros. (split_di): If before reload, call gen_lowpart and gen_highpart. (x86_adjust_cost): New function. (put_jump_code): New function. (print_operand): New codes 'D' and 'd'. * i386.md: New insn types. New insn attribute "memory". Redefine scheduling parameters to use new types and add AMD K6 support. Explicitly set type of most insns. (move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium Pro and K6 prefer movl $1,reg to incl reg. (adddi3, subdi3): Set cc_status. (DImode shift patterns): Change label counters from HOST_WIDE_INT to int; x86 can't have more than 2^31 DImode shifts per file. (setcc): Combine all setcc patterns. Allow writing memory. Combine all jump patterns using match_operator. (*bzero): Name pattern. Emit mutliple stos instructions when that is faster than rep stos. (xordi3, anddi3, iordi3): Simplify DImode logical patterns and add define_split. * ch/Make-lang.in: Comment ^L characters. Sun make doesn't like them. From-SVN: r22289
1998-09-06x-next (BOOT_LDFLAGS): Define suitably for f771 linking.Dave Love1-0/+6
Sun Sep 6 11:17:20 1998 Dave Love <d.love@dl.ac.uk> * config/m68k/x-next (BOOT_LDFLAGS): Define suitably for f771 linking. From-SVN: r22288
1998-09-06(BOOT_LDFLAGS): Define suitably for f771 linking.Dave Love1-0/+4
From-SVN: r22287
1998-09-05Daily bump.Jeff Law1-1/+1
From-SVN: r22286
1998-09-05Revert prototype for function not comitted.Richard Henderson1-1/+0
From-SVN: r22284
1998-09-05Makefile.in (INCLUDES): Update after recent toplevel gcc reorganizations.Jeffrey A Law2-1/+6
* Makefile.in (INCLUDES): Update after recent toplevel gcc reorganizations. From-SVN: r22283
1998-09-05Makefile.in (INCLUDES): Update after recent reorganization at the toplevel ↵Jeffrey A Law2-1/+6
gcc directory. * Makefile.in (INCLUDES): Update after recent reorganization at the toplevel gcc directory. From-SVN: r22281
1998-09-05* Makefile.in: Update dependancies for top-level gcc files that moved.Richard Henderson2-9/+16
From-SVN: r22279
1998-09-05alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence, not whatever ↵Richard Henderson7-61/+226
we're generating now. * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence, not whatever we're generating now. * alpha.c (set_frame_related_p, FRP): New. (alpha_expand_prologue): Mark frame related insns. (alpha_expand_epilogue): Likewise, but with a null FRP. * alpha.h (INCOMING_RETURN_ADDR_RTX): New. * alpha.md (exception_receiver): New. * alpha/crtbegin.asm (.eh_frame): New beginning. (__do_frame_setup, __do_frame_takedown): New. * alpha/crtend.asm (.eh_frame): New ending. * alpha/elf.h (DWARF2_DEBUGGING_INFO): Define. (ASM_SPEC): Don't emit both dwarf2 and mdebug. (ASM_FILE_START): Don't emit .file for dwarf2. From-SVN: r22277
1998-09-05rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.Richard Henderson5-6/+37
* rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR. * rtl.c (reg_note_name): Likewise. * rtl.texi (REG_NOTES): Likewise. * dwarf2out.c (dwarf2out_frame_debug): Use it. Recognize a store without an offset. From-SVN: r22273
1998-09-05cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.Mark Mitchell23-193/+373
* cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove. * class.c (finish_struct): Remove hackery to deal with explicit specializations in class scope. * decl.c (grokfndecl): Improve error-recovery. * decl2.c (grokfield): Likewise. * pt.c (check_specialization_scope): New function. (begin_specialization): Call it. (process_partial_specialization): New function, split out from push_template_decl. Check partial specializations more stringently. (push_template_decl): Call it. (check_explicit_specialization): Don't attempt to handle explicit specializations in class scope. (template_parm_data): Document. Add current_arg and arg_uses_template_parms. (mark_template_parm): Set it. (tsubst_arg_types): Remove unused variable. * semantics.c (begin_class_definition): Tweak. From-SVN: r22271
1998-09-05Remove duplicate testMark Mitchell1-16/+0
From-SVN: r22270
1998-09-05i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS.Richard Henderson3-52/+23
* i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS. * i386.md (movsf, movdf, movxf): Validate memory address returned from force_const_mem. Kill useless REG_EQUAL setting code. From-SVN: r22269
1998-09-05m68k.md (5200 movqi): Do not allow byte sized memory references using ↵Jeffrey A Law3-6/+10
address regs. * m68k.md (5200 movqi): Do not allow byte sized memory references using address regs. * m68k.c (output_move_qimode): Do not use byte sized operations on address registers. From-SVN: r22268
1998-09-05* m68k.md (zero_extendsidi2): Fix typo.Torbjorn Granlund2-1/+5
From-SVN: r22265
1998-09-05configure.in: Removed references to the removed fileKrister Walfridsson7-28/+16
* configure.in: Removed references to the removed file * config/xm-netbsd.h. Use ${cpu_type}/xm-netbsd.h for * arm*-*-netbsd* and ns32k-*-netbsd*. * config/i386/xm-netbsd.h: Removed unnecessary file. * config/m68k/xm-netbsd.h: Likewise. * config/sparc/xm-netbsd.h: Likewise. * config/mips/xm-netbsd.h: Likewise. From-SVN: r22262
1998-09-05cygwin32.h (BIGGEST_ALIGNMENT): Define.Mumit Khan4-4/+34
* i386/cygwin32.h (BIGGEST_ALIGNMENT): Define. (PCC_BITFIELD_TYPE_MATTERS): Define to be 0. * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't check for for exact section attributions. * i386/mingw32.h (CPP_PREDEFINES): Add __MSVCRT__ for msvc runtime. * i386/crtdll.h (CPP_PREDEFINES): Define. From-SVN: r22261
1998-09-05Makefile.in (pexecute.o): Use pexecute.c from libiberty.Jeffrey A Law4-1199/+17
* Makefile.in (pexecute.o): Use pexecute.c from libiberty. Provide explicit rules for building. Similarly for alloca, vfprintf, choose-temp and mkstemp, getopt, getopt1, and obstack. (INCLUDES): Add $(srcdir)/../include. * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete. * getopt.h, getopt.c getopt1.c, obstack.c, obstack.h: Likewise. From-SVN: r22258
1998-09-05Makefile.in (pexecute.o): Use pexecute.c from libiberty.Jeffrey A Law5-1385/+15
* Makefile.in (pexecute.o): Use pexecute.c from libiberty. Provide explicit rules for building. Similarly for alloca, vfprintf, choose-temp and mkstemp, getopt, getopt1. (INCLUDES): Add $(srcdir)/../include. * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete. * getopt.h, getopt.c getopt1.c: Likewise. From-SVN: r22256
1998-09-05New testMark Mitchell1-0/+31
From-SVN: r22254
1998-09-05Makefile.in (pexecute.o): Use pexecute.c from libiberty.Jeffrey A Law4-337/+14
* Makefile.in (pexecute.o): Use pexecute.c from libiberty. Provide explicit rules for building. Similarly for alloca, vfprintf, choose-temp and mkstemp. * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete. From-SVN: r22253
1998-09-05lang-options.h: Convert to wrap option and doc string in a new macro ↵Craig Burley2-120/+132
invocation... Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org> * lang-options.h: Convert to wrap option and doc string in a new macro invocation, FTNOPT, so the nearly identical list can be used in FSF-g77. From-SVN: r22250
1998-09-05Makefile.in (pexecute.o): Use pexecute.c from libiberty.Jeffrey A Law4-533/+14
* Makefile.in (pexecute.o): Use pexecute.c from libiberty. Provide explicit rules for building. Similarly for alloca and vfprintf. * pexecute.c, alloca.c, vfprintf.c: Delete. From-SVN: r22248
1998-09-05intdoc.in: Minor editorial tweaks.Craig Burley2-9/+12
Fri Sep 4 19:53:34 1998 Craig Burley <burley@gnu.org> * intdoc.in: Minor editorial tweaks. From-SVN: r22247
1998-09-05Makefile.in (fini.o): Don't define USE_HCONFIG here.Craig Burley3-2/+13
Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org> * Makefile.in (fini.o): Don't define USE_HCONFIG here. * fini.c: Define USE_HCONFIG here instead, so deps-kinda picks up correct dependency. * Makefile.in (proj-h.o): Fix dependencies list. From-SVN: r22246
1998-09-05Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.Dave Love1-0/+5
1998-09-05 Dave Love <d.love@dl.ac.uk> * Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS. (F771_LDFLAGS): Variable dispensed with. From-SVN: r22245
1998-09-05(LDFLAGS): Set from BOOT_LDFLAGS.Dave Love1-8/+6
(F771_LDFLAGS): Variable dispensed with. From-SVN: r22244
1998-09-04Makefile.in (pexecute.o): Use pexecute.c from libiberty.Jeffrey A Law3-778/+13
* Makefile.in (pexecute.o): Use pexecute.c from libiberty. Provide explicit rules for building. * pexecute.c: Delete. From-SVN: r22242
1998-09-04Makefile.in: Tweak to avoid building runtime.Jeffrey A Law2-7/+7
* Makefile.in: Tweak to avoid building runtime. It's built elsewhere now. From-SVN: r22241
1998-09-04Chill runtime moves into toplevel libchill directory.Jeff Law86-10826/+0
From-SVN: r22240
1998-09-04Daily bump.Jeff Law1-1/+1
From-SVN: r22237
1998-09-04typeinfo (type_info::type_info(const char*)): Make `explicit'.Mark Mitchell3-1/+19
* inc/typeinfo (type_info::type_info(const char*)): Make `explicit'. From-SVN: r22235
1998-09-04gcc.c (do_spec_1): [case 'o'] Account for lang_specific_extra_outfiles.Tom Tromey2-7/+27
* gcc.c (do_spec_1): [case 'o'] Account for lang_specific_extra_outfiles. (main): Correctly clear all slots in outfiles for lang_specific_extra_outfiles. Set input_file_number before calling lang_specific_pre_link. From-SVN: r22234
1998-09-04cp-tree.h (hash_tree_cons_simple): New macro.Mark Mitchell4-73/+85
* cp-tree.h (hash_tree_cons_simple): New macro. * pt.c (tsubst_arg_types): New function. Use hash_tree_cons. (coerce_template_parms): Use make_temp_vec, instead of make_tree_vec. Document this behavior. (lookup_template_class): Likewise. (tsubst, cases METHOD_TYPE, FUNCTION_TYPE): Use tsubst_arg_types. Remove dead code (and add ssertion to check its deadness). Fix bug w.r.t. exception specifications. From-SVN: r22233
1998-09-04Fix irix6 -g -O3 -funroll-all-loops bootstrap failure.Jim Wilson2-1/+16
* loop.c (load_mems): Fix JUMP_LABEL field after for_each_rtx call. From-SVN: r22232
1998-09-03sparc.c (output_double_int): In all V9 symbolic cases, use xword.David S. Miller2-4/+13
* config/sparc/sparc.c (output_double_int): In all V9 symbolic cases, use xword. (sparc_output_deferred_case_vectors): If no work to do, return. Fix thinko in Sept 1 change. From-SVN: r22231
1998-09-03decl2.c (import_export_vtable): Always make artificials comdat.Jason Merrill4-10/+21
* decl2.c (import_export_vtable): Always make artificials comdat. (import_export_decl): Likewise. * pt.c (mark_decl_instantiated): Likewise. From-SVN: r22230
1998-09-03Daily bump.Jeff Law1-1/+1
From-SVN: r22229
1998-09-03Makefile.in: add semicolon in BISON definition for portability.SL Baur1-1/+1
* Makefile.in: add semicolon in BISON definition for portability. From-SVN: r22228
1998-09-03Makefile.in: add semicolon in BISON definition for portability.SL Baur1-0/+4
0 * Makefile.in: add semicolon in BISON definition for portability. From-SVN: r22227
1998-09-03explicit72.C: ensure that char and (un)signed char are different types for ↵Reid M. Pinchback2-0/+27
template... * g++.old-deja/g++.pt/explicit72.C: ensure that char and (un)signed char are different types for template specialization purposes. From-SVN: r22226
1998-09-03From Toon Moene <toon@moene.indiv.nluug.nl>Toon Moene2-1/+6
* config/nextstep.c (handle_pragma): Correct name of third argument. From-SVN: r22225
1998-09-03cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...Mark Mitchell1-23/+24
* cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ... (finish_qualified_call_expr). * semantics.c: Likewise. * parse.y (primary): Use it. * method.c (hack_identifier): Remove redundant code. * init.c (resolve_offset_ref): Call convert_from_reference to handle members of reference type. Improve error recovery. From-SVN: r22224
1998-09-03cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...Mark Mitchell1-2/+2
* cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ... (finish_qualified_call_expr). * semantics.c: Likewise. * parse.y (primary): Use it. * method.c (hack_identifier): Remove redundant code. * init.c (resolve_offset_ref): Call convert_from_reference to handle members of reference type. Improve error recovery. From-SVN: r22223
1998-09-03cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...Mark Mitchell6-5/+38
* cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ... (finish_qualified_call_expr). * semantics.c: Likewise. * parse.y (primary): Use it. * method.c (hack_identifier): Remove redundant code. * init.c (resolve_offset_ref): Call convert_from_reference to handle members of reference type. Improve error recovery. From-SVN: r22222
1998-09-03Change (reg:CC 17) to (reg:SI 17)Nick Clifton4-39/+41
From-SVN: r22221
1998-09-03cp-tree.h: Declare warn_nontemplate_friend.Benjamin Kosnik2-2/+12
d 1998-09-03 Benjamin Kosnik <bkoz@cygnus.com> * cp-tree.h: Declare warn_nontemplate_friend. * decl2.c (lang_decode_option): Set. * lang-options.h: Add -Wnon-template-friend. * friend.c (do_friend): Use to toggle non-template function warning. g++/17054 From-SVN: r22220