Commit Graph

8249 Commits

Author SHA1 Message Date
Jason Merrill
a5c2941b8a (build_method_call): Disable code that tries to do tricky stuff with a default parameter that is a constructor call...
(build_method_call): Disable code that tries to do tricky
        stuff with a default parameter that is a constructor call, but
        actually does other tricky stuff that breaks things.
(build_scoped_method_call): Don't lose side effects in the
        object expression when calling a non-existent destructor.
(build_scoped_method_call): Remove erroneous error message
        when destructor call is written as a scoped call.

From-SVN: r8274
1994-10-15 00:32:58 +00:00
Jason Merrill
f37f4651e1 (build_decl_overload): Set numeric_outputed_need_bar to 0.
From-SVN: r8273
1994-10-15 00:32:58 +00:00
Jeff Law
2c51d187e0 pa.c (emit_move_sequence): Handle secondary reload when loading a constant into SAR.
* pa.c (emit_move_sequence): Handle secondary reload when loading
	a constant into SAR.

From-SVN: r8272
1994-10-14 17:27:02 -06:00
Ian Lance Taylor
7a0934e7eb Fix X11/Intrinsic.h on RISCiX; add files to REQUIRED as needed
From-SVN: r8271
1994-10-14 15:56:20 +00:00
Richard Earnshaw
ca628c540b Initial revision
From-SVN: r8270
1994-10-14 14:35:17 +00:00
Richard Earnshaw
6cda9f97bc Define HAVE_GETWD
From-SVN: r8269
1994-10-14 14:33:55 +00:00
Richard Earnshaw
82f25f57c4 Always use getwd if HAVE_GETWD is defined.
From-SVN: r8268
1994-10-14 14:29:15 +00:00
Jim Wilson
3a6f717720 (call, call_internal, call_value, call_value_internal):
Use memory_operand not general_operand.

From-SVN: r8267
1994-10-13 14:15:06 -07:00
Jim Wilson
34ef5aeb7d (expand_fix): Correct typo with FIX/UNSIGNED_FIX REG_NOTES.
From-SVN: r8266
1994-10-13 14:12:07 -07:00
Ian Lance Taylor
bd1b089342 Skip optimize_attrs if num_insn_ents is zero
From-SVN: r8265
1994-10-13 14:45:11 +00:00
Jim Wilson
6f6733591e (mips_expand_prologue): Handle types that need constructing.
(mips_expand_prologue): Handle types that need
constructing.  Rename TYPE to PASSED_TYPE and use consistently.

From-SVN: r8264
1994-10-12 16:05:49 -07:00
Jason Merrill
252b87c7a6 *** empty log message ***
From-SVN: r8263
1994-10-12 17:40:53 +00:00
Jason Merrill
1daa5dd836 Cast pointer arguments to bzero and bcopy to char *.
From-SVN: r8262
1994-10-12 16:44:14 +00:00
Ian Lance Taylor
1c69865d5b Allocate attr_value_list with xmalloc rather than alloca
From-SVN: r8261
1994-10-12 15:31:29 +00:00
Richard Kenner
361f165377 (??hf2_libfunc): Add declarations, like ??sf2_libfunc.
From-SVN: r8260
1994-10-12 09:17:28 -04:00
Richard Kenner
842dcd1a7d (??hf2_libfunc): Define like ??sf2_libfunc.
(emit_float_lib_cmp): Call HFmode library functions.
(init_optabs): Set names for HFmode comparison functions.

From-SVN: r8259
1994-10-12 09:17:02 -04:00
Richard Kenner
01fdf4142d Remove -g from CFLAGS.
Reflect changes to t-winnt and other minor changes.

From-SVN: r8258
1994-10-11 19:20:43 -04:00
Richard Kenner
395aa4c8bd (main): Pass -debug:full -debugtype:coff.
From-SVN: r8257
1994-10-11 19:18:32 -04:00
Richard Kenner
3ce428da89 (ASM_DECLARE_FUNCTION_NAME): Always put out .lglobl for static
functions.

From-SVN: r8256
1994-10-11 18:40:32 -04:00
Jason Merrill
4cabb7984d (type_unification): If not passing to a reference, strip cv-quals.
(type_unification): If not passing to a reference, strip
        cv-quals.  Also handle array->pointer conversion.

From-SVN: r8255
1994-10-11 18:43:39 +00:00
Jason Merrill
a827d14969 (build_overload_call_real): Don't immediately do
array->pointer conversion.

From-SVN: r8254
1994-10-11 18:39:14 +00:00
Jason Merrill
0171aeabee (do_build_copy_constructor): Handle anonymous unions.
(do_build_assign_ref): Ditto.
        (largest_union_member): Move from lex.c.

From-SVN: r8253
1994-10-11 18:39:14 +00:00
Jason Merrill
fef71f9d2b (resolve_offset_ref): Fix types used in resolving .*
expressions.

