Commit Graph

13046 Commits

Author SHA1 Message Date
Richard Kenner
f4d01e7962 (objc_condition_{,de}allocate): New functions.
(objc_condition_{wait,broadcast,signal}): New functions.
(__objc_runtime_mutex): Eliminate leading underscore from name of objc mutex
and thread structures.

From-SVN: r13595
1997-02-02 19:52:38 -05:00
Richard Kenner
3136f75db4 (objc_condition_{,de}allocate): New functions.
(objc_condition_{wait,broadcast,signal}): New functions.
(__objc_runtime_mutex): Eliminate leading underscore from name of objc
mutex and thread structures.

From-SVN: r13594
1997-02-02 19:51:58 -05:00
Richard Kenner
3cec07d501 (hash_delete): Step through the hash nodes versus using hash_next to
increase efficiency.

From-SVN: r13593
1997-02-02 19:42:48 -05:00
Richard Kenner
eb0bc1e9b4 (__objc_forward): Replace call to abort function with call to
objc_error function.

From-SVN: r13592
1997-02-02 19:42:25 -05:00
Richard Kenner
efa7c88e59 Remove error handling declarations.
From-SVN: r13591
1997-02-02 19:42:01 -05:00
Richard Kenner
d2c60b5c23 Declare error handling functions and typedef for user specified error handler function.
Declare error handling functions and typedef for user specified error
handler function.  Define error codes used by the runtime library.

From-SVN: r13590
1997-02-02 19:41:41 -05:00
Richard Kenner
7e46250027 (objc_verror): New function.
(objc_fatal): Remove function.
(objc_set_error_handler): New function.
(_objc_error_handler): New global variable.
(__alpha__): Remove unneeded code.
(objc_error): Allow user specified error handler function to trap and
handle the objc error.  Added an error code parameter which indicates
the specific error that occured.
(objc_malloc, objc_atomic_malloc): Replace call to objc_fatal function
with call to objc_error function.
(objc_valloc, objc_realloc, objc_calloc): Likewise.

From-SVN: r13589
1997-02-02 19:41:03 -05:00
Richard Kenner
241365d3cc (init_check_module_version): Replace call to abort function with call
to objc_error function.

From-SVN: r13588
1997-02-02 19:40:12 -05:00
Richard Kenner
b2948281c3 (objc_sizeof_type, objc_alignof_type): Replace call to abort function with call to objc_error function.
(objc_sizeof_type, objc_alignof_type): Replace call to abort function
with call to objc_error function.
(objc_skip_typespec): Likewise.

From-SVN: r13587
1997-02-02 19:39:52 -05:00
Richard Kenner
86eb7fef04 (objc_get_class): Replace call to abort function with call to
objc_error function.

From-SVN: r13586
1997-02-02 19:39:22 -05:00
Richard Kenner
72c6da8a74 Replace call to abort or __objc_fatal functions with call to objc_error function throughout the complete file.
Replace call to abort or __objc_fatal functions with call to
objc_error function throughout the complete file.
(__objc_finish_read_root_object): Use hash table instead of list.

From-SVN: r13585
1997-02-02 19:39:00 -05:00
Richard Kenner
5b9b7438f3 (-error:): Call objc_error function instead of using function pointer.
From-SVN: r13584
1997-02-02 19:38:23 -05:00
Richard Kenner
71ccd1fc55 (encode_aggregate_within): New function.
(encode_aggregate): Generates encodings for unions similar to those for
structs except surrounded by parenthesis instead of braces.

From-SVN: r13583
1997-02-02 08:24:57 -05:00
Richard Kenner
ec0bc8b600 (process_init_element): When popping levels, don't blow up if
constructor_max_index not set due to previous error.

