Commit Graph

15390 Commits

Author SHA1 Message Date
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
J"orn Rennecke
1230327b00 regmove.c: Update.
* regmove.c: Update.
	* flags.h (flag_regmove): Declare.
	* rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
	* local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
	Moved into regmove; changed caller.
	* toplev.c (rest_of_compilation): Call regmove_optimize also for
	expensive_optimizations.

From-SVN: r17669
1998-02-05 16:34:02 +00:00
Jeff Law
b1ad0392e4 Update David Love's entry.
From-SVN: r17668
1998-02-05 07:09:45 -07:00
Jeff Law
c3356143b6 Document change in 3rd argument to DEFTREECODE.
From-SVN: r17667
1998-02-05 06:55:13 -07:00
Jeff Law
05d7b07760 Fix lossage after snapshot sed tweak.
From-SVN: r17665
1998-02-05 06:45:46 -07:00
Jeffrey A Law
1aca1e767f Bump for snapshot
From-SVN: r17664
1998-02-05 06:38:44 -07:00
J"orn Rennecke
2993ce4c34 Undo this change (the problem was actually in reload):
Fri Jan 23 23:28:59 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
	  * sh.md (movqi_i+1): New peephole.

From-SVN: r17663
1998-02-04 17:48:38 +00:00
Jason Merrill
2a66ec2b80 expr.c (cplus_expand_expr, [...]): Call convert_from_reference sooner.
* expr.c (cplus_expand_expr, PCC_STATIC_STRUCT_RETURN code):
	Call convert_from_reference sooner.

From-SVN: r17659
1998-02-03 20:29:33 -05:00
Jason Merrill
82bf778342 new
From-SVN: r17654
1998-02-03 18:57:24 -05:00
Mark Mitchell
9c0d03672f cvt.c (ocp_convert): Obtain the constant values from constant decls even if...
* cvt.c (ocp_convert): Obtain the constant values from constant
	decls even if the destination type is the same as the type of the
	decl.
	* decl2.c (finish_file): Make sure that static inlines with
	definitions are not marked DECL_EXTERNAL before returning.

From-SVN: r17653
1998-02-03 18:55:27 -05:00
Jason Merrill
cf77610532 decl.c: Lose arg_looking_for_template.
* decl.c: Lose arg_looking_for_template.
	(lookup_name_real): Likewise.
	* parse.y: Lose processing_template_arg, template_arg1
	(primary): Likewise.
	* spew.c (yylex): Set lastiddecl for PTYPENAMEs, too.

From-SVN: r17651
1998-02-03 17:52:45 -05:00
Kriang Lerdsuwanakij
e7e6663285 error.c (dump_decl): Fix type of default arguments for template template parameters and nontype...
* error.c (dump_decl): Fix type of default arguments for template
	template parameters and nontype template parameters.
	* parse.y (template_parm): Handle invalid default template
	template arguments here.
	* parse.y (template_parm): Use template_arg instead of PTYPENAME
	for default template template argument.
	* pt.c (coerce_template_parms): Merge default template argument
	codes.  Can treat RECORD_TYPE as template name if it is implicitly
	created.  Fix argument index in error message.
	* typeck.c (comptypes): Merge template argument comparison codes in
	TEMPLATE_TEMPLATE_PARM and RECORD_TYPE.

From-SVN: r17650
1998-02-03 17:30:26 -05:00
Jeff Law
d47d138a7d Flip expectedness for some linux systems.
From-SVN: r17645
1998-02-03 14:35:30 -07:00
Jeffrey A Law
e535528b5e jump.c (jump_optimize): Lose calls to modified_in_p they are not needed anymore due to changes...
* jump.c (jump_optimize): Lose calls to modified_in_p they are
        not needed anymore due to changes elsewhere in jump.c.

From-SVN: r17644
1998-02-03 14:19:59 -07:00
Jeff Law
922cc7ae07 Tweak some more.
From-SVN: r17643
1998-02-03 14:14:51 -07:00
Richard Henderson
63797cbe78 * config-lang.in: Remove references to runtime/.
From-SVN: r17635
1998-02-03 12:13:42 -08:00
Mumit Khan
e95d117b78 * lex.c (file_name_nondirectory): Also check for '/'.
From-SVN: r17634
1998-02-03 14:57:57 -05:00
David S. Miller
309ca998ba Test commit.
From-SVN: r17624
1998-02-03 07:06:43 -08:00
Jeff Law
e5e4e6f8c7 More tweaks.
From-SVN: r17623
1998-02-03 07:49:59 -07:00