Commit Graph

15567 Commits

Author SHA1 Message Date
Mark Mitchell
9b713d5e50 iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers.
* iostream.cc (ostream::operator<<(long double)): Don't use
	labeled initializers.

From-SVN: r17842
1998-02-10 19:35:01 -05:00
Marc Lehmann
00c79232ab i386.c: Added include for recog.h.
* i386.c: Added include for recog.h.
        (override_options): Removed unused variable p. Initialized regno to
        avoid warning.
        (order_regs_for_local_alloc): Initialized regno to avoid warning.
        (legitimize_address): Likewise for 'other'.
        (i386_aligned_reg_p): Added default case with abort ().
        (print_operand): Likewise.
        (reg_mentioned_in_mem): Likewise.
        (ix86_expand_binary_operator): Removed unused variables i & insn.
        (ix86_expand_unary_operator): Removed unused variable insn.
        (output_fp_cc0_set): Removed unused variable unordered_label.

From-SVN: r17841
1998-02-10 17:29:57 -07:00
John F. Carr
f64cecad3e i386.c, [...]: Change gen_rtx (X, ...) to gen_rtx_X (...).
* i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
        Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
        and format string match.

From-SVN: r17840
1998-02-10 17:25:43 -07:00
Jeffrey A Law
0200b5ed0a flow.c (life_analysis): Do not conside the stack pointer live at the end of a function if...
* flow.c (life_analysis): Do not conside the stack pointer live at
        the end of a function if the fucntio ncalls alloca.
        (mark_used_regs): Similarly.

From-SVN: r17839
1998-02-10 17:18:51 -07:00
Jason Merrill
c29c4e238e * pt.c (convert_nontype_argument): Fix typo.
From-SVN: r17838
1998-02-10 18:58:19 -05:00
Jeff Law
3ab1919cc2 Update autoconf/autoheader generated files.
From-SVN: r17837
1998-02-10 16:51:52 -07:00
Jason Merrill
c6f2ed0db7 pt.c (check_explicit_specialization): Allow old-style specialization of class template members.
* pt.c (check_explicit_specialization): Allow old-style specialization
	of class template members.

From-SVN: r17836
1998-02-10 18:42:31 -05:00
Jason Merrill
71cc65bdb7 decl.c (grokdeclarator): Use DECL_USE_TEMPLATE instead when deciding to override DECL_ASSEMBLER_NAME.
* decl.c (grokdeclarator): Use DECL_USE_TEMPLATE instead
	when deciding to override DECL_ASSEMBLER_NAME.

Co-Authored-By: Manfred Hollstein <manfred@s-direktnet.de>

From-SVN: r17835
1998-02-10 15:37:18 -05:00
John F. Carr
74ccf2c258 For movdi_v8plus pattern, output stx on alternative 1 and fzero on alternative 8.
For movdi_v8plus pattern, output stx on alternative 1 and
fzero on alternative 8.  Fix from John Carr (jfc@mit.edu)

From-SVN: r17834
1998-02-10 07:25:50 -08:00
Andrew Macleod
ed22c95e1a Add support for squangling.
From-SVN: r17832
1998-02-10 12:32:21 +00:00
Andrew Macleod
8f5b46b422 Add -fsquangle and -fno-squangle.
From-SVN: r17831
1998-02-10 12:32:03 +00:00
Andrew Macleod
5bd179053b Add declaration for flag_do_squangling.
From-SVN: r17830
1998-02-10 12:31:55 +00:00
Andrew Macleod
1d9ffce9c5 Add -fsquangle to option processing list.
From-SVN: r17829
1998-02-10 12:31:27 +00:00
Andrew Macleod
727e39c7ff Add squangling support. (First cut at improved Name mangling)
From-SVN: r17828
1998-02-10 12:31:01 +00:00
John Carr
3afaa6e8c5 Patch from jfc to fix printf format problems.
From-SVN: r17827
1998-02-10 03:47:01 -08:00
Richard Kenner
60e2d0ca3d rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
From-SVN: r17825
1998-02-10 04:05:42 -05:00
H.J. Lu
b45f3a91b9 * lib/g77.exp (g77_target_compile): Fix multilibs for libf2c.
From-SVN: r17818
1998-02-09 15:54:34 -07:00
J"orn Rennecke
2fd0af53a1 reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical SUBREGs of CONST_INTs.
* reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
	SUBREGs of CONST_INTs.