From-SVN: r13582
1997-02-02 08:07:46 -05:00
Richard Kenner
d71f83ca54 (start_function): Fix improper installation of last change.
From-SVN: r13581
1997-02-02 07:15:44 -05:00
Richard Kenner
906a2d3cef (output_scc_di): Add missing CC_STATUS_INIT.
From-SVN: r13580
1997-02-02 06:50:51 -05:00
Richard Kenner
4eb2cb10f6 (find_split_point, case SET): Fix error in last change.
From-SVN: r13579
1997-02-02 06:39:41 -05:00
Richard Kenner
cd56d9fe10 (rescan): Insert a space after `.' as well, to prevent accidental token-pasting (e.g.
(rescan): Insert a space after `.' as well, to prevent accidental
token-pasting (e.g. `.x' -> `.10').

From-SVN: r13578
1997-02-02 06:28:45 -05:00
Richard Kenner
b11d179015 (modregno_adjust): Fixed case when reg_renumber invalid.
From-SVN: r13577
1997-02-02 06:08:11 -05:00
Richard Kenner
2c5447d988 (movqi): Enable use of clr and st insns on TARGET_5200.
From-SVN: r13576
1997-02-01 19:11:01 -05:00
Richard Kenner
0cb7cfedce (output_move_simode_const): Enable use of clr and st insns on TARGET_5200.
From-SVN: r13575
1997-02-01 19:10:45 -05:00
Richard Kenner
853f1cc30f (process_command): Fix improper use of strncpy.
From-SVN: r13574
1997-02-01 18:53:54 -05:00
Mike Stump
dd05a7e7c8 * libgcc2.c: Remove extern for malloc and realloc.
From-SVN: r13573
1997-01-31 23:37:05 +00:00
Ian Lance Taylor
2e1253f385 If we can't substitute an equiv reg only used once, move the
assignment

From-SVN: r13572
1997-01-31 22:09:12 +00:00
Stan Cox
856b07a157 (pentiumpro_cost): Added new cost structure for pentiumpro.
From-SVN: r13571
1997-01-31 21:10:10 +00:00
Stan Cox
36cf4bcf86 (idiv,imul,fpmul): Added new functional units for pentiumpro.
From-SVN: r13570
1997-01-31 21:09:33 +00:00
Richard Kenner
b454fefef9 (stack adjust peepholes): Use lea instead of add.w when adding 16 bit
constants on all but TARGET_68040.

From-SVN: r13569
1997-01-30 09:34:19 -05:00
Richard Kenner
073b0524fc (TRAMPOLINE_ALIGNMENT): Provide default.
(assemble_trampoline_template): Use TRAMPOLINE_ALIGNMENT instead
of FUNCTION_BOUNDARY.

From-SVN: r13568
1997-01-30 08:58:00 -05:00
Richard Kenner
189cc3779a (TRAMPOLINE_ALIGNMENT): Provide default.
(expand_function_end): Use TRAMPOLINE_ALIGNMENT instead of FUNCTION_BOUNDARY.

From-SVN: r13567
1997-01-30 08:57:32 -05:00
Joern Rennecke
27232d2885 sh.md (movsi_i, movsi_ie, movhi_i, movhi+1): Use type pcload for immediate operands where appropriate.
sh.md (movsi_i, movsi_ie, movhi_i, movhi+1): Use type pcload for
immediate operands where appropriate.
(movsf_ie+1): Fail when loading anything but a MEM into
a floating point reguister.

From-SVN: r13566
1997-01-29 23:15:10 +00:00
Joern Rennecke
f8aa1f6e5d (REG_CLASS_CONTENTS): Add rap to GENERAL_REGS and its superclasses.
From-SVN: r13565
1997-01-29 23:00:27 +00:00
Richard Kenner
d2ce91694f (force_const_mem): Set MARK instead of clearing it.
(output_constant_pool): Only mark constant pool if -O.
Check mark flag unconditionally.
(mark_constant_pool): Start by clearing all mark flags.

From-SVN: r13564
1997-01-29 16:12:37 -05:00
Richard Kenner
69b7087e80 (copy_node): Clear TREE_ASM_WRITTEN.
From-SVN: r13563
1997-01-29 16:07:01 -05:00
Richard Kenner
6a45254e5b (regno_uninitialized): Return 0 if reg is used for args.
From-SVN: r13562
1997-01-29 16:00:25 -05:00
Ian Lance Taylor
538fe8cddb Add a case where reg_n_refs is cleared
From-SVN: r13561
1997-01-29 20:25:29 +00:00
Stan Cox
a2ec2fadc5 Fixed comment.
From-SVN: r13560
1997-01-29 15:04:46 +00:00
Stan Cox
74265b1e59 (ASM_OUTPUT_SECTION_NAME): undefine it so exception sections are setup properly
From-SVN: r13559
1997-01-28 21:36:08 +00:00
Stan Cox
cadc24d121 Add code to handle alternate sections when
From-SVN: r13558
1997-01-28 21:33:04 +00:00
Joern Rennecke
9788ff4d96 (and_shl_scratch): typo fix for length 8.
From-SVN: r13557
1997-01-27 18:32:31 +00:00
Joern Rennecke
6ab911bb39 (shl_and_kind): typo fix.
From-SVN: r13556
1997-01-27 18:32:05 +00:00
Jeff Law
2aecf81da9 fixincludes: Fix incorrect forward structure declaration in sys/time.h on hpux10.20.
* fixincludes: Fix incorrect forward structure declaration in
        sys/time.h on hpux10.20.

From-SVN: r13555
1997-01-27 08:59:05 -07:00
Richard Kenner
bad87f0917 (STORE_FLAG_VALUE): Make negative.
From-SVN: r13554
1997-01-27 09:05:27 -05:00
Richard Kenner
8e3df5dce2 (fold): Don't make COND_EXPR when both expr and one part are comparisons.
From-SVN: r13553
1997-01-27 09:05:06 -05:00
Richard Kenner
12dd565fc5 (emit_store_flag): Properly test for STORE_FLAG_VALUE of just sign bit.
From-SVN: r13552
1997-01-27 09:04:44 -05:00
Richard Kenner
0802d51684 (simplify_rtx): Don't do anything with if_then_else_cond result if both one arm and the input are a comparison.
(simplify_rtx): Don't do anything with if_then_else_cond
result if both one arm and the input are a comparison.
(simplify_{rtx,if_then_else,logical,shift_const}): Don't
test STORE_FLAG_VALUE with #if; properly test for just sign bit.
(num_sign_bit_copies, if_then_else_cond): Likewise.

From-SVN: r13551
1997-01-27 09:04:16 -05:00
Ian Lance Taylor
91674c376c Garbage collect constant pool entries and don't output unnecessary ones
From-SVN: r13550
1997-01-24 21:43:41 +00:00
Ian Lance Taylor
38734e55b3 Get the right COST for a SUBREG when truncating
From-SVN: r13549
1997-01-23 20:05:52 +00:00
Mike Stump
26bbb20697 Makefie.in (objc-headers): Don't try and install the headers if the objc directory has been removed.
* Makefie.in (objc-headers): Don't try and install the headers if
        the objc directory has been removed.

From-SVN: r13548
1997-01-23 19:22:24 +00:00
Paul Eggert
158c9e5893 automatically generated from GPLed version
From-SVN: r13547
1997-01-23 04:23:12 +00:00
Brendan Kehoe
69ce75dc0d i960.c (process_pragma): Call ungetc on the last character that was read by the while loop...
* i960/i960.c (process_pragma): Call ungetc on the last character
	that was read by the while loop, to make sure the parser sees it.

From-SVN: r13546
1997-01-22 16:30:20 -05:00