Commit Graph

21614 Commits

Author SHA1 Message Date
Jeffrey A Law 1bd0b556b4 * bitset: Re-install Alexandre's lost patch from 1998-11-27.
From-SVN: r26354
1999-04-11 16:53:05 -06:00
Mumit Khan 2bcf042cce aclocal.m4: New file.
* libU77/aclocal.m4: New file.
        * libU77/configure.in (LIBU77_HAVE_STRUCT_TIMEZONE): Add test.
        * libU77/acconfig.h (HAVE_STRUCT_TIMEZONE): Add macro.
        * libU77/datetime_c.c (G77_date_and_time_0): Use.
        * libU77/config.hin: Regenerate.
        * libU77/configure: Likewise.

From-SVN: r26353
1999-04-11 16:35:17 -06:00
Mumit Khan 36eb4217ac pexecute.c: Change all references to __UWIN__ to _UWIN.
* pexecute.c: Change all references to __UWIN__ to _UWIN.
        * xmalloc.c: Likewise.
        (xcalloc): UWIN has sbrk.
        (xrealloc): Fix guard macro.

From-SVN: r26352
1999-04-11 16:21:28 -06:00
Mark Mitchell 82bed8708b friend.c (add_friend): Deal gracefully with error_mark_node.
* friend.c (add_friend): Deal gracefully with error_mark_node.
	* method.c (build_overload_value): Handle pointers-to-members as
	template parameters.

From-SVN: r26351
1999-04-11 18:48:27 +00:00
Mark Mitchell 391cdef056 cplus-dem.c (demangle_template_value_parm): Handle pointers-to-members.
* cplus-dem.c (demangle_template_value_parm): Handle
	pointers-to-members.
	(do_type): Handle template parameters as qualifiers.

From-SVN: r26350
1999-04-11 18:46:52 +00:00
Mark Mitchell c45df9c124 * decl.c (push_binding): Fix typo in comment.
From-SVN: r26349
1999-04-11 11:38:32 +00:00
Jeff Law 0383465ab5 Forgot to check in.
From-SVN: r26348
1999-04-11 05:35:44 -06:00
Mark Mitchell 10c5bca8f3 * rtl.h (rtx_def): Update documentation for jump and call.
From-SVN: r26347
1999-04-11 10:23:56 +00:00
Kaveh R. Ghazi 1ae5c6c2f7 jump.c (jump_optimize_1): Make the definition static to match the prototype.
* jump.c (jump_optimize_1): Make the definition static to match
        the prototype.

From-SVN: r26346
1999-04-11 04:51:57 +00:00
Jeff Law b1d4fd8959 Daily bump.
From-SVN: r26345
1999-04-10 18:45:02 -06:00
Jeff Law 744aa133f4 Fix typo.
From-SVN: r26344
1999-04-10 18:34:02 -06:00
Jan Hubicka 11f246f6bb flow.c (life_analysis): New parameter remove_dead_code.
* flow.c (life_analysis): New parameter remove_dead_code.
        (life_analysis_1): Likewise.
        (propagate_block): Likewise; use it.
        * output.h: Update prototype.
        * toplev.c: Update calls to life_analysis.

From-SVN: r26343
1999-04-10 15:53:08 -07:00
Jan Hubicka 62674ffe2b recog.c (constrain_operands): Ignore unary operators when matching operands.
* recog.c (constrain_operands): Ignore unary operators when
        matching operands.  Recognize '5'..'9' as well.

From-SVN: r26342
1999-04-10 15:16:29 -07:00
Philipp Thomas 83f4345f44 configure.in: Set target_cpu_default2 for target_alias k6.
* configure.in: Set target_cpu_default2 for target_alias k6.
        * i386.h (TARGET_SWITCHES): Remove no-<cpu> entries.
        (CC1_CPU_SPEC): Likewise.
        (CPP_CPU_DEFAULT_SPEC): Streamline definition.  Add K6 version.
        (CPP_K6_SPEC): New.
        (CPP_CPU_SPEC): Add K6 variant.
        (EXTRA_SPECS): Likewise.

Co-Authored-By: Richard Henderson <rth@cygnus.com>

From-SVN: r26341
1999-04-10 15:00:04 -07:00
Philipp Thomas f9ae47d652 * config.sub: Set basic_machine to i586 when target_alias = k6-*.
From-SVN: r26340
1999-04-10 14:50:51 -07:00
Richard Henderson f5c14c21eb flow.c (merge_blocks_nomove): Rewrite to properly handle two blocks that vanish entirely during merging.
* flow.c (merge_blocks_nomove): Rewrite to properly handle two
        blocks that vanish entirely during merging.