From-SVN: r17809
1998-02-09 19:39:35 +00:00
John Carr
a96c354489 Patch from jfc to fix printf format problems.
* mips.c (print_operand, function_prologue): Make printf format
	match argument type.

From-SVN: r17808
1998-02-09 09:53:56 -08:00
Jeff Law
5949e2630d Add Tege & Kate as maintainers of c-torture and f-torture respectively.
From-SVN: r17804
1998-02-09 07:22:47 -07:00
Kaveh R. Ghazi
2514cbc993 alpha.c (alpha_return_addr): Remove unused variable `first'.
* alpha.c (alpha_return_addr): Remove unused variable `first'.
        (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
        (output_epilog): Remove unused variable `frame_size_from_reg_save'.

From-SVN: r17799
1998-02-08 18:36:08 -07:00
H.J. Lu
fa80e0a6c8 old-dejagnu.exp (old-dejagnu): Added the "execution test - XFAIL *-*-*" handling in the spirit of "excess...
* lib/old-dejagnu.exp (old-dejagnu): Added the
        "execution test - XFAIL *-*-*" handling in the spirit of
        "excess errors test -". Changed the "execution test fails"
        handling to be like "excess errors test fails".
        * Update various tests accordingly.

From-SVN: r17798
1998-02-08 18:07:31 -07:00
Craig Burley
34bea46406 Fix -fpedantic combined with `F()' invocation,
also -fugly-comma combined with `IARGC()' invocation:
        * bad.def (FFEBAD_NULL_ARGUMENT_W): New diagnostic.
        * expr.c (ffeexpr_finished_): Don't reject null expressions
        in the argument-expression context -- let outer context
        handle that.
        (ffeexpr_token_arguments_): Warn about null expressions
        here if -fpedantic (as appropriate).
        Obey -fugly-comma for only external-procedure invocations.

From-SVN: r17793
1998-02-08 16:55:11 -07:00
Scott Snyder
aea955a2df * method.c (make_thunk): Avoid name buffer overflow.
From-SVN: r17784
1998-02-08 15:46:23 -07:00
John Carr
13309a5ff9 Document unique_id variable.
From-SVN: r17783
1998-02-08 15:53:23 +00:00
David Edelsohn
b94ad19e82 Oops, bump copyright year.
From-SVN: r17782
1998-02-08 09:13:54 -05:00
Richard Kenner
72b0c616a5 Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Feb  8 14:56:03 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * loop.c (strength_reduce): When placing increment for auto-inc
        case, do comparison in loop order.

From-SVN: r17781
1998-02-08 09:12:00 -05:00
John Carr
2e0dd623cd bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer, not a HOST_WIDE_INT.
* bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
	not a HOST_WIDE_INT.
	* calls.c (expand_call): Change test of expand_inline_function
	return value to stop compiler warning.
	* genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.

From-SVN: r17777
1998-02-08 05:26:43 -07:00
Jim Wilson
7bf825d296 regmove.c: Fix various minor formatting problems.
* regmove.c: Fix various minor formatting problems.
        (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
        is true.  Make end of basic block tests consistent through regmove.c.
        (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
        (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r17775
1998-02-08 04:43:54 -07:00
David Edelsohn
40f39eb714 w
Removed asterisk from David Edelsohn for rs6000 port

From-SVN: r17774
1998-02-08 05:00:12 -05:00
Kaveh R. Ghazi
7d4679eaa8 gansidecl.h: Check for a conflicting macro definition before attempting to prototype bcopy...
* gansidecl.h: Check for a conflicting macro definition before
        attempting to prototype bcopy, bcmp or bzero.

From-SVN: r17773
1998-02-07 17:48:07 -07:00
Jeff Law
e93e582cb7 Add new entry.
From-SVN: r17772
1998-02-07 17:13:59 -07:00
Manfred Hollstein
12346e710c * Makefile.in: Add `info install-info clean-info check dvi' targets.
From-SVN: r17771
1998-02-07 16:30:55 -07:00
Jeffrey A Law
060fbabfb9 expr.c (clear_pending_stack_adjust): Handle case where a function calls alloca...
* expr.c (clear_pending_stack_adjust): Handle case where a function
        calls alloca, but the user has specified -fomit-fframe-pointer.

From-SVN: r17770
1998-02-07 16:26:08 -07:00
Jeffrey A Law
b515ab3d51 * function.c (assign_parms): Fix typo in last change.
From-SVN: r17769
1998-02-07 16:08:24 -07:00
Robert Lipe
ededb2fc08 gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>, <fcntl.h>.
* gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
        <fcntl.h>.
        (free_path_suffix): Remove unreferenced static function.
        (process_command): Remove unused variable temp.
        (default_arg): Remove unused variable i.
        (do_spec_1):  Add parens for assignment used as truth value.
        (main): Likewise.
        (validate_all_switches): Likewise.
        (main): Remove unused variables i, first_time>

From-SVN: r17768
1998-02-07 16:00:07 -07:00
Jeff Law
42374971ba Whitespace change for better readability.
From-SVN: r17767
1998-02-07 15:58:32 -07:00
Robert Lipe
ccd043a956 c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
        * calls.c (expand_call): Remove unused variables funtree,
        n_regs, and tmpmode.
        * dbxout.c, except.c: Include <string.h>/<strings.h>.
        * explow.c: (plus_constant_for_output_wide) Removed unused
        variable all_constant.
        * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
        genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
        genrecog.c, global.c, integrate.c , stupid.c : Include
        <stdlib.h>.
        * genextract.c: (walk_rtx) Remove unused variable link.
        * genrecog.c: (concat) Remove unreferenced static function.
        * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
        * stmt.c: Include <stdlib.h>.
        (expand_asm_operands): Remove unused variable val1.
        (expand_return): Remove unused variable block.
        (pushcase): Remove unused variables l and n.
        (pushcaserange): Likewise.
        * unroll.c (unroll_loop): Remove unused variable temp.

From-SVN: r17766
1998-02-07 15:55:54 -07:00
Greg McGary
6553db017b * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
From-SVN: r17765
1998-02-07 15:44:35 -07:00
Jason Merrill
d52dae6113 new
From-SVN: r17764
1998-02-07 12:18:39 -05:00
Jason Merrill
bd0f14dcbf pt.c (instantiate_decl): Call cp_finish_decl for vars even if we don't define them yet.
* pt.c (instantiate_decl): Call cp_finish_decl for vars even if we
	don't define them yet.

From-SVN: r17763
1998-02-07 12:14:22 -05:00
Jason Merrill
ced6816015 * parse.y (nomods_initdcl0): Add constructor_declarator case.
From-SVN: r17762
1998-02-07 10:18:24 -05:00
Kaveh R. Ghazi
8479e1dbfd How I missed committing this I don't know.
From-SVN: r17761
1998-02-07 05:36:28 -08:00
Kaveh R. Ghazi
f1b54f9bbb aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for whether they support the %p format...
* aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
functions for whether they support the %p format specifier.
* acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
* configure.in (GCC_FUNC_PRINTF_PTR): Use it.
* configure, config.in: Rebuild.

From-SVN: r17760
1998-02-07 05:21:36 -08:00
Jason Merrill
941ac66e0b new
From-SVN: r17753
1998-02-06 21:04:30 -05:00
Jim Wilson
bf9c83fe76 Fix irix6 stdarg failure when last named arg has FP type.
* function.c (assign_parms): New variable named_arg, with value
	depending on STRICT_ARGUMENT_NAMING.  Use instead of ! last_named.

From-SVN: r17695
1998-02-06 06:31:56 -08:00
Gavin Koch
09e4daf5d2 Correct tx39 multilibs.
* mips/t-r3900: New - same as t-ecoff but eliminate
	multilibs: mips1 and mips3.
	* configure.in (tx39*): Use new mips/t-r3900.
 	* configure: Rebuild.
	* mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.

From-SVN: r17693
1998-02-06 14:12:52 +00:00
Jason Merrill
d60846c7b6 * tinfo2.cc: Add tinfo for signed char.
From-SVN: r17687
1998-02-06 04:55:20 -05:00
Jason Merrill
b57d92255a dwarf2out.c: Add old_args_size.
* dwarf2out.c: Add old_args_size.
	(dwarf2out_args_size): Use it.
	(dwarf2out_begin_prologue): Initialize it.
	(dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
	pushed args until we see a call.
	* final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
	before outputting them.
	* cplus-dem.c (demangle_template_template_parm): New function.
	(demangle_template): Handle template template parameters.

From-SVN: r17685
1998-02-05 20:18:06 -05:00
Mark Mitchell
259620a822 calls.c (expand_call): Don't confuse member functions named realloc...
* calls.c (expand_call): Don't confuse member functions named
        realloc, setjmp, and so forth with the standard library
        functions of the same names.

From-SVN: r17684
1998-02-05 17:39:51 -07:00