Greg McGary [Sat, 16 Oct 1999 01:25:01 +0000 (01:25 +0000)]
flags.h (flag_bounds_check, [...]): New extern decls.
* flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
* toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
(f_options): Add "bounded-pointers" and "bounds-check" entries.
* c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
(lang_init): Set default for flag_bounds_check if still "unspecified".
From-SVN: r30035
Michael Hayes [Sat, 16 Oct 1999 00:43:59 +0000 (00:43 +0000)]
* config/c4x/c4x.md (HF mode patterns): Add missing modes.
From-SVN: r30034
Michael Hayes [Sat, 16 Oct 1999 00:39:15 +0000 (00:39 +0000)]
c4x.md (movstrqi_small): Utilise parallel move instructions.
* config/c4x/c4x.md (movstrqi_small): Utilise parallel move
instructions.
From-SVN: r30033
Michael Hayes [Sat, 16 Oct 1999 00:31:18 +0000 (00:31 +0000)]
Try again!?
From-SVN: r30032
Michael Hayes [Sat, 16 Oct 1999 00:29:20 +0000 (00:29 +0000)]
* config/c4x/c4x.md (*db_noclobber,
*decrement_and_branch_until_zero_noclobber): New patterns and
associated splitters.
From-SVN: r30031
Michael Hayes [Sat, 16 Oct 1999 00:15:44 +0000 (00:15 +0000)]
c4x.md (parallel instruction patterns): Rework constraints to keep reload happy.
* config/c4x/c4x.md (parallel instruction patterns): Rework
constraints to keep reload happy.
From-SVN: r30030
Michael Hayes [Sat, 16 Oct 1999 00:09:36 +0000 (00:09 +0000)]
* config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
*one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
*andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
Add new patterns and associated post-reload splitters.
From-SVN: r30029
Michael Hayes [Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)]
* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
From-SVN: r30028
Michael Hayes [Fri, 15 Oct 1999 23:37:53 +0000 (23:37 +0000)]
c4x.c (c4x_rptb_insert): Emit rpts_top pattern if appropriate.
* config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
if appropriate.
* config/c4x/c4x.md (rpts_top): New pattern and splitter.
From-SVN: r30027
Michael Hayes [Fri, 15 Oct 1999 23:29:00 +0000 (23:29 +0000)]
c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode.
* config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
memory mode.
From-SVN: r30026
Jeffrey A Law [Fri, 15 Oct 1999 23:04:06 +0000 (23:04 +0000)]
pa.c (move_operand): Rely on memory_address_p to determine the validity of non-indexed memory addresses.
* pa.c (move_operand): Rely on memory_address_p to determine the
validity of non-indexed memory addresses.
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
operand in DFmode and SFmode when generating PA2.0 code.
From-SVN: r30025
Richard Henderson [Fri, 15 Oct 1999 21:26:33 +0000 (14:26 -0700)]
* print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
From-SVN: r30024
Richard Henderson [Fri, 15 Oct 1999 20:51:10 +0000 (13:51 -0700)]
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
Zack Weinberg [Fri, 15 Oct 1999 18:18:46 +0000 (18:18 +0000)]
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
Richard Henderson [Fri, 15 Oct 1999 18:07:48 +0000 (11:07 -0700)]
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
Tom Tromey [Fri, 15 Oct 1999 16:53:41 +0000 (16:53 +0000)]
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
Tom Tromey [Fri, 15 Oct 1999 16:45:31 +0000 (16:45 +0000)]
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
Tom Tromey [Fri, 15 Oct 1999 15:42:26 +0000 (15:42 +0000)]
* include/java-props.h: Added copyright.
From-SVN: r30018
Loren J. Rittle [Fri, 15 Oct 1999 09:04:53 +0000 (03:04 -0600)]
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
Alastair J. Houghton [Fri, 15 Oct 1999 08:42:02 +0000 (08:42 +0000)]
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
Richard Henderson [Fri, 15 Oct 1999 08:25:13 +0000 (01:25 -0700)]
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
Vladimir Makarov [Fri, 15 Oct 1999 08:19:37 +0000 (08:19 +0000)]
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
Vladimir Makarov [Fri, 15 Oct 1999 07:50:54 +0000 (07:50 +0000)]
* hashtab.h: New file.
From-SVN: r30013
Vladimir Makarov [Fri, 15 Oct 1999 07:50:25 +0000 (07:50 +0000)]
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
Jeff Law [Fri, 15 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30011
Richard Henderson [Fri, 15 Oct 1999 06:56:28 +0000 (23:56 -0700)]
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
Richard Henderson [Fri, 15 Oct 1999 06:51:05 +0000 (23:51 -0700)]
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
Richard Henderson [Fri, 15 Oct 1999 06:38:02 +0000 (23:38 -0700)]
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
Anthony Green [Fri, 15 Oct 1999 06:07:41 +0000 (06:07 +0000)]
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
Jeffrey A Law [Fri, 15 Oct 1999 06:06:56 +0000 (06:06 +0000)]
configure.in (djgpp): Revert previous patch.
* configure.in (djgpp): Revert previous patch.
* configure: Rebuit.
* config/i386/djgpp.h: Revert previous patch.
From-SVN: r30006
Loren J. Rittle [Fri, 15 Oct 1999 06:02:01 +0000 (06:02 +0000)]
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
Gavin Romig-Koch [Fri, 15 Oct 1999 06:00:29 +0000 (06:00 +0000)]
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
Richard Henderson [Fri, 15 Oct 1999 05:57:07 +0000 (22:57 -0700)]
pa.md (post_stw+1): Use pmode_register_operand.
* pa.md (post_stw+1): Use pmode_register_operand.
(dcacheflush, icacheflush): Likewise.
From-SVN: r30003
Richard Henderson [Fri, 15 Oct 1999 05:52:38 +0000 (22:52 -0700)]
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
Jan Hubicka [Fri, 15 Oct 1999 05:46:35 +0000 (07:46 +0200)]
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
Michael Hayes [Fri, 15 Oct 1999 05:39:23 +0000 (05:39 +0000)]
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
Richard Henderson [Fri, 15 Oct 1999 05:15:10 +0000 (22:15 -0700)]
* i386.md (movstricthi_1): Allow r/r.
From-SVN: r29999
Jan Hubicka [Fri, 15 Oct 1999 04:50:09 +0000 (06:50 +0200)]
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
Michael Hayes [Fri, 15 Oct 1999 04:42:15 +0000 (04:42 +0000)]
* config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
From-SVN: r29997
Michael Hayes [Fri, 15 Oct 1999 04:32:37 +0000 (04:32 +0000)]
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
Richard Henderson [Fri, 15 Oct 1999 01:52:29 +0000 (18:52 -0700)]
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
Jeffrey A Law [Fri, 15 Oct 1999 01:40:28 +0000 (01:40 +0000)]
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
Richard Henderson [Fri, 15 Oct 1999 00:34:45 +0000 (17:34 -0700)]
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
Richard Henderson [Fri, 15 Oct 1999 00:29:24 +0000 (17:29 -0700)]
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
Jason Merrill [Fri, 15 Oct 1999 00:05:52 +0000 (00:05 +0000)]
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
Richard Henderson [Thu, 14 Oct 1999 23:31:25 +0000 (16:31 -0700)]
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
Richard Henderson [Thu, 14 Oct 1999 23:28:50 +0000 (16:28 -0700)]
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
Jason Merrill [Thu, 14 Oct 1999 22:35:27 +0000 (18:35 -0400)]
typo
From-SVN: r29988
Jason Merrill [Thu, 14 Oct 1999 22:22:32 +0000 (22:22 +0000)]
* toplev.c (main): Don't complain about options for other languages.
From-SVN: r29987
Richard Earnshaw [Thu, 14 Oct 1999 21:46:16 +0000 (21:46 +0000)]
Add myself to list with general write privs.
From-SVN: r29986
Tom Tromey [Thu, 14 Oct 1999 20:55:21 +0000 (20:55 +0000)]
* jvspec.c (jvgenmain_spec): Use `%umain', not just `%u'.
From-SVN: r29985
Richard Henderson [Thu, 14 Oct 1999 17:52:48 +0000 (10:52 -0700)]
* m68k.md (zero_extendsidi2): Add missing output reload constraint.
From-SVN: r29984
Richard Henderson [Thu, 14 Oct 1999 17:44:07 +0000 (10:44 -0700)]
Remove cvs conflict markers.
From-SVN: r29983
Brendan Kehoe [Thu, 14 Oct 1999 17:39:30 +0000 (17:39 +0000)]
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
Kaveh R. Ghazi [Thu, 14 Oct 1999 17:13:57 +0000 (17:13 +0000)]
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
Gerald Pfeifer [Thu, 14 Oct 1999 16:41:27 +0000 (16:41 +0000)]
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
Gavin Romig-Koch [Thu, 14 Oct 1999 13:38:01 +0000 (13:38 +0000)]
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
Richard Henderson [Thu, 14 Oct 1999 11:59:00 +0000 (04:59 -0700)]
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
Mark Elbrecht [Thu, 14 Oct 1999 11:40:25 +0000 (11:40 +0000)]
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
Richard Henderson [Thu, 14 Oct 1999 11:21:14 +0000 (04:21 -0700)]
* pa.h (PREDICATE_CODES): New.
From-SVN: r29976
Andreas Schwab [Thu, 14 Oct 1999 11:11:59 +0000 (11:11 +0000)]
* Makefile.in (all.cross): Depend on xcpp$(exeext).
From-SVN: r29975
Richard Henderson [Thu, 14 Oct 1999 11:01:59 +0000 (04:01 -0700)]
genrecog.c (validate_pattern): Condense the destination non-lvalue message.
* genrecog.c (validate_pattern): Condense the destination
non-lvalue message.
From-SVN: r29974
Andrew Haley [Thu, 14 Oct 1999 10:49:23 +0000 (10:49 +0000)]
class.c (finish_struct_1): Force alignment of non-bitfields to BITS_PER_UNIT.
1999-10-13 Andrew Haley <aph@cygnus.com>
* class.c (finish_struct_1): Force alignment of non-bitfields to
BITS_PER_UNIT.
From-SVN: r29973
Richard Henderson [Thu, 14 Oct 1999 10:34:05 +0000 (03:34 -0700)]
i386.h (SPECIAL_MODE_PREDICATES): New.
* i386.h (SPECIAL_MODE_PREDICATES): New.
* i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
(movqi_1, movdi_1, movdi_2, some splits): Likewise.
(addsi_lea_3): Add missing mode for op 3.
(prologue_set_got, prologue_get_pc): Add missing modes.
(*) Add missing output reload constraints.
From-SVN: r29972
Richard Henderson [Thu, 14 Oct 1999 10:27:50 +0000 (03:27 -0700)]
alpha.md (call-1): Supply missing mode for operator.
* alpha.md (call-1): Supply missing mode for operator.
(*): Add missing output reload constraints. Remove constraints
from define_splits.
From-SVN: r29971
Stephane Carrez [Thu, 14 Oct 1999 10:23:10 +0000 (12:23 +0200)]
* gcc.c-torture/execute/991014-1.c: New test.
From-SVN: r29970
Stephane Carrez [Thu, 14 Oct 1999 10:21:27 +0000 (12:21 +0200)]
stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size...
* stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
check for member bit-size overflow and use var_size if it occurs.
(layout_record): Use bitsize_int() to define the type size in bits.
Likewise for computation and assignment to DECL_FIELD_BITPOS.
(layout_decl): Likewise when assigning to DECL_SIZE.
From-SVN: r29969
Richard Henderson [Thu, 14 Oct 1999 09:58:41 +0000 (02:58 -0700)]
genrecog.c (validate_pattern): Typo last change.
* genrecog.c (validate_pattern): Typo last change. Verify
that output operands have output reloads.
From-SVN: r29968
Richard Henderson [Thu, 14 Oct 1999 09:37:31 +0000 (02:37 -0700)]
genrecog.c (special_mode_pred_table): New.
* genrecog.c (special_mode_pred_table): New.
(NUM_SPECIAL_MODE_PREDS): New.
(find_operand): New.
(validate_pattern): New argument `insn'. Warn for assignment to
any predicate accepting non-lvalues. Conditionaly warn for
match_operand without a mode. Try much harder to match source
and destination modes on a set.
* tm.texi (SPECIAL_MODE_PREDICATES): Document.
From-SVN: r29967
Jeffrey A Law [Thu, 14 Oct 1999 08:54:16 +0000 (08:54 +0000)]
* fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
From-SVN: r29966
Marc Espie [Thu, 14 Oct 1999 08:18:30 +0000 (08:18 +0000)]
combine.c (simplify_logical): Recognize xor pattern that encodes rotation.
* combine.c (simplify_logical): Recognize xor pattern that encodes
rotation.
From-SVN: r29965
Jeff Law [Thu, 14 Oct 1999 08:05:09 +0000 (02:05 -0600)]
acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and HAVE_TIMEZONE in acconfig.h.
* libU77/acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and
HAVE_TIMEZONE in acconfig.h.
* libU77/config.hin: Rebuilt.
From-SVN: r29964
Jeff Law [Thu, 14 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r29963
Franz Sirl [Thu, 14 Oct 1999 06:24:21 +0000 (06:24 +0000)]
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (expand_block_move): Use INTVAL, not XINT to access
alignment.
From-SVN: r29962
Richard Henderson [Thu, 14 Oct 1999 04:47:48 +0000 (21:47 -0700)]
* ggc-page.c (MAP_FAILED): Provide default.
From-SVN: r29961
Richard Henderson [Thu, 14 Oct 1999 04:42:57 +0000 (21:42 -0700)]
sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
* sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
* sparc.h (PREDICATE_CODES): Update.
From-SVN: r29960
Richard Henderson [Thu, 14 Oct 1999 04:20:55 +0000 (21:20 -0700)]
alpha.c (some_ni_operand): New.
* alpha.c (some_ni_operand): New.
* alpha-protos.h: Declare it.
* alpha.h (PREDICATE_CODES): Update.
* alpha.md (sXaddq reload insns): Use some_ni_operand
for SET_DEST instead of some_operand.
From-SVN: r29959
Richard Henderson [Thu, 14 Oct 1999 04:07:03 +0000 (21:07 -0700)]
genrecog.c (maybe_both_true_2): Don't compare modes of two DT_pred tests.
* genrecog.c (maybe_both_true_2): Don't compare modes of
two DT_pred tests.
(process_tree): Elide peephole2_insns. Invoke simplify_tests
after find_afterward.
(debug_decision_1): Dump next and afterward codes.
Co-Authored-By: Jim Wilson <wilson@cygnus.com>
From-SVN: r29958
Richard Henderson [Thu, 14 Oct 1999 03:43:49 +0000 (20:43 -0700)]
rtl.c (dump_and_abort): Remove.
* rtl.c (dump_and_abort): Remove.
(fatal_with_file_and_line): New.
(fatal_expected_char): New.
(read_rtx_lineno, read_rtx_filename): New.
(read_skip_spaces): Track line number.
(read_name): Use fatal_with_file_and_line.
(read_rtx): Use fatal_expected_char. Track line number.
* rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
* print-rtl.c (print_rtx): Don't special case LABEL_REF argument
if it isn't a CODE_LABEL.
* genattr.c (main): Set read_rtx_filename.
* genattrtab.c (main): Likewise.
* gencodes.c (main): Likewise.
* genconfig.c (main): Likewise.
* genemit.c (main): Likewise.
* genextract.c (main): Likewise.
* genflags.c (main): Likewise.
* genopinit.c (main): Likewise.
* genoutput.c (main): Likewise.
* genpeep.c (main): Likewise.
* genrecog.c (decision_test.u.insn): Add `lineno'.
(pattern_lineno, error_count): New variables.
(message_with_line): New.
(add_to_sequence): Break out checking code to ...
(validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
(merge_insn): Use message_with_line.
(make_insn_sequence): Use validate_pattern. Record insn lineno.
(main): Set read_rtx_filename, pattern_lineno. Exit early on error.
From-SVN: r29957
J"orn Rennecke [Thu, 14 Oct 1999 02:18:10 +0000 (02:18 +0000)]
gcc toplevel:
* expr.c (store_constructor): Clear union if constructor is empty.
cp:
* typeck2.c (process_init_constructor): Handle empty constructors.
testsuite:
* g++.old-deja/g++.other/union2.C: New test.
From-SVN: r29956
Jeff Law [Wed, 13 Oct 1999 23:19:33 +0000 (17:19 -0600)]
Fix thinko in last change.
From-SVN: r29955
Jason Merrill [Wed, 13 Oct 1999 22:40:42 +0000 (22:40 +0000)]
decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
* decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
* pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
array error.
From-SVN: r29954
Jim Wilson [Wed, 13 Oct 1999 22:23:51 +0000 (22:23 +0000)]
Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF sources.
Fix errors from Jan 19 change, found by comparing Cygnus sources with FSF
sources.
* config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
Add !endian checks. Change %{...} to %(...).
From-SVN: r29953
Richard Henderson [Wed, 13 Oct 1999 20:33:42 +0000 (13:33 -0700)]
i386.md (*addsi3_cc): Renamed from addcsi3.
* i386.md (*addsi3_cc): Renamed from addcsi3.
(*addsi3_carry): Renamed from addxsi3.
(*subsi3_cc): Renamed from subcsi3.
(*subsi3_carry): Renamed from subxsi3.
(*xorqi_cc_1): Renamed from xorcqi_1.
(xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
* i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
From-SVN: r29952
Richard Henderson [Wed, 13 Oct 1999 20:12:08 +0000 (13:12 -0700)]
Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
* Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
(ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
From-SVN: r29951
Brendan Kehoe [Wed, 13 Oct 1999 17:28:29 +0000 (17:28 +0000)]
regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we climb up the chain of insns.
* regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
climb up the chain of insns.
From-SVN: r29949
Richard Henderson [Wed, 13 Oct 1999 17:22:40 +0000 (10:22 -0700)]
genrecog.c (write_subroutine): Careful for null trees.
* genrecog.c (write_subroutine): Careful for null trees.
(process_tree): Don't elide empty functions.
From-SVN: r29948
Richard Henderson [Wed, 13 Oct 1999 17:20:53 +0000 (10:20 -0700)]
Simplified GC interface and other goodies.
From-SVN: r29947
Richard Henderson [Wed, 13 Oct 1999 17:09:18 +0000 (10:09 -0700)]
Simplified GC interface and other goodies.
From-SVN: r29946
Mark Mitchell [Wed, 13 Oct 1999 16:13:25 +0000 (16:13 +0000)]
decl.c (make_rtl_for_local_static): Don't create register RTL for addressable constants.
* decl.c (make_rtl_for_local_static): Don't create register RTL
for addressable constants.
From-SVN: r29945
Alexandre Petit-Bianco [Wed, 13 Oct 1999 15:16:12 +0000 (08:16 -0700)]
(Fixing malformed ChangeLog entries...)
From-SVN: r29944
Nathan Sidwell [Wed, 13 Oct 1999 08:57:25 +0000 (08:57 +0000)]
vaarg2.C: New test.
* g++.old-deja/g++.other/vaarg2.C: New test.
* g++.old-deja/g++.other/vaarg3.C: New test.
From-SVN: r29943
Nathan Sidwell [Wed, 13 Oct 1999 08:49:54 +0000 (08:49 +0000)]
cp-tree.h (build_x_va_arg): Prototype new function.
* cp-tree.h (build_x_va_arg): Prototype new function.
* call.c (build_x_va_arg): Define it.
* parse.y (unary_expr): Call build_x_va_arg.
* cp-tree.h (convert_type_from_ellipsis): Prototype new function.
* call.c (convert_type_from_ellipsis): Define it.
* decl.c (init_decl_processing): Set lang_type_promotes_to.
* tree.c (lvalue_p_1): Accept VA_ARG_EXPR with aggregates.
From-SVN: r29942
Carol LePage [Wed, 13 Oct 1999 07:52:43 +0000 (07:52 +0000)]
configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines, float_format and thread_file definitions.
* configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
float_format and thread_file definitions.
* configure: Rebuilt.
From-SVN: r29940
Jeff Law [Wed, 13 Oct 1999 07:45:10 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r29939
Niels Möller [Wed, 13 Oct 1999 07:27:10 +0000 (07:27 +0000)]
* extend.texi (Function Names): Document types of function names.
From-SVN: r29938
Mumit Khan [Wed, 13 Oct 1999 07:18:09 +0000 (07:18 +0000)]
basename.c (DIR_SEPARATOR): New macro.
* basename.c (DIR_SEPARATOR): New macro.
(DIR_SEPARATOR_2): Likewise.
(HAVE_DOS_BASED_FILESYSTEM): Likewise.
(IS_DIR_SEPARATOR): Likewise.
(main): Handle MSDOS style pathname.
From-SVN: r29937
Jeff Law [Wed, 13 Oct 1999 06:48:26 +0000 (00:48 -0600)]
reload_out[i]->rld[i].out.
From-SVN: r29936
Bernd Schmidt [Wed, 13 Oct 1999 06:47:15 +0000 (06:47 +0000)]
reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an earlyclobbered output conflict with RELOAD_INPUT...
* reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
an earlyclobbered output conflict with RELOAD_INPUT reloads.
From-SVN: r29935
Jason Merrill [Wed, 13 Oct 1999 05:54:18 +0000 (01:54 -0400)]
I get blanket write
From-SVN: r29934