From-SVN: r26339
1999-04-10 14:06:47 -07:00
John Wehle 6a4a5d954b i386.md (floatsisf2, [...]): Remove unused register constraints from the splitters.
* i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
	floatsixf2, floatdixf2, movsicc, movhicc, movsfcc, movdfcc,
	movxfcc, movdicc): Remove unused register constraints from
	the splitters.
	* i386.md (fixuns_truncsfsi2, fixuns_truncdfsi2,
	fixuns_truncxfsi2): Delete.
	* reg-stack.c (delete_insn_for_stacker): Ensure that
	the only side effects of a PARALLEL are clobbers.
	(subst_stack_regs): Handle subst_stack_regs_pat deleting
	a PARALLEL.
	* i386.md (extendsfdf2, extenddfxf2,
	extendsfxf2): Rewrite using a splitter.
	* i386.c (output_op_from_reg): Remove.
	* i386.h: Likewise.

From-SVN: r26338
1999-04-10 17:18:08 +00:00
Zack Weinberg d6470dd07e Make this test less fragile
From-SVN: r26337
1999-04-10 14:20:44 +00:00
Nick Clifton e9c6b69b61 Allow SUBREGs in place of REGs in soft_df_operand and di_operand
From-SVN: r26336
1999-04-10 13:12:10 +00:00
Mark Mitchell 7ac7b28f2e error.c (dump_type_real): If a typename is a template-id, put out the template arguments.
* error.c (dump_type_real): If a typename is a template-id, put
	out the template arguments.
	(dump_expr): Handle TEMPLATE_ID_EXPR.
	* pt.c (lookup_template_class): Now that full arguments are
	available everywhere, remove code that tried to guess them.

From-SVN: r26335
1999-04-10 10:51:09 +00:00
Jan Hubicka fe0ce42629 extend.texi (Assembler Instructions with C Expression Operands): Document the i386 floating point operands.
* extend.texi (Assembler Instructions with C Expression Operands):
        Document the i386 floating point operands.

From-SVN: r26334
1999-04-09 23:19:58 -06:00
Mike Stump 28897609cf configure.in (*-*-vxworks): Add vxWorks thread support for all vxWorks targets.
* configure.in (*-*-vxworks): Add vxWorks thread support for all
        vxWorks targets.
        * configure.in (thumb-wrs-xvworks): Add vxWorks support for thumb.
        * configure: Rebuilt.

From-SVN: r26333
1999-04-09 23:17:32 -06:00
Donn Terry 97ad1d43e9 t-interix: Use mostly system headers unchanged.
* i386/t-interix: Use mostly system headers unchanged.
        Use system assert.h
        * fixinc/fixinc.interix: Ditto (make almost no-op).
        * config/x-interix.h (_ALL_SOURCE): add -D
        * config/x-interix.h (crti.o): Delete dependency.
        * config/xm-interix.h (ONLY_INT_FIELDS): Define only when bootstrapping.
        * i386/xm-i386-interix.h: New file.
        * i386/interix.h (ASM_OUTPUT_LIMITED_STRING): Fix warnings.
        * i386/i386-interix.h: Renamed from interix.h.
        * configure.in (interix): Use new files.
        * configure: Rebuilt.

From-SVN: r26332
1999-04-09 23:15:27 -06:00
Mark Elbrecht e6cfbc9e44 cccp.c (DIR_SEPARATOR): Move to the top of the file.
* cccp.c (DIR_SEPARATOR): Move to the top of the file.
        (is_dir_separator): New function.
        (simplify_filename): Use it.
Last bit of the dir separator patches.

From-SVN: r26331
1999-04-09 23:07:32 -06:00
Mark Elbrecht 9ee9f4f066 * i386/djgpp.h (SET_ASM_OP): Define.
From-SVN: r26330
1999-04-09 22:34:36 -06:00
Daniel Jacobowitz f58f945066 sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions for -Dunix and -Dlinux, and remove duplicate definition.
* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions
        for -Dunix and -Dlinux, and remove duplicate definition.
        Change -Asystem(linux) to -Asystem(posix).
        (CPP_OS_SOLARIS_SPEC): Fix conditions for -Dunix, -Dsun,
        -DSVR4, -D__EXTENSIONS__.
        * rs6000/linux.h (CPP_PREDEFINES): Remove -Dunix,
        -Dlinux, -Asystem(linux), and -Asystem(unix).

