Commit Graph

8268 Commits

Author SHA1 Message Date
Richard Kenner
827563977e Initial revision
From-SVN: r8293
1994-10-17 19:21:51 -04:00
Richard Kenner
a22b68f157 Add support for AIX 4.1 and architecture.
From-SVN: r8292
1994-10-17 19:16:35 -04:00
Per Bothner
f733963397 * function.c (current_function_outgoing_args_size): Update comment.
From-SVN: r8291
1994-10-17 16:09:35 -07:00
Per Bothner
26a258fee2 (expand_call, emit_library_call, emit_library_call_value):
Allways adjust current_function_outgoing_args_size, even #ifndef
ACCUMULATE_OUTGOING_ARGS.  (Useful for stack overflow checking.)

From-SVN: r8290
1994-10-17 16:08:37 -07:00
Mike Stump
c199879dc7 except.c (expand_start_catch_block): Make sure the false label gets onto the permanent obstack...
* except.c (expand_start_catch_block): Make sure the false label
        gets onto the permanent obstack, as it is used for the exception
        table.

From-SVN: r8289
1994-10-17 23:06:49 +00:00
Mike Stump
f675499c88 except.c (expand_start_catch_block): Make sure the false label gets onto the permanent obstack...
* except.c (expand_start_catch_block): Make sure the false label
        gets onto the permanent obstack, as it is used for the exception
        table.

From-SVN: r8288
1994-10-17 23:01:46 +00:00
Richard Kenner
02c1d408e2 (rescan): Preserve newlines after macro names at the top level since this is...
(rescan): Preserve newlines after macro names at the top level since
this is more likely to do the right thing with line numbers.

From-SVN: r8287
1994-10-17 18:47:09 -04:00
Noah Friedman
305243a443 Initial revision
From-SVN: r8286
1994-10-17 14:46:15 -04:00
Richard Kenner
5e03c15616 (gen_reload): Renamed from gen_input_reload.
(emit_reload_insns): Delete SECONDARY_MEM_NEEDED case for input reloads that
can't happen and doesn't work.
Fix errors in use of reload_outxx insns.
Simplify output reload code by using gen_reload.

From-SVN: r8285
1994-10-17 11:31:23 -04:00
Richard Kenner
94bba16f3d (gen_reload): Renamed from gen_input_reload.
From-SVN: r8284
1994-10-17 11:30:49 -04:00
Richard Kenner
a864776614 Update comment.
From-SVN: r8283
1994-10-17 11:30:22 -04:00
Richard Earnshaw
ca72f752bf (copy_loop_body, case JUMP_INSN): Don't abort if invert_exp fails.
(copy_loop_body, case JUMP_INSN): Don't abort if invert_exp
fails.  Instead, redirect the jump around an unconditional branch.

From-SVN: r8282
1994-10-17 13:25:38 +00:00
Richard Earnshaw
6782074d40 (add_insn_{before,after}): Don't abort if AFTER was deleted, but not
optiimzing

From-SVN: r8281
1994-10-16 09:01:26 +00:00
Mike Stump
13306d4f8f move a few important patches (this offset calculations for vtables).
From-SVN: r8280
1994-10-15 17:19:19 +00:00
Jason Merrill
13fbb03818 (finish_enum): Disable code which forces enums to be signed,
since this conflicts with their use as bitfields. type_promotes_to
        handles promotion of enums of underlying unsigned types to signed
        integer types.

From-SVN: r8279
1994-10-15 00:32:58 +00:00
Jason Merrill
c6a29b1f9d (real_yylex): Use HOST_BITS_PER_WIDE_INT to determine the
bitmask for lexing character constants.

From-SVN: r8278
1994-10-15 00:32:58 +00:00
Jason Merrill
cf2ac46f18 (type_promotes_to): Also promote enums to long if
appropriate.

From-SVN: r8277
1994-10-15 00:32:58 +00:00
Jason Merrill
fffba94c90 (default_conversion): Don't expect type_promotes_to to
return a main variant.

From-SVN: r8276
1994-10-15 00:32:58 +00:00
Jason Merrill
2f4f907dcc *** empty log message ***
From-SVN: r8275
1994-10-15 00:32:58 +00:00
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