Commit Graph

24505 Commits

Author SHA1 Message Date
Richard Henderson
d5e3e85b18 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
From-SVN: r30024
1999-10-15 14:26:33 -07:00
Richard Henderson
810c1b83f6 mips.c (function_prologue): Fix argument types.
* mips.c (function_prologue): Fix argument types.
        * mips.md (casesi): Use emit_jump_insn for casesi_internal.
        (casesi_internal): Write to the scratch register.

From-SVN: r30023
1999-10-15 13:51:10 -07:00
Zack Weinberg
a2c8e14464 cppexp.c (cpp_parse_escape): Make static.
1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>

	* cppexp.c (cpp_parse_escape): Make static.  Change second arg
	to U_CHAR **.
	(parse_charconst): Delete unnecessary cast when calling
	cpp_parse_escape.
	(cpplib.h): Kill prototype of cpp_parse_escape.

From-SVN: r30022
1999-10-15 18:18:46 +00:00
Richard Henderson
104dfaa8c0 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
* unroll.c (unroll_loop): Cast return value of alloca.
        * i370/i370.c: Include function.h and toplev.h.
        (i370_label_scan): Remove c++ commented abort.
        * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
        (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
        * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
        * i370/xm-mvs.h, i370/xm-oe.h: Likewise.

From-SVN: r30021
1999-10-15 11:07:48 -07:00
Tom Tromey
76ed0c0a4b gij.cc (main): Formatting fixes.
* gij.cc (main): Formatting fixes.
	(_Jv_Compiler_Properties): Define.
	* java/lang/natSystem.cc (_Jv_Environment_Properties): Don't
	declare.
	(init_properties): Set properites from _Jv_Compiler_Properties.
	* include/java-props.h (_Jv_Compiler_Properties,
	_Jv_Environment_Properties): Declare.

From-SVN: r30020
1999-10-15 16:53:41 +00:00
Tom Tromey
7cf4196339 jvgenmain.c (usage): New function.
* jvgenmain.c (usage): New function.
	(main): Use it.  Also, handle `-D' options.
	* jvspec.c (lang_specific_driver): Recognize -D.
	(jvgenmain_spec): Added `%{D*}' to jvgenmain invocation.

From-SVN: r30019
1999-10-15 16:45:31 +00:00
Tom Tromey
3ae21bfccf * include/java-props.h: Added copyright.
From-SVN: r30018
1999-10-15 15:42:26 +00:00
Loren J. Rittle
370c81d682 t-freebsd: Do not override USER_H.
* config/t-freebsd: Do not override USER_H.
        * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.

From-SVN: r30017
1999-10-15 03:04:53 -06:00
Alastair J. Houghton
ffc3b0f915 c-parse.in (component_decl): Support anonymous struct/union.
* c-parse.in (component_decl): Support anonymous struct/union.
        (%expect): Update.
        * c-parse.y: Regenerate.
        * c-parse.c: Likewise.
        * objc/objc-parse.y: Likewise.
        * objc/objc-parse.c: Likewise.
        * c-decl.c (finish_struct): Don't sort the fields.
        (field_decl_cmp): Delete unused function.

Co-Authored-By: Mumit Khan <khan@xraylith.wisc.edu>

From-SVN: r30016
1999-10-15 02:42:02 -06:00
Richard Henderson
e57ad0c815 sparc.md (movsf_const_intreg): Revert last constraint change.
* sparc.md (movsf_const_intreg): Revert last constraint change.
        (movdf_const_intreg_sp32): Likewise.

From-SVN: r30015
1999-10-15 01:25:13 -07:00
Vladimir Makarov
c1edba58eb cse.c: Include hashtab.h instead of splay-tree.h (struct cse_reg_info): No longer use...
* cse.c: Include hashtab.h instead of splay-tree.h
        (struct cse_reg_info): No longer use variant union.  Add new
        field "regno".  All references changed to avoid union.
        (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
        (free_cse_reg_info): Remove.
        (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
        (get_cse_reg_info): Revamp to use expandable hash tables instead
        of splay trees.  Initialize new fields in cse_reg_info structure.
        (new_basic_block): Similarly.

From-SVN: r30014
1999-10-15 02:19:37 -06:00
Vladimir Makarov
a6ee63bb34 * hashtab.h: New file.
From-SVN: r30013
1999-10-15 01:50:54 -06:00
Vladimir Makarov
a2f945c649 Makefile.in (CFILES): Add hashtab.c
* Makefile.in (CFILES): Add hashtab.c
        (REQUIRED_OFILES): Add hashtab.o
        (hashtab.o): Add dependencies.
        * hashtab.c: New file

From-SVN: r30012
1999-10-15 01:50:25 -06:00
Jeff Law
005a696e18 Daily bump.
From-SVN: r30011
1999-10-15 01:45:06 -06:00
Richard Henderson
aece2740ac genrecog.c (message_with_line): Prototype.
* genrecog.c (message_with_line): Prototype.
        (validate_pattern): Pass along the set for the dest, not a flag.
        Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
        Check for PC/CC0 as sources.
        (nodes_identical): Check for children position match before
        allowing the combination.

        * rtl.c (read_rtx): Track line number across \\\n.

From-SVN: r30010
1999-10-14 23:56:28 -07:00
Richard Henderson
0e7e91552c mips.h (SPECIAL_MODE_PREDICATES): New.
* mips.h (SPECIAL_MODE_PREDICATES): New.
        * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
        (movdi+1, movsi+1): Add output reload constraint.
        (casesi_internal): Likewise.  Fix commentary.
        (return_internal): Use pmode_register_operand.

From-SVN: r30009
1999-10-14 23:51:05 -07:00
Richard Henderson
997718c768 1750a.md (movstrqi): Add missing output reload constraint.
* 1750a.md (movstrqi): Add missing output reload constraint.
	(call_value): Likewise.
	* a29k.md (cpxxx patterns): Add missing match_operator mode.
	(jmpfdec): Add missing inout reload constraint.
	* elxsi.md (addsi patterns): Add missing output reload constraint.
	(move from sp): Use @ alternates.
	(call_value): No constraint on output.
	* fr30.md (movsi_pop): Add missing output reload constraint.
	(movsf_constant_store): Likewise.
	(splits): Remove constraints.
	(subsi3): Add missing mode.
	* i370.md (cmpstrsi+1): Add missing output reload constraint.
	(call_value): Likewise.
	* i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
	* m32r.h (PREDICATE_CODES): Add seth_add3_operand.
	* m32r.md (movsicc_internal): Add output reload constraint.
	(movstrsi_internal): Add inout reload constraints.
	* m88k.h (reg_names): Don't declare.
	(SPECIAL_MODE_PREDICATES): New.
	* m88k.md (*): Use register_operand not reg_or_0_operand
	on destinations.
	* mn10200.h (PREDICATE_CODES): New.
	* ns32k.md (ffs pattern): Add output reload constraint.
	* pdp11.md (sob pattern): Add inout reload constraint.
	* sh.md (splits): Remove constraints.
	(indirect_jump_scratch, fpu_switch): Add output reload constraint.
	* v850.md (pattern_is_ok_for_epilogue): Likewise.
	* vax.md (jgequ pattern): Add inout reload constraint.

From-SVN: r30008
1999-10-14 23:38:02 -07:00
Anthony Green
ffccc6bee2 libtool-version: Catch up by incrementing current.
* libtool-version: Catch up by incrementing current.

        * configure.host: Disable use of GCJ_PROPERTIES for mips-tx39.
        * configure, include/config.h.in: Rebuilt.
        * acconfig.h (DISABLE_GETENV_PROPERTIES): Undefine.
        * configure.in: Added --disable-getenv-properties and new define
        `DISABLE_GETENV_PROPERTIES'.

        * prims.cc (PROCESS_GCJ_PROPERTIES): Define.
        (next_property_key): New function.
        (next_property_value): New function.
        (process_gcj_properties): New function.
        (JvRunMain): Call process_gcj_properties.
        (_JvRunMain): Ditto.

        * java/lang/natSystem.cc (init_properties): Set properties defined
        in GCJ_PROPERTIES.  Also add 1.2 style versioning properties.

        * include/java-props.h: New file.

        * java/lang/natSystem.cc (init_properties): Add new properties to
        conform with Java Product Versioning Specification.

From-SVN: r30007
1999-10-15 06:07:41 +00:00
Jeffrey A Law
7901f53f77 configure.in (djgpp): Revert previous patch.
* configure.in (djgpp): Revert previous patch.
        * configure: Rebuit.
        * config/i386/djgpp.h: Revert previous patch.

From-SVN: r30006
1999-10-15 00:06:56 -06:00
Loren J. Rittle
70d42369b1 inclhack.def: Restore patch lost during last merge of "no_bogosity" branch.
* fixinc/inclhack.def: Restore patch lost during last merge of
        "no_bogosity" branch.
        * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.

From-SVN: r30005
1999-10-15 00:02:01 -06:00
Gavin Romig-Koch
abf7cec73a fixincludes: Add a HPUX 11 fix for inttypes.h.
* fixincludes: Add a HPUX 11 fix for inttypes.h.
        * fixinc/inclhack.def: Same.
        * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.

From-SVN: r30004
1999-10-15 00:00:29 -06:00
Richard Henderson
1c784a0eeb pa.md (post_stw+1): Use pmode_register_operand.
* pa.md (post_stw+1): Use pmode_register_operand.
        (dcacheflush, icacheflush): Likewise.

From-SVN: r30003
1999-10-14 23:57:07 -06:00
Richard Henderson
0c5912f4cb alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF as the base of a PLUS.
* alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
        as the base of a PLUS.

From-SVN: r30002
1999-10-14 22:52:38 -07:00
Jan Hubicka
ccc5fd95b2 fold-const.c (fold): Convert (or (not arg0) (not arg1)) to (not (and (arg0) (arg1))).
* fold-const.c (fold): Convert (or (not arg0) (not arg1))
        to (not (and (arg0) (arg1))). Similary for and.

From-SVN: r30001
1999-10-14 23:46:35 -06:00
Michael Hayes
f959ff1a09 c4x.md: Define mode for remaining unspec operators.
* config/c4x/c4x.md:  Define mode for remaining unspec operators.
	* config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.

From-SVN: r30000
1999-10-15 05:39:23 +00:00
Richard Henderson
fc524c1ca9 * i386.md (movstricthi_1): Allow r/r.
From-SVN: r29999
1999-10-14 22:15:10 -07:00
Jan Hubicka
79e8185c9c fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case, falltrought to assocate code.
* fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
        falltrought to assocate code.
        Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
        bits in common.

        * combine.c (simplify_logical): Convert XOR to IOR if operands have
        no bits in common; remove XOR to ROTATE conversion.

From-SVN: r29998
1999-10-14 22:50:09 -06:00
Michael Hayes
ce57746769 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
From-SVN: r29997
1999-10-15 04:42:15 +00:00
Michael Hayes
f416f18c70 c4x.c (dst_operand): New.
* config/c4x/c4x.c (dst_operand): New.
	(PREDICATE_CODES): Update.
	* config/c4x/c4x.h (dst_operand): Declare it.
	* config/c4x/c4x.md:  Define mode for each unspec usage.
	(move patterns):  Use dst_operand predicate instead of src_operand.
	(movqi_update, movqf_update): Delete.

From-SVN: r29996
1999-10-15 04:32:37 +00:00
Richard Henderson
556ffcc552 recog.c (pmode_register_operand): New.
* recog.c (pmode_register_operand): New.
        * recog.h: Declare it.
        * genrecog.c (pred_codes): Likewise.
        (special_mode_pred_table): Likewise.
        (validate_pattern): Don't warn no mode for address_operand.

        * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
        if the operand is not insn-like.

From-SVN: r29995
1999-10-14 18:52:29 -07:00
Jeffrey A Law
104140890a fold-const.c (fold): Handle more simplifications allowed by IEEE.
* fold-const.c (fold): Handle more simplifications allowed by IEEE.

Co-Authored-By: Sylvian Pion <Sylvain.Pion@sophia.inria.fr>

From-SVN: r29994
1999-10-14 19:40:28 -06:00
Richard Henderson
db7eb3e895 sparc.md (*): Use {nonimmediate,register}_operand as appropriate instead of general_operand...
* sparc.md (*): Use {nonimmediate,register}_operand as appropriate
        instead of general_operand in a SET_DEST.  Use const_double_operand
        instead of an explicit test against CONST_DOUBLE.
        (movsf_const_lo): Add missing register mode.
        (goto_handler_and_restore): Add auxiliary test for Pmode.
        (flush): Adjust to use address_operand.
        (return_sf_no_fpu): Add missing output constraint.

From-SVN: r29993
1999-10-14 17:34:45 -07:00
Richard Henderson
2d1086d8b7 rs6000.md (call_value_indirect_aix32): Use wildcard match_operand for call return value.
* rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
        for call return value.
        (call_value_indirect_aix64, call_value_indirect_nt): Likewise.

From-SVN: r29992
1999-10-14 17:29:24 -07:00
Jason Merrill
43a8f6d501 toplev.c (main): Only warn about options for other languages.
* toplev.c (main): Only warn about options for other languages.
	* collect2.c (main): Pass -w to sub-gcc.

From-SVN: r29991
1999-10-14 20:05:52 -04:00
Richard Henderson
ff66631340 flow.c (propagate_block): Use free_EXPR_LIST_list instead of zapping mem_set_list.
* flow.c (propagate_block): Use free_EXPR_LIST_list instead of
        zapping mem_set_list.
        (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
        (mark_set_1, mark_used_regs): Likewise.

From-SVN: r29990
1999-10-14 16:31:25 -07:00
Richard Henderson
d1abb9254b flow.c (propagate_block): Add call-clobbered registers to significant too.
* flow.c (propagate_block): Add call-clobbered registers to
        significant too.

From-SVN: r29989
1999-10-14 16:28:50 -07:00
Jason Merrill
f88b51fc39 typo
From-SVN: r29988
1999-10-14 18:35:27 -04:00
Jason Merrill
5dff71ed6d * toplev.c (main): Don't complain about options for other languages.
From-SVN: r29987
1999-10-14 18:22:32 -04:00
Richard Earnshaw
be929cff4c Add myself to list with general write privs.
From-SVN: r29986
1999-10-14 21:46:16 +00:00
Tom Tromey
8f4265869d * jvspec.c (jvgenmain_spec): Use %umain', not just %u'.
From-SVN: r29985
1999-10-14 20:55:21 +00:00
Richard Henderson
e99b93ff07 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
From-SVN: r29984
1999-10-14 10:52:48 -07:00
Richard Henderson
61da3d7039 Remove cvs conflict markers.
From-SVN: r29983
1999-10-14 10:44:07 -07:00
Brendan Kehoe
c1361791ef memcheck.exp: Make sure a remote host is equipped with driver.h and driver.o so it can...
* execute/memcheck/memcheck.exp: Make sure a remote
	host is equipped with driver.h and driver.o so it can actually
	compile and run the tests.

From-SVN: r29982
1999-10-14 13:39:30 -04:00
Kaveh R. Ghazi
1ebadc609b jcf-dump.c (print_constant, [...]): Don't call a variadic function with a non-literal format string.
* jcf-dump.c (print_constant, disassemble_method): Don't call a
	variadic function with a non-literal format string.

	* parse-scan.y (report_main_declaration): Likewise.

	* parse.h (ERROR_CAST_NEEDED_TO_INTEGRAL): Likewise.

	* parse.y (read_import_dir, patch_assignment, patch_binop,
	patch_array_ref): Likewise.

	* typeck.c (build_java_array_type): Likewise.

	* verify.c (verify_jvm_instructions): Likewise.

From-SVN: r29981
1999-10-14 17:13:57 +00:00
Gerald Pfeifer
fe50c0eb3b invoke.texi: Label -Wbad-function-cast...
* invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
	-Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
	options. Also add a new item "C-only Warning Options" to the
	option summary.

From-SVN: r29980
1999-10-14 16:41:27 +00:00
Gavin Romig-Koch
a4ebb0e69f libgcc2.c (__do_global_dtors): Protect __deregister_frame_info from multiple calls.
* libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
	from multiple calls.

From-SVN: r29979
1999-10-14 13:38:01 +00:00
Richard Henderson
69404d6fff i386.md (call value patterns): Move to the end of the file.
* i386.md (call value patterns): Move to the end of the file.
        (prologue_set_got, prologue_get_pc): Use register_operand for op 0.

From-SVN: r29978
1999-10-14 04:59:00 -07:00
Mark Elbrecht
65be5cf051 configure.in (djgpp configuration): Define extra_objects..
* configure.in (djgpp configuration): Define extra_objects..
        * configure: Rebuilt.
        * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
        (DTORS_SECTION_ASM_OP): Define.
        (INIT_SECTION_ASM_OP): Define.
        (FINI_SECTION_ASM_OP): Define.
        (DATA_SECTION_ASM_OP): Define.
        (TEXT_SECTION_ASM_OP): Define.
        (EH_FRAME_SECTION_ASM_OP): Define.
        (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
        (STARTFILE_SPEC): Add crtbegin.o.
        (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
        to here from LINK_COMMAND_SPEC.
        (DO_GLOBAL_CTORS_BODY): Define.
        (CRTSTUFF_USE_FINI_SECTION): Define
        (HAS_INIT_SECTION): Delete.

From-SVN: r29977
1999-10-14 05:40:25 -06:00
Richard Henderson
0c273d1123 * pa.h (PREDICATE_CODES): New.
From-SVN: r29976
1999-10-14 05:21:14 -06:00
Andreas Schwab
d81c9768f4 * Makefile.in (all.cross): Depend on xcpp$(exeext).
From-SVN: r29975
1999-10-14 05:11:59 -06:00