Commit Graph

15408 Commits

Author SHA1 Message Date
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
Manfred Hollstein
c26046c251 Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
* Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
        (stmp-string, ...): Dito.
        (bigstmp-string, ...): Dito.

From-SVN: r17683
1998-02-05 17:34:54 -07:00
Manfred Hollstein
2d70ee201e config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
* config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
        (.c.o): Check value of enable_shared, not PICFLAG.
        (.C.o): Dito.
        (.cc.o): Dito.
        (stamp-picdir): Dito.

From-SVN: r17682
1998-02-05 17:34:27 -07:00
Manfred Hollstein
f5c3ae66ff Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
        (.c.o): Check value of enable_shared, not PICFLAG.
        (stamp-picdir): Dito.

From-SVN: r17681
1998-02-05 17:33:49 -07:00
Manfred Hollstein
4e77e8f159 Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and PICFLAG_FOR_TARGET.
* Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and
        PICFLAG_FOR_TARGET.
        (EXTRA_TARGET_FLAGS): Don't pass PICFLAG_FOR_TARGET.
        * configure: Emit a definition for the new macro enable_shared
        into each Makefile.
        * config/mh-sparcpic (PICFLAG): Define to properly according
        to current multilib configuration.
        * config/mt-sparcpic (PICFLAG_FOR_TARGET): Define to properly
        according to current multilib configuration.

From-SVN: r17680
1998-02-05 17:33:04 -07:00
Jeff Law
94e5565f92 Tweak last entry "no output operands" instead of "no operands".
From-SVN: r17678
1998-02-05 16:14:58 -07:00
Jeffrey A Law
78418280dd stmt.c (expand_asm_operands): Correctly identify asm statements no operands.
* stmt.c (expand_asm_operands): Correctly identify asm statements
        no operands.

From-SVN: r17673
1998-02-05 13:59:44 -07:00
Mumit Khan
6d819282d0 c-common.c (decl_attributes): Flag unrecognized attribute functions as warnings instead of as errors.
* c-common.c (decl_attributes): Flag unrecognized attribute
        functions as warnings instead of as errors.

From-SVN: r17672
1998-02-05 13:54:49 -07:00
Marc Lehmann
aec98e42ef integrate.c (INTEGRATE_THRESHOLD): Inline only small functions when -Os is specified.
* integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
        when -Os is specified.
        * toplev.c (main): Don't disable flag_inline_functions anymore when
        -Os is in effect.

From-SVN: r17671
1998-02-05 13:49:54 -07:00
Mike Stump
eabb2ebae8 search.c (compute_access): Handle protected constructors in derived classes as accessible.
* search.c (compute_access): Handle protected constructors in derived
	classes as accessible.

From-SVN: r17670
1998-02-05 13:48:20 -05:00