Commit Graph

20065 Commits

Author SHA1 Message Date
Mark Elbrecht
2f197d2fea configure.in (pc-msdosdjgpp): Set x_make to x-go32.
* configure.in (pc-msdosdjgpp): Set x_make to x-go32.
        * configure: Rebuilt.
        * i386/xm-go32.h: Define LIBSTDCXX.
        * i386/x-go32: New.
        * i386/go32.h (MD_EXEC_PREFIX): Define.
        (FILE_NAME_ABSOLUTE_P): Define.
        (LINK_COMMAND_SPEC): Define.

From-SVN: r24510
1999-01-05 19:25:57 -07:00
Mark Elbrecht
18cd4dedd4 g++spec.c (LIBSTDCXX): Provide default definition.
* g++spec.c (LIBSTDCXX): Provide default definition.
        (lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".

From-SVN: r24509
1999-01-05 19:23:10 -07:00
Jeffrey A Law
3d0a71b3ed Makefile.in: Add some missing $(exeext).
* Makefile.in: Add some missing $(exeext).  Remove some obsolete
        runtime stuff.
        * Make-lang.in: Similarly.

From-SVN: r24508
1999-01-05 18:57:27 -07:00
Charles M. Hannum
12f06d174c expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...
�
        * expr.c (store_expr): If the lhs is a memory location pointed
        to be a postincremented (or postdecremented) pointer, always
        force the rhs to be evaluated into a pseudo.

From-SVN: r24507
1999-01-05 18:28:56 -07:00
Charles M. Hannum
b3fa7e9f2a expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...
�
        * expr.c (store_expr): If the lhs is a memory location pointed
        to be a postincremented (or postdecremented) pointer, always
        force the rhs to be evaluated into a pseudo.

From-SVN: r24506
1999-01-05 18:28:53 -07:00
Jeffrey A Law
e2ba7b0e73 * gcc.c-torture/execute/990106-1.c: New test.
From-SVN: r24504
1999-01-05 18:25:09 -07:00
Jeff Law
52f7bca7c4 Daily bump.
From-SVN: r24503
1999-01-05 17:45:02 -07:00
Geoff Keating
7735516c99 * real.c (mtherr): Print more reasonable warning messages.
From-SVN: r24502
1999-01-05 16:56:04 -07:00
Kaveh R. Ghazi
5b5d821c30 * Make-lang.in ($(GCJ).o): Depend on prefix.h.
From-SVN: r24501
1999-01-05 19:17:20 +00:00
Kaveh R. Ghazi
f9a95c4b39 * Make-lang.in (g77.o): Depend on prefix.h.
From-SVN: r24500
1999-01-05 19:15:33 +00:00
Kaveh R. Ghazi
7f7147c149 * Make-lang.in (g++.o): Depend on prefix.h.
From-SVN: r24499
1999-01-05 19:13:50 +00:00
Kaveh R. Ghazi
460ee1120c Makefile.in (gcc.o, [...]): Depend on prefix.h.
* Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
        * cccp.c: Include prefix.h, don't prototype prefix.c functions.
        (new_include_prefix): Constify char* parameters.
        * cppfiles.c (read_name_map): Likewise.
        (append_include_chain): Likewise.  Also, use a writable char* copy
        of parameter `dir' which we then modify, rather than using the
        parameter itself to store the new writable string.
        (remap_filename): Constify some variables.  Also, use a writable
        char* to store an allocated string which we will be modifying.
        * cpplib.c: Include prefix.h, don't prototype prefix.c functions.
        (cpp_start_read): Constify variable `str'.
        * cpplib.h (append_include_chain): Constify a char* parameter.
        * gcc.c Include prefix.h, don't prototype prefix.c functions.
        (add_prefix, save_string): Constify char* parameters.
        (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
        * prefix.c: Include prefix.h.
        (get_key_value, translate_name, save_string, update_path,
        set_std_prefix): Constify various char* parameters and variables.
        (save_string): Use xmalloc, not malloc.
        (translate_name): Use a writable temporary variable to create and
        modify a string before setting it to a const char*.
        * prefix.h: New file to prototype functions exported from prefix.c.

From-SVN: r24498
1999-01-05 19:11:22 +00:00
Jeff Law
258ce95eb6 Daily bump.
From-SVN: r24495
1999-01-04 17:45:02 -07:00
Jeffrey A Law
79014e6f0b configure.in (thread_file): Correct and simplify code to find the thread file.
* configure.in (thread_file): Correct and simplify code to find
        the thread file.
        * configure: Rebuilt.

From-SVN: r24494
1999-01-04 17:40:22 -07:00
Robert Lipe
031071bf6b A newer branch for fixinclude work.
: Modified Files:
:  Tag: fixincl-branch
: 	Makefile.in fixinc.dgux fixinc.irix fixinc.ptx fixinc.sco
: 	fixinc.svr4 fixinc.winnt fixinc.wrap fixincl.c fixincl.sh
: 	fixincl.x hackshell.tpl inclhack.def inclhack.sh inclhack.tpl
: 	mkfixinc.sh regex.c regex.h server.c server.h
: Added Files:
: 	README

[[Split portion of a mixed commit.]]

From-SVN: r24488.2
1999-01-04 14:11:02 +00:00
Dave Brolley
bb2d453f8a Move entries to proper place.
From-SVN: r24486
1999-01-04 07:45:36 -05:00
Zack Weinberg
ed705a8232 cpplib.c (skip_if_group): Split out the logic that handles directive recognition to its own function.
1998-12-21 18:03 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpplib.c (skip_if_group): Split out the logic that handles
	directive recognition to its own function.  Don't use
	parse markers; use a bare pointer into the buffer.  Use
	copy/skip_rest_of_line instead of doing it by hand.  Remove
	`return on any directive' mode which was never used, and take
	only one argument.
	(consider_directive_while_skipping): New function, subroutine
	of skip_if_group.  Logic streamlined a bit.
	(conditional_skip, do_elif, do_else): Call skip_if_group with
	only one argument.

From-SVN: r24485
1999-01-04 07:38:22 -05:00
Zack Weinberg
16deb3fb8f cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an error.
Wed Dec 23 17:30:18 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
	error.

From-SVN: r24484
1999-01-04 07:15:43 -05:00
Jason Merrill
0ded1f18fa * extend.texi (Bound member functions): Document.
From-SVN: r24483
1999-01-04 06:56:18 -05:00
Jason Merrill
02275c91e6 new
From-SVN: r24482
1999-01-04 06:55:40 -05:00
Jason Merrill
8d7f862cfb tree.c (bound_pmf_p): New fn.
* tree.c (bound_pmf_p): New fn.
	* typeck.c (build_c_cast): Use it.

From-SVN: r24481
1999-01-04 06:55:37 -05:00
Jason Merrill
007e5feae7 * decl.c (grok_op_properties): Use same_type_p.
From-SVN: r24480
1999-01-04 05:54:26 -05:00
Kaveh R. Ghazi
47e6be47d2 Warning fixes:
* mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
        lang_to_string, type_to_string): Make return type const char*.
        (print_symbol): Apply `const' keyword to a char*.
        (print_file_desc): Cast structure member `crfd' to ulong when
        comparing against one.
        * mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
        (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
        (progname, input_name): Apply `const' keyword to a char*.
        Don't redundantly include sys/stat.h.
        (alloc_info): Apply `const' keyword to a char*.
        (st_to_string, sc_to_string): Likewise.
        (hash_string): Cast variable `hash_string' to a symint_t when
        comparing against one.
        (add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
        Likewise cast it to long when comparing against one.
        (add_local_symbol): Apply `const' keyword to a char*.
        (add_ext_symbol): Likewise.
        (add_unknown_tag): Likewise.
        (add_procedure): Cast a printf-style field width to an int.
        (add_file): Cast PAGE_USIZE to long when comparing against one
        (parse_begin): Cast a printf-style field width to an int.
        (parse_bend): Likewise.
        (parse_def): Likewise.
        (parse_end): Likewise.
        (mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
        (parse_stabs_common): Fix format specifier.
        (parse_input): Change type of variable `i' to Size_t.
        (write_object): Fix arguments to match format specifiers.
        Cast variable `num_write' to long when comparing against one.
        (read_seek): Cast variable `sys_read' to symint_t when comparing
        against one.  Fix arguments to match format specifiers.  Cast
        variable `size' to long when comparing against one.
        (copy_object): Cast result of `sizeof' to int when comparing
        against one.  Fix arguments to match format specifiers.  Cast
        variable `ifd' to long when comparing against a signed value.
        Likewise, likewise.

From-SVN: r24479
1999-01-04 08:11:13 +00:00
Kaveh R. Ghazi
736b02fdfa c-common.c (decl_attributes): Allow applying attribute `unused' on a LABEL_DECL.
* c-common.c (decl_attributes): Allow applying attribute `unused'
        on a LABEL_DECL.
        * c-parse.in (label): Parse attributes after a label, and call
        `decl_attributes' to handle them.
        * gansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define.
        * genrecog.c (OUTPUT_LABEL, write_tree_1, write_tree): When
        generating labels, mark them with ATTRIBUTE_UNUSED_LABEL.
        * invoke.texi: Note that labels can be marked `unused'.

From-SVN: r24478
1999-01-04 07:48:37 +00:00
Jeff Law
fbc7f4a22d Daily bump.
From-SVN: r24477
1999-01-03 17:45:02 -07:00
Jeffrey A Law
f430a01ed8 Bump for snapshot
From-SVN: r24473
1999-01-03 16:32:23 -07:00
Jeffrey A Law
3b0d546a2b optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing RTL for a compare/jump sequence.
* optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
        RTL for a compare/jump sequence.

From-SVN: r24472
1999-01-03 15:03:47 -07:00
Michael Hayes
362cc3d434 optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL for a target with HAVE_cc0 defined.
* optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
        for a target with HAVE_cc0 defined.
        (emit_cmp_and_jump_insns): New function.
        * expr.h (emit_cmp_and_jump_insns): Prototype it.
        * loop.c (check_dbra_loop): Use it to replace calls
        to emit_cmp_insn and emit_jump_insn and to canonicalise
        the comparison if necessary.
        * unroll.c (unroll_loop): Likewise.

From-SVN: r24471
1999-01-03 13:43:14 -07:00
Rainer Orth
1cd0a8edca fixincludes (sys/utsname.h): Provide forward declaration of struct utsname on Ultrix V4.[35].
* fixincludes (sys/utsname.h): Provide forward declaration of
        struct utsname on Ultrix V4.[35].

From-SVN: r24470
1999-01-03 13:16:10 -07:00
Jeff Law
eb78b99d9b Update copyrights.
From-SVN: r24469
1999-01-03 13:09:31 -07:00
Jeff Law
08ea656fb6 Copyright update.
From-SVN: r24468
1999-01-03 13:08:21 -07:00
Rainer Orth
d670fb27a0 * readrecord.c: Include <sys/types.h> for off_t.
From-SVN: r24467
1999-01-03 13:07:56 -07:00
Rainer Orth
9d6b41f3f1 mips.md (div_trap): Use local labels instead of dot-relative branches.
* mips.md (div_trap): Use local labels instead of dot-relative
        branches.
Works around bug in ultrix assemblers.

From-SVN: r24466
1999-01-03 13:04:50 -07:00
Jeffrey A Law
dcaeffefc5 pa.md (branch, [...]): Handle (const_int 0) as first source operand.
* pa.md (branch, negated branch): Handle (const_int 0) as first
        source operand.
        * pa.c (output_cbranch): Likewise.
Should fix unrolling aborts on the PA.

From-SVN: r24465
1999-01-03 12:45:34 -07:00
Jeff Law
ae3de8b7b2 Daily bump.
From-SVN: r24464
1999-01-02 17:45:02 -07:00
David Edelsohn
8dda1a213f rs6000.c (rs6000_stack_info): Undo spurious part of last change.
* rs6000.c (rs6000_stack_info): Undo spurious part of last
        change.

From-SVN: r24463
1999-01-02 19:24:05 -05:00
Robert Lipe
b07fe36812 * configure.in: (*-*-sysv5, *-*-*udk*): Treat like sysv4.
From-SVN: r24462
1999-01-02 19:16:17 +00:00
Jeff Law
853b83077d Daily bump.
From-SVN: r24461
1999-01-01 17:45:02 -07:00
Manfred Hollstein
4d39051857 extend.texi (__builtin_constant_p): Add missing @smallexample.
* extend.texi (__builtin_constant_p): Add missing @smallexample.

From-SVN: r24460
1999-01-01 12:34:39 +00:00
Manfred Hollstein
1048777fdf extend.texi (__builtin_constant_p): Add missing @smallexample.
�
	* extend.texi (__builtin_constant_p): Add missing @smallexample.

From-SVN: r24459
1999-01-01 12:34:37 +00:00
Jeff Law
270fc2ae00 i386.md (doubleword shifts): Fix dumb mistakes in previous change.
* i386.md (doubleword shifts): Fix dumb mistakes in previous change.

From-SVN: r24457
1999-01-01 03:53:08 -07:00
Jeff Law
a94b6ed988 i386.md (doubleword shifts): Fix dumb mistakes in previous change.
�
        * i386.md (doubleword shifts): Fix dumb mistakes in previous change.

From-SVN: r24456
1999-01-01 03:53:05 -07:00
Jeff Law
ad1e3325f4 Daily bump.
From-SVN: r24455
1998-12-31 17:45:02 -07:00
Jeff Law
463e114c4f Daily bump.
From-SVN: r24454
1998-12-30 17:45:03 -07:00
Jeffrey A Law
4cca99f4bd m68k.md (adddi_dilshr32): Allow all operands to be registers too.
* m68k.md (adddi_dilshr32): Allow all operands to be registers too.
        (adddi_dishl32): Similarly.

From-SVN: r24452
1998-12-30 17:13:53 -07:00
Jeffrey A Law
97577254a2 cse.c (invalidate_skipped_block): Call invalidate_from_clobbers for each insn in the skipped block.
* cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
        for each insn in the skipped block.
Fixes m68k codegen bug.

From-SVN: r24450
1998-12-30 16:35:49 -07:00
Jeffrey A Law
f67c2384cb reload1.c (reload_as_needed): Verify that the insn satisfies its constraints after replacing a register...
* reload1.c (reload_as_needed): Verify that the insn satisfies its
        constraints after replacing a register address with an autoincrement
        address for reload inheritance purposes.

From-SVN: r24449
1998-12-30 16:14:25 -07:00
Jeffrey A Law
f203c52060 * i386.md (doubleword shifts): Avoid namespace pollution.
From-SVN: r24448
1998-12-30 15:45:16 -07:00
Zack Weinberg
de2c54aae1 * gcc.c-torture/compile/981223-1.c: New test.
From-SVN: r24447
1998-12-30 15:08:25 -07:00
David O'Brien
56830143aa * configure.in (FreeBSD ELF): Needs special crt files.
From-SVN: r24446
1998-12-30 15:05:08 -07:00