Commit Graph

15567 Commits

Author SHA1 Message Date
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
Jeff Law
03340df47c Change lawcs.utah.edu references to law@cygnus.com
From-SVN: r17615
1998-02-03 02:46:44 -07:00
Jeff Law
6f92035c13 put me down for caller-save.c which I largely rewrote a few years ago...
From-SVN: r17614
1998-02-03 02:44:23 -07:00
Jason Merrill
867a3ea4fb new
From-SVN: r17612
1998-02-02 20:33:18 -05:00
Mark Mitchell
67da32876e parse.y (primary): Deal with statement-expressions in templates.
* parse.y (primary): Deal with statement-expressions in
	templates.
	* pt.c (tsubst_copy): Handle BIND_EXPR.
	* tree.c (mapcar): Likewise.

From-SVN: r17611
1998-02-02 20:33:09 -05:00
Jeffrey A Law
0340ed6c77 jump.c (jump_optimize): Fix first arg to modified_in_p in previous change.
* jump.c (jump_optimize): Fix first arg to modified_in_p in
        previous change.

From-SVN: r17610
1998-02-02 17:09:57 -07:00
Mark Mitchell
d7684f2df8 call.c (add_template_candidate_real): Pass extra parameter to fn_type_unification.
* call.c (add_template_candidate_real): Pass extra parameter to
	fn_type_unification.
	* cp-tree.h (fn_type_unification): Add parameter.
	* pt.c (fn_type_unification): Add additional parameter to deal with
	static member functions.
	(get_bindings): Deal with static member functions.

From-SVN: r17609
1998-02-02 18:44:19 -05:00
Jeff Law
15f05b4550 Note location of comp.std.c++ FAQ
From-SVN: r17608
1998-02-02 16:03:30 -07:00
Jeff Law
e3a03463a3 Add Andrew.
From-SVN: r17604
1998-02-02 14:07:43 -07:00
Richard Henderson
6fd1c67b8b expr.c (expand_builtin_setjmp): Accept two new arguments for the labels to branch to on first and subsequent...
* expr.c (expand_builtin_setjmp): Accept two new arguments for
 the labels to branch to on first and subsequent executions.  Don't
 play with __dummy.  Rename `setjmp' insn to `builtin_setjmp_setup',
 and provide it with the jmp_buf.  Use only one of
 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
 and provide the former with the target label.
 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
 (expand_builtin_longjmp): ... here.  Recognize a `builtin_longjmp'
 insn to replace all of the normal nonlocal_goto code.  Don't play
 with __dummy.  Correct arguments to nonlocal_goto.
 * expr.h (expand_builtin_setjmp): Update prototype.
 * except.c (start_dynamic_handler): When using builtin_setjmp,
 generate more accurate flow information.
 * alpha.md (nonlocal_goto_receiver_osf): Delete.
 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
 (builtin_longjmp, builtin_setjmp_receiver): New.
 * sparc.md (update_return): Disambiguate unspec number.
 (nonlocal_goto): Rearrange arguments to match caller in except.c.
 (builtin_setjmp_setup): Rename from setjmp.  Match and ignore the
 jmp_buf operand.
 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
 (builtin_setjmp_setup*, builtin_longjmp): New.

From-SVN: r17602
1998-02-02 11:28:57 -08:00
John Carr
95936d18c1 Patch from John Carr to fix some 32/64 bit cross compiler bugs.
* mips.md: Change gen_rtx (CONST_INT) to GEN_INT.

From-SVN: r17601
1998-02-02 08:44:24 -08:00
Jeff Law
a5b699cfe1 Various updates.
From-SVN: r17600
1998-02-02 08:53:17 -07:00
Jim Wilson
c120c689a5 Remove last of bytecode support.
* vmsconfig.com: Remove bytecode references.

From-SVN: r17599
1998-02-02 05:09:22 -08:00
Mark Mitchell
8857f91e00 cp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro.
* cp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro.
	(revert_static_member_fn): Declare.
	* decl.c (revert_static_member_fn): Remove declaration.  Change
	linkage from internal to external.
	(cp_finish_decl): Deal with virtual functions in classes local to
	template functions.
	* decl2.c (finish_file): Don't forget to emit increment/decrement
	expressions in initializers for file-scope variables.
	* parse.y (typename_sub2): If the typename doesn't names a
	template, rather than a type, issue an error message.
	* pt.c (check_explicit_specialization): Handle specializations of
	static member functions.
	(coerce_template_parms): Handle offset references to lists of
	member functions.
	* search.c (note_debug_info_needed): Don't crash when handed a
	type which is being defined.
	* typeck.c (complete_type): Don't crash when handed NULL_TREE;
	that can happen with some illegal code.

From-SVN: r17598
1998-02-02 06:41:39 -05:00
Richard Henderson
318e3b20e4 configure.in: Update F2C_INTEGER and F2C_LONGINT tests for the new placement in the hierarchy.
* configure.in: Update F2C_INTEGER and F2C_LONGINT tests
for the new placement in the hierarchy.

From-SVN: r17597
1998-02-02 03:09:23 -08:00
Andreas Schwab
9119390023 dwarf2out.c (dwarf2out_frame_init): Undo last change...
* dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
	-fno-sjlj-exceptions works for a target that defines
	DWARF2_UNWIND_INFO as zero.

From-SVN: r17596
1998-02-02 03:26:33 -07:00
Andreas Schwab
1a56b81fe6 regmove.c (fixup_match_1): Undo last change which removed some "useless" code...
* regmove.c (fixup_match_1): Undo last change which removed some
        "useless" code, and add a comment explaining this.

From-SVN: r17595
1998-02-02 03:23:22 -07:00
Gavin Koch
e4b3de45ac mips.c (mips_expand_prologue): Change uses of TARGET_64BIT to TARGET_LONG64.
* mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
        to TARGET_LONG64.

From-SVN: r17594
1998-02-02 02:46:21 -07:00
Klaus Kaempf
2aabb736c9 makefile.vms: Remove bytecode references.
* makefile.vms: Remove bytecode references.
        Create genrtl files.

From-SVN: r17593
1998-02-02 02:37:18 -07:00
Jeff Law
4693911f10 Tweak again.
From-SVN: r17592
1998-02-02 02:33:14 -07:00
Michael P. Hayes
7457661d45 jump.c (jump_optimize): Allow conditional loading of floating point constants and constants from memory.
* jump.c (jump_optimize): Allow conditional loading of floating point
        constants and constants from memory.  Reinstalled modified_in_p tests.

From-SVN: r17591
1998-02-01 18:09:04 -07:00
J"orn Rennecke
460f50dc14 * loop.c (get_condition): Handle sign-extended constants.
From-SVN: r17590
1998-02-01 17:37:25 -07:00
Hans-Peter Nilsson
db771a3c53 * expr.c (emit_push_insn): Add code to use movstrti if present.
From-SVN: r17589
1998-02-01 17:23:13 -07:00
Hans-Peter Nilsson
7a6df7f924 expr.c (emit_push_insn): Use same max-move-amount for movstrhi and movstrqi as in emit_block_move ().
* expr.c (emit_push_insn): Use same max-move-amount for movstrhi
	and movstrqi as in emit_block_move ().

From-SVN: r17588
1998-02-01 17:21:46 -07:00