Commit Graph

20087 Commits

Author SHA1 Message Date
Jeff Law
2650c4e3e3 Fix copyright dates.
From-SVN: r24534
1999-01-06 13:13:47 -07:00
Jeff Law
0e6f067070 Update copyrights.
From-SVN: r24533
1999-01-06 13:10:40 -07:00
Jeff Law
5dda2fe8c7 Fix copyright dates.
From-SVN: r24532
1999-01-06 13:07:50 -07:00
Jeff Law
fdf004cfcb Fix copyrights.
From-SVN: r24531
1999-01-06 13:02:36 -07:00
Jeff Law
44ba0e9336 Fix copyright dates.
From-SVN: r24530
1999-01-06 12:54:35 -07:00
Jeff Law
ad83f53748 Fix copyrights.
From-SVN: r24529
1999-01-06 12:48:38 -07:00
Jeff Law
34f94b1ff9 Fix copyright date.
From-SVN: r24528
1999-01-06 12:42:20 -07:00
Jeff Law
a5acf2a1f5 Fix copyright dates.
From-SVN: r24527
1999-01-06 12:40:37 -07:00
Jeff Law
3b917a5593 Revert changes which crept in by accident.
From-SVN: r24526
1999-01-06 12:02:42 -07:00
Richard Henderson
44d22bef0a expr.c (expand_builtin): Use value_mode for the return mode.
* expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
        value_mode for the return mode.

From-SVN: r24525
1999-01-06 10:51:30 -08:00
Jeffrey A Law
ca54603f6a calls.c (special_function_p): Push alloca test inside the large conditional which excludes functions not at...
* calls.c (special_function_p): Push alloca test inside the large
        conditional which excludes functions not at file scope or not
        extern.

From-SVN: r24524
1999-01-06 10:57:29 -07:00
Per Bothner
bc3ca41b49 check-init.c: New file.
8
	* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

From-SVN: r24523
1999-01-06 09:49:38 -08:00
Per Bothner
4ba9a1aa64 check-init.c: New file.
* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

From-SVN: r24522
1999-01-06 09:49:36 -08:00
Per Bothner
db84cc4622 check-init.c: New file.
�
	* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

From-SVN: r24521
1999-01-06 09:49:29 -08:00
Graham Stott
8c4ea1fd22 parse.y: include system.h instead of including standard headers directly with the...
�
	* parse.y : include system.h instead of including
	standard headers directly with the exception of <dirent.h>.

From-SVN: r24520
1999-01-06 09:36:52 -08:00
Graham Stott
36635152c9 parse.y: include system.h instead of including standard headers directly with the...
8
	* parse.y : include system.h instead of including
	standard headers directly with the exception of <dirent.h>.

From-SVN: r24519
1999-01-06 09:36:50 -08:00
Per Bothner
0d34ccb7f2 lex.h: Moved static function declarations to lex.c, to shut up some -Wall warnings.
�
	* lex.h:  Moved static function declarations to lex.c,
	to shut up some -Wall warnings.
	* lex.c:  Static function declarations moved here.
	* jcf-dump.c:  Small fixes to shut up -Wall warnings.

From-SVN: r24518
1999-01-06 08:50:39 -08:00
Robert Lipe
90e6a802fc configure.in: New flag --with-dwarf2.
* configure.in: New flag --with-dwarf2.   If set, enables DWARF-2
debugging as default.
* config/tm-dwarf2.h: New file.

[[Split portion of a mixed commit.]]

From-SVN: r24517.2
1999-01-06 16:05:47 +00:00
Jeffrey A Law
20efdf7410 calls.c (special_function_p): New function broken out of expand_call.
* calls.c (special_function_p): New function broken out of
        expand_call.
        (precompute_register_parameters): Likewise.
        (store_one_arg): Likewise.
        (store_unaligned_argumetns_into_pseudos): Likewise.
        (save_fixed_argument_area): Likewise.
        (restore_fixed_argument_area): Likewise.
        (expand_call): Corresponding changes.

From-SVN: r24516
1999-01-06 08:15:11 -07:00
Andreas Schwab
4a8832ee24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * config/m68k/m68k.c (const_uint32_operand): Remove CONSTANT_P_RTX
        handling.
        (const_sint32_operand): Likewise.

From-SVN: r24515
1999-01-06 02:44:27 -08:00
Kaveh R. Ghazi
2813b56e01 toplev.h: In addition to checking _JBLEN...
* toplev.h: In addition to checking _JBLEN, also check if `setjmp'
        is a macro when deciding if we can use `jmp_buf' in prototypes.

From-SVN: r24514
1999-01-06 06:56:11 +00:00
Michael Hayes
e4e30b3dc4 c4x.md (addqi3): If the destination operand is a hard register other than an extended precision...
* config/c4x/c4x.md (addqi3): If the destination operand is
	a hard register other than an extended precision register,
	emit addqi3_noclobber.
	(*addqi3_noclobber_reload): New pattern added so that reload
	will recognise a store of a pseudo, equivalent to the sum
	of the frame pointer and a constant, as an add insn.

From-SVN: r24511
1999-01-06 03:20:44 +00:00
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