From-SVN: r26329
1999-04-09 22:32:43 -06:00
Mark Elbrecht 509781a4d1 collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place of the DIR_SEPARATOR test.
* collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place
        of the DIR_SEPARATOR test.
        Consider any file starting with a drivename to be absolute.
        If the absolute filename test fails and EXECUTABLE_SUFFIX is
        defined, append EXECUTABLE_SUFFIX to the file and try again.
        * cppinit.c (base_name): Use HAVE_DOS_BASED_FILE_SYSTEM
        in place of __MSDOS__ and _WIN32.
        * cppfiles.c (simplify_pathname): Likewise.
        * gcc.c (IS_DIR_SEPARATOR): Define new macro. Returns true if a
        character is a directory separator.
        (find_a_file): Use it.
        (convert_filename): Likewise.
        (process_command): Likewise.
        (do_spec_1): Likewise.
        (is_directory): Likewise.
        (main): Likewise.
        * prefix.c (IS_DIR_SEPARATOR): Define. Tests whether a character is
        a directory separator.
        (translate_name): Use it.
        (update_path): Change DIR_SEPARATOR_2 to DIR_SEPARATOR. Fix
        warning in block where '/' is changed to DIR_SEPARATOR.
        * i386/xm-djgpp.h (DIR_SEPARATOR): Set to '/'.
        (DIR_SEPARATOR_2): New macro. Set to '\'.
        (HAVE_DOS_BASED_FILESYS): Define.
        * i386/xm-mingw32.h: Updated copyright. Set
        DIR_SEPARATOR_2 to '/'. Define HAVE_DOS_BASED_FILE_SYSTEM.
        * i386/xm-os2.h: Likewise.
        * winnt/xm-winnt.h: Likewise.
        * i386/xm-dos.h: Likewise.  Add copyright.

From-SVN: r26328
1999-04-09 22:27:16 -06:00
Jeffrey A Law c44033714b rtl.h (rebuild_jump_labels): Declare.
* rtl.h (rebuild_jump_labels): Declare.
        * jump.c (jump_optimize_1): Renamed from jump_optimize.  Make static.
        Add new argument MARK_LABELS_ONLY.  Quit after mark_all_labels if
        requested.
        (jump_optimize, rebuild_jump_labels): New wrapper functions for
        jump_optimize_1.
        * toplev.c (rest_of_compilation): Use rebuild_jump_labels instead of
        running the entire jump optimizer.

From-SVN: r26327
1999-04-09 22:17:51 -06:00
Jeff Law 5d90cd8ff3 Fix thinko in last ChangeLog entry.
From-SVN: r26326
1999-04-09 21:45:15 -06:00
Joseph Myers d14ff9bda2 pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
1999-04-09  Joseph S. Myers  <jsm28@cam.ac.uk>
	* pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
	(TARGET_DEFAULT): Possibly use UNIX syntax.
	(TARGET_UNIX_ASM, TARGET_UNIX_ASM_DEFAULT): New macros.
	(REGISTER_NAMES): Use "r5" instead of "fp".
	(ASM_OUTPUT_ALIGN): Use ".even" directive, and abort for any
	greater alignment.
	* 2bsd.h (TARGET_UNIX_ASM_DEFAULT): Default to UNIX assembler
	syntax for 2BSD.
	* pdp11.c (output_ascii): Use working syntax for ".byte".
	(print_operand_address): Use "*" instead of "@" when using UNIX
	assembler syntax.

From-SVN: r26325
1999-04-09 21:09:40 -06:00
Jeffrey A Law 3f1b9b1b90 rtl.h (local_alloc): Returns an integer now.
* rtl.h (local_alloc): Returns an integer now.
        * local-alloc.c (recorded_label_ref): New file scoped variable.
        (local_alloc): Initialize recorded_label_ref to zero.  Return its
        value when local allocation has completed.
        (update_equiv_regs); If we create an equivalence for a LABEL_REF,
        set recorded_label_ref.
        * toplev.c (rest_of_compilation): Run the loop optimizer after
        register allocation and reloading if needed.

From-SVN: r26324
1999-04-09 20:55:36 -06:00
Jeff Law d1c13bdab5 Daily bump.
From-SVN: r26323
1999-04-09 18:45:04 -06:00
Jeff Law f4f30aa199 Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r26322
1999-04-09 16:26:17 -06:00
Krister Walfridsson a059f76b59 gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
* i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
        * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.

From-SVN: r26321
1999-04-09 14:31:32 -06:00
Jeffrey A Law 4f282ba1e9 Fix comments/ChangeLog entry for last night's change.
From-SVN: r26320
1999-04-09 14:15:39 -06:00
Zack Weinberg 5e4df1ae8b cpphash.c (special_symbol): When expanding __LINE__, use the top file buffer, not the top buffer.
1999-04-09 22:58 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpphash.c (special_symbol): When expanding __LINE__, use the
	top file buffer, not the top buffer.

From-SVN: r26319
1999-04-09 20:02:39 +00:00
Alexandre Petit-Bianco 2622b94785 parse.y (patch_assignment): Added ArrayStoreException runtime check.
Tue Apr  6 15:15:51 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (patch_assignment): Added ArrayStoreException runtime
        check.