From-SVN: r8252
1994-10-11 18:39:14 +00:00
Jason Merrill
3536cd7e04 (cons_up_default_function): Mark methods in a template class as template instances.
(cons_up_default_function): Mark methods in a template class
        as template instances.  Store the values of interface_unknown and
        interface_only for do_pending_inlines.
        (do_pending_inlines): Use them.

From-SVN: r8251
1994-10-11 18:39:14 +00:00
Jason Merrill
b8bca6f2af (grokdeclarator): Don't warn about applying const to a const typedef or template type parameter.
(grokdeclarator): Don't warn about applying const to a
        const typedef or template type parameter.
(shadow_tag): Remove obsolete code for pushing tags and
        dealing with exceptions.

From-SVN: r8250
1994-10-11 18:39:14 +00:00
Jason Merrill
cba8ba3576 Changes moved over
From-SVN: r8249
1994-10-11 18:39:14 +00:00
Richard Kenner
b9bcad654a (convert_move): Add TImode conversions.
From-SVN: r8248
1994-10-10 19:19:32 -04:00
Richard Kenner
a93738eb45 (expand_float): Copy TEMP to TARGET when making recursive call and
adjusting.

From-SVN: r8247
1994-10-10 18:46:30 -04:00
Michael Meissner
6c2afd8219 Use DEFAULT_PCC_STRUCT_RETURN instead of RETURN_IN_MEMORY; include perform.h
From-SVN: r8246
1994-10-10 14:09:56 +00:00
Michael Meissner
cf1907e32a Make sure movsf_mem does not clobber a destination register
From-SVN: r8245
1994-10-09 18:48:38 +00:00
Richard Earnshaw
660f1419f4 (reload_outdf): Don't emit an add insn if the address is just a register.
From-SVN: r8244
1994-10-09 16:39:43 +00:00
Doug Evans
8184390eea archive.c (__objc_free): New function.
* objc/archive.c (__objc_free): New function.
(__objc_finish_read_root_object): Use it.

From-SVN: r8243
1994-10-08 15:16:09 +00:00
Doug Evans
a16301244f Netware uses _SIZE_T_DEFINED_, _WCHAR_T_DEFINED_.
From-SVN: r8242
1994-10-07 23:27:46 +00:00
Richard Kenner
b133d3ca7d (CPP_PREDEFINES): Define __HURD__.
From-SVN: r8241
1994-10-07 19:15:50 -04:00
Richard Kenner
a70d613d76 (HAVE_STRERROR): Define.
From-SVN: r8240
1994-10-07 19:10:25 -04:00
Richard Kenner
aae807c0f4 (my_strerror): If HAVE_STRERROR defined, call strerror.
From-SVN: r8239
1994-10-07 19:09:12 -04:00
Richard Kenner
e19571dbde (preserve_temp_slots): If X cannot be a temp slot, preserve all things
whose address was taken at the present level.

From-SVN: r8238
1994-10-07 16:13:58 -04:00
Michael Meissner
3d771dfd7a Do not allow SUBREGs as either base or index register.
From-SVN: r8237
1994-10-07 19:45:00 +00:00
Richard Kenner
45524ce90e Fix typo in last change.
From-SVN: r8236
1994-10-07 08:36:00 -04:00
Richard Kenner
303ec2aa60 (assign_stack_temp): Abort if SIZE == -1.
From-SVN: r8235
1994-10-07 08:28:44 -04:00
Richard Kenner
6676e72f96 (safe_from_p): If EXP has a variable size, assume safe.
(preexpand_calls): Don't preexpand a call that returns a variable-sized object.

From-SVN: r8234
1994-10-07 08:26:47 -04:00
Richard Kenner
fef0509b3d (add_insn_{after,before}): Fix error in last change.
From-SVN: r8233
1994-10-07 08:24:36 -04:00
Per Bothner
f847788b7f Patch to handle old Convex systems (without uname).
From-SVN: r8232
1994-10-06 18:03:20 -07:00
Richard Kenner
1bbd065b6c (cse_insn): Don't call force_const_mem on (const (truncate)).
From-SVN: r8231
1994-10-06 17:38:35 -04:00
Kresten Krab Thorup
ffa8bd9bcb (BOOL): Changed from char to unsigned char.
From-SVN: r8230
1994-10-06 16:24:03 +00:00
Kresten Krab Thorup
b962cd0b23 Delay eeing when unarchiving.
From-SVN: r8229
1994-10-06 16:17:38 +00:00
Stan Cox
9a9a996b7b If operand1 is an invalid PIC address, then legitimize it before doing anything else.
From-SVN: r8228
1994-10-06 15:13:26 +00:00
Richard Kenner
22619c3f61 (store_expr): Don't clobber TEMP with address.
From-SVN: r8227
1994-10-06 07:25:21 -04:00
Richard Kenner
ce15adaa11 (try_merge_delay_insns): Update THREAD if it is split.
From-SVN: r8226
1994-10-06 06:57:08 -04:00
Richard Kenner
af5b53ed8d (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken.
From-SVN: r8225
1994-10-06 06:53:40 -04:00