From-SVN: r26318
1999-04-09 09:26:33 -07:00
Mark Mitchell 11249cf0df decl.c (make_typename_type): Complain if we don't find a type when trying to make a typename type for a...
* decl.c (make_typename_type): Complain if we don't find a type
	when trying to make a typename type for a non-template type.

From-SVN: r26317
1999-04-09 16:05:47 +00:00
Mike Stump 92c7ee702f Fix bad cut and paste of ChangeLog entry.
From-SVN: r26316
1999-04-09 14:57:21 +00:00
Jim Wilson 73a3903df4 Fix for make check with relative srcdir path.
* Makefile.in (check-g++, check-gcc, check-g77, check-objc): Add
	cd .. to TCL_LIBRARY command.

From-SVN: r26315
1999-04-09 06:49:23 -07:00
Nick Clifton 0122a61392 Prevent warning about redefinition of SUBTARGET_CPU_DEFAULT
From-SVN: r26314
1999-04-09 13:07:56 +00:00
Jason Merrill b17e287057 decl.c (start_decl): Pass attributes to grokdeclarator.
* decl.c (start_decl): Pass attributes to grokdeclarator.
	(grokdeclarator): Handle attributes on constructor-syntax
	initializers.

From-SVN: r26313
1999-04-09 08:44:53 -04:00
Jason Merrill 09a076233d c-common.c (decl_attributes, [...]): Allow arrays of classes, too.
* c-common.c (decl_attributes, A_INIT_PRIORITY): Allow arrays
	of classes, too.

From-SVN: r26312
1999-04-09 08:43:24 -04:00
Warren Levy 8956b6a172 * libjava.mauve/mauve.exp (KEYS): Default to libgcj.
From-SVN: r26311
1999-04-09 11:44:38 +00:00
Tom Tromey a08c72fe45 plusplus.java: New file.
* libjava.compile/plusplus.java: New file.
	From MoT <Sebastien.Villemot@ens.fr>.

From-SVN: r26310
1999-04-09 10:45:10 +00:00
Jim Blandy 9d22998936 cplus-dem.c: Attempt to handle overflows in counts with some semblance of grace.
1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
	* cplus-dem.c: Attempt to handle overflows in counts with some
	semblance of grace.
	(consume_count): Detect overflows.  Return -1 to indicate errors,
	instead of zero.
	(demangle_template_value_parm, demangle_template): Handle change
	to consume_count's return convention.

From-SVN: r26309
1999-04-09 09:01:35 +00:00
Kaveh R. Ghazi d330fd93a9 rs6000.c (rs6000_override_options, [...]): Const-ify a char*.
* rs6000.c (rs6000_override_options, ptt, rs6000_file_start,
        rs6000_float_const, rs6000_replace_regno, debug_stack_info,
        rs6000_output_load_toc_table, output_prolog, output_epilog):
        Const-ify a char*.
        (output_mi_thunk): Likewise.  Mark parameter `thunk_fndecl' with
        ATTRIBUTE_UNUSED.  Hide unused variables `r0', `sp', `toc',
        `schain', `r12', `buf' and `labelno'.
        (output_ascii): Const-ify a char*.
        (rs6000_gen_section_name): Initialize variable `last_period'.
        (rs6000_adjust_priority): Mark parameter `insn' with
        ATTRIBUTE_UNUSED.
        (rs6000_trampoline_template, rs6000_dll_import_ref,
        rs6000_longcall_ref, rs6000_encode_section_info): Const-ify a char*.
        * rs6000.h (offsettable_mem_operand, optimization_options): Add
        prototypes.
        * rs6000.md (movdi, define_split): Cast a value to HOST_WIDE_INT
        when comparing against one.

From-SVN: r26308
1999-04-09 07:45:00 +00:00
Jeffrey A Law efd07ca794 expr.c (expand_expr, [...]): Do not try to optimize a aggregate address which has VOIDmode.
* expr.c (expand_expr, case ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF):
        Do not try to optimize a aggregate address which has VOIDmode.
        Mirrors March 23 change to expand_assignment.

From-SVN: r26307
1999-04-08 19:35:36 -06:00
Jeffrey A Law abb3f0a989 flow.c (delete_unreachable_blocks): Do not require an edge to be marked with EDGE_FALLTHRU when...
* flow.c (delete_unreachable_blocks): Do not require an edge to
	be marked with EDGE_FALLTHRU when tidying an edge which connects
	consecutive basic blocks.
	* flow.c (can_delete_label_p): Do not convert a label into a
	deleted label here.

From-SVN: r26306
1999-04-08 19:23:05 -06:00
Jeff Law 10ef53b1ab Daily bump.
From-SVN: r26305
1999-04-08 18:45:06 -06:00