Michael Meissner [Fri, 31 Mar 1995 14:35:03 +0000 (14:35 +0000)]
Add -fpack-struct.
From-SVN: r9275
Richard Kenner [Fri, 31 Mar 1995 13:40:10 +0000 (08:40 -0500)]
Initial revision
From-SVN: r9274
Richard Kenner [Fri, 31 Mar 1995 13:26:01 +0000 (08:26 -0500)]
Fix premature close comment.
From-SVN: r9273
Richard Kenner [Fri, 31 Mar 1995 13:19:01 +0000 (08:19 -0500)]
(expand_asm_operands): Properly handle output that can't be directly
written into.
From-SVN: r9272
Richard Kenner [Fri, 31 Mar 1995 12:26:28 +0000 (07:26 -0500)]
(init_attributes): A_FORMAT is only for decls.
From-SVN: r9271
Richard Kenner [Fri, 31 Mar 1995 12:26:06 +0000 (07:26 -0500)]
(structsp): Correct error in last change.
From-SVN: r9270
Jason Merrill [Thu, 30 Mar 1995 23:51:30 +0000 (23:51 +0000)]
Remove explicit 0-initializations of static variables.
From-SVN: r9269
Jim Wilson [Thu, 30 Mar 1995 23:34:12 +0000 (15:34 -0800)]
(get_last_value): Revert back to use prev_nonnote_insn instead of prev_real_insn.
(get_last_value): Revert back to use prev_nonnote_insn
instead of prev_real_insn. Modify test that ignores USE insns.
From-SVN: r9268
Jim Wilson [Thu, 30 Mar 1995 23:25:51 +0000 (15:25 -0800)]
(SELECT_SECTION): Apply constant DECL_INITIAL test only to DECLs.
From-SVN: r9267
Richard Kenner [Thu, 30 Mar 1995 23:22:33 +0000 (18:22 -0500)]
(warn_if_unused_value): Add declaration.
From-SVN: r9266
Richard Kenner [Thu, 30 Mar 1995 23:22:05 +0000 (18:22 -0500)]
(make warn_if_unused_value): No longer static.
From-SVN: r9265
Richard Kenner [Thu, 30 Mar 1995 23:21:34 +0000 (18:21 -0500)]
(internal_build_compound_expr): Warn if LHS of comma expression has no side effects...
(internal_build_compound_expr): Warn if LHS of comma expression has no
side effects, or computes value which is not used.
From-SVN: r9264
Jim Wilson [Thu, 30 Mar 1995 23:14:37 +0000 (15:14 -0800)]
(allocate_dynamic_stack_space): Test STACK_BOUNDARY against BIGGEST_ALIGNMENT at run time instead of at compile time.
(allocate_dynamic_stack_space): Test STACK_BOUNDARY against
BIGGEST_ALIGNMENT at run time instead of at compile time. Give
MUST_ALIGN macro a value, and test this value in if statements.
From-SVN: r9263
Richard Kenner [Thu, 30 Mar 1995 13:59:39 +0000 (08:59 -0500)]
(valid_machine_attribute): Now receive name and args.
From-SVN: r9262
Richard Kenner [Thu, 30 Mar 1995 13:59:11 +0000 (08:59 -0500)]
(enum attrs): New enum class.
(attrtab, attrtab_idx): New variables.
(add_attribute, init_attributes): New functions.
(decl_attributes): Major rewrite.
From-SVN: r9261
Richard Kenner [Thu, 30 Mar 1995 13:58:33 +0000 (08:58 -0500)]
Now have 27 shift/reduce conflicts.
(attribute_list): Just make chain of all attributes.
(attrib): Consistently put name as PURPOSE, args, if any, as VALUE.
(structsp): Allow attributes on any struct or union.
From-SVN: r9260
Richard Kenner [Thu, 30 Mar 1995 12:28:26 +0000 (07:28 -0500)]
Use the phrase `preprocessing directive' consistently.
From-SVN: r9259
Richard Kenner [Thu, 30 Mar 1995 12:27:50 +0000 (07:27 -0500)]
(handle_directive, do_line, skip_if_group): Use the phrase `preprocessing directive' consistently.
(handle_directive, do_line, skip_if_group): Use the phrase `preprocessing
directive' consistently.
(output_line_directive): Renamed from output_line_command.
(no_line_directives): Renamed from no_line_commands.
From-SVN: r9258
Richard Kenner [Thu, 30 Mar 1995 12:19:57 +0000 (07:19 -0500)]
(rescan): Don't recognize preprocessing directives within macro args.
Warn if one is found.
From-SVN: r9257
Richard Kenner [Thu, 30 Mar 1995 11:20:09 +0000 (06:20 -0500)]
Extensive modifications to use ELF format as default.
(LIB_SPEC): Don't use libc_p.a for -p. don't use libg.a unless for -ggdb.
(LINUX_DEFAULT_ELF): Defined.
From-SVN: r9256
Richard Kenner [Thu, 30 Mar 1995 11:18:41 +0000 (06:18 -0500)]
Initial revision
From-SVN: r9255
Mike Stump [Thu, 30 Mar 1995 00:10:54 +0000 (00:10 +0000)]
* libgcc2.c (__throw_type_match): Update to use new calling convention.
From-SVN: r9254
Jim Wilson [Wed, 29 Mar 1995 23:10:28 +0000 (15:10 -0800)]
(process_command): Delete code modifying gcc_exec_prefix.
(main): Put it here after last use of gcc_exec_prefix. For cross
compiler, set startfile_prefixes if gcc_exec_prefix is set and
standard_startfile_prefix is a relative path.
From-SVN: r9253
Jim Wilson [Wed, 29 Mar 1995 23:02:10 +0000 (15:02 -0800)]
(make_compound_operation, AND case): Undo July 7, 1994
change.
From-SVN: r9252
Jim Wilson [Wed, 29 Mar 1995 22:53:59 +0000 (14:53 -0800)]
(call_internal1, call_value_internal1): Move %* from start
of assembler output to immediately before the jal.
From-SVN: r9251
Jim Wilson [Wed, 29 Mar 1995 22:44:35 +0000 (14:44 -0800)]
(function_prologue): Put SDB_DEBUGGING_INFO ifdef around code for SDB_DEBUG support.
(function_prologue): Put SDB_DEBUGGING_INFO ifdef around
code for SDB_DEBUG support.
(mips_select_rtx_section, mips_select_section): Change rdata_section
to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION.
From-SVN: r9250
Jim Wilson [Wed, 29 Mar 1995 22:43:49 +0000 (14:43 -0800)]
(SMALL_DATA_SECTION): Define.
From-SVN: r9249
Jim Wilson [Wed, 29 Mar 1995 22:38:28 +0000 (14:38 -0800)]
(mark_referenced_resources): Make setjmp use all registers.
From-SVN: r9248
Jim Wilson [Wed, 29 Mar 1995 22:34:41 +0000 (14:34 -0800)]
(mark_used_regs, case SUBREG): Only fall through to REG case
if operand is a REG.
From-SVN: r9247
Jim Wilson [Wed, 29 Mar 1995 22:25:58 +0000 (14:25 -0800)]
(CPP_PREDEFINES): Add -D__SVR4.
From-SVN: r9246
Jim Wilson [Wed, 29 Mar 1995 21:58:12 +0000 (13:58 -0800)]
(andcosts): Modify costs to match the hardware, and add
explanatory comments.
From-SVN: r9245
Mike Stump [Wed, 29 Mar 1995 20:32:43 +0000 (20:32 +0000)]
61st Cygnus<->FSF merge
From-SVN: r9244
Jim Wilson [Wed, 29 Mar 1995 19:53:08 +0000 (11:53 -0800)]
(TARGET_SWITCHES): Make -mold-align set TARGET_FLAG_STRICT_ALIGN.
(TARGET_SWITCHES): Make -mold-align set
TARGET_FLAG_STRICT_ALIGN.
(STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN.
From-SVN: r9243
Michael Meissner [Wed, 29 Mar 1995 19:38:55 +0000 (19:38 +0000)]
Do not move float values through memory to get to/from gp registers if -msoft-float.
From-SVN: r9242
Richard Kenner [Wed, 29 Mar 1995 11:47:28 +0000 (06:47 -0500)]
(decl_attributes): Clean up test for __mode__.
From-SVN: r9241
Richard Kenner [Wed, 29 Mar 1995 11:47:07 +0000 (06:47 -0500)]
(initdcl): Only call decl_attributes once.
From-SVN: r9240
Richard Kenner [Tue, 28 Mar 1995 13:34:23 +0000 (08:34 -0500)]
(adddi3): Don't treat two non-equal MEMs as non-aliasing.
From-SVN: r9239
Richard Kenner [Tue, 28 Mar 1995 13:20:42 +0000 (08:20 -0500)]
(CONSTANT_ADDRESS_P): Provide consistent definition.
From-SVN: r9238
Richard Kenner [Tue, 28 Mar 1995 12:26:21 +0000 (07:26 -0500)]
(do_xifdef, do_endif): Remove unnecessary pointer comparisons.
From-SVN: r9237
Richard Kenner [Tue, 28 Mar 1995 01:45:05 +0000 (20:45 -0500)]
(preserve_temp_slots): Clear ADDR_TAKEN on item that we are
preserving.
From-SVN: r9236
Richard Kenner [Tue, 28 Mar 1995 01:44:33 +0000 (20:44 -0500)]
(expand_call, store_one_arg): Don't set KEEP in calls to
assign_stack_temp.
From-SVN: r9235
Ian Lance Taylor [Mon, 27 Mar 1995 19:39:04 +0000 (19:39 +0000)]
Add support for mult instruction in 64 bit mode
From-SVN: r9234
Richard Kenner [Mon, 27 Mar 1995 12:15:55 +0000 (07:15 -0500)]
Removed __NetBSD__ from conditional.
Declare strerror if HAVE_STRERROR is defined; otherwise declare sys_errlist
and sys_nerr.
(my_strerror): New function.
From-SVN: r9233
Warner Losh [Mon, 27 Mar 1995 12:15:10 +0000 (07:15 -0500)]
imp@village.org
From-SVN: r9232
Jason Merrill [Sat, 25 Mar 1995 02:06:54 +0000 (02:06 +0000)]
(LIB_SPEC): Don't try to link with libraries we
> know only exist in archive form unless -static.
From-SVN: r9231
Mike Stump [Fri, 24 Mar 1995 22:18:53 +0000 (22:18 +0000)]
60th Cygnus<->FSF merge
From-SVN: r9230
Doug Evans [Fri, 24 Mar 1995 21:11:21 +0000 (21:11 +0000)]
(multilib.h): Depend on Makefile, not config.status.
From-SVN: r9229
Michael Meissner [Fri, 24 Mar 1995 20:09:42 +0000 (20:09 +0000)]
Let user choice of -mmultiple always override processor default.
From-SVN: r9228
Doug Evans [Thu, 23 Mar 1995 02:42:02 +0000 (02:42 +0000)]
va-i960.h (varargs va_start): Save g14 explicitly.
* ginclude/va-i960.h (varargs va_start): Save g14 explicitly.
Account for arguments preceding va_alist.
From-SVN: r9227
Doug Evans [Thu, 23 Mar 1995 02:41:36 +0000 (02:41 +0000)]
i960.c (i960_function_arg_advance): Ensure all regs marked as used if stack is also used (for va_start).
* i960/i960.c (i960_function_arg_advance): Ensure all regs marked
as used if stack is also used (for va_start).
(i960_setup_incoming_varargs): Rewrite to be similar to Intel's
version, but don't allocate reg block unless necessary.
From-SVN: r9226
Mike Stump [Thu, 23 Mar 1995 00:44:31 +0000 (00:44 +0000)]
59th Cygnus<->FSF merge
From-SVN: r9225
Jim Wilson [Wed, 22 Mar 1995 22:57:33 +0000 (14:57 -0800)]
(udivsi3): Don't clobber register 6.
(udivsi3, divsi3, mulsi3_call): Use a pseudo-reg with regclass 'z'
for output rather than hard register 0.
(block_move_real): Don't clobber registers 4 and 5.
From-SVN: r9224
Jim Wilson [Wed, 22 Mar 1995 22:56:26 +0000 (14:56 -0800)]
Correct comment.
From-SVN: r9223
Torbjorn Granlund [Wed, 22 Mar 1995 21:22:57 +0000 (21:22 +0000)]
(singlemove_string): Handle SFmode constants again. Simplify.
(zdepi_cint_p): Make some variables HOST_WIDE_INT.
(lhs_lshift_cint_operand): Likewise.
(output_and): Likewise.
(output_ior): Likewise.
From-SVN: r9222
Jim Wilson [Wed, 22 Mar 1995 21:01:51 +0000 (13:01 -0800)]
(mips_select_section): Apply constant DEC_INITIAL tests
only to VAR_DECLs.
From-SVN: r9221
Richard Stallman [Wed, 22 Mar 1995 08:54:39 +0000 (08:54 +0000)]
(rm400, rm600): New machine names.
(sinix5.*, sinix): New os aliases.
(mips-siemens): Default os to sysv4.
From-SVN: r9219
Per Bothner [Wed, 22 Mar 1995 01:06:47 +0000 (17:06 -0800)]
Merged in earlier cccp.c changes
From-SVN: r9218
Per Bothner [Wed, 22 Mar 1995 01:05:16 +0000 (17:05 -0800)]
Merged in earlier cccp.c changes.
From-SVN: r9217
Jeff Law [Tue, 21 Mar 1995 05:11:28 +0000 (22:11 -0700)]
* x-pa (CC): Add "-Dbsd4_4".
From-SVN: r9216
Per Bothner [Tue, 21 Mar 1995 02:44:26 +0000 (18:44 -0800)]
(print_error_function): New function hook.
(default_print_error_function): New function. Default value
of print_error_function. Code moved here from report_error_function.
(report_error_function): Use print_error_function hook.
From-SVN: r9215
Doug Evans [Tue, 21 Mar 1995 01:27:13 +0000 (01:27 +0000)]
(do_xifdef): Handle c++ comments.
(do_endif): Likewise.
From-SVN: r9214
Richard Kenner [Mon, 20 Mar 1995 13:07:11 +0000 (08:07 -0500)]
(fixup_gotos): Add missing call from last change.
From-SVN: r9213
Richard Kenner [Mon, 20 Mar 1995 13:03:42 +0000 (08:03 -0500)]
Put Alpha-specific decls before #include of runtime.h.
From-SVN: r9212
Richard Kenner [Mon, 20 Mar 1995 12:57:56 +0000 (07:57 -0500)]
(EXTRA_SECTIONS): Write zeros first time in .rdata.
From-SVN: r9211
Richard Kenner [Sat, 18 Mar 1995 22:00:29 +0000 (17:00 -0500)]
(movsi): Allow FP regs and add case for store of FP reg.
(movsi): Allow FP regs and add case for store of FP reg. Remove cvtlq
from MEM to FP reg case.
From-SVN: r9210
Richard Kenner [Sat, 18 Mar 1995 21:59:49 +0000 (16:59 -0500)]
(SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Need GENERAL_REGS for paradoxical SUBREG and FLOAT_REGS.
(SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Need GENERAL_REGS for
paradoxical SUBREG and FLOAT_REGS.
(SECONDARY_NEEDED_MODE): Use actual mode for 4 bytes or wider.
From-SVN: r9209
Richard Kenner [Sat, 18 Mar 1995 21:59:10 +0000 (16:59 -0500)]
(gen_reload): Handle paradoxical SUBREGs.
From-SVN: r9208
Richard Kenner [Sat, 18 Mar 1995 21:58:30 +0000 (16:58 -0500)]
(push_reload): Reload a SUBREG if paradoxical and class is
CLASS_CANNOT_CHANGE_SIZE.
From-SVN: r9207
Richard Kenner [Sat, 18 Mar 1995 21:57:49 +0000 (16:57 -0500)]
(gen_lowpart_for_combine): Set reg_changes_size, if needed.
From-SVN: r9206
Richard Kenner [Sat, 18 Mar 1995 21:57:23 +0000 (16:57 -0500)]
(mark_used_regs, case SUBREG): Set reg_changes_size even for integer
modes.
From-SVN: r9205
Richard Kenner [Sat, 18 Mar 1995 21:42:35 +0000 (16:42 -0500)]
(fixup_gotos): Do a cleanup for a block when it is exited even if
label if not defined yet.
From-SVN: r9204
Richard Kenner [Sat, 18 Mar 1995 21:41:25 +0000 (16:41 -0500)]
(emit_insns_after): Add declaration.
From-SVN: r9203
Richard Kenner [Sat, 18 Mar 1995 21:37:13 +0000 (16:37 -0500)]
(pop_function_context): Fix error in last change; reference old value
of current_function_decl before we modify it.
From-SVN: r9202
Jason Merrill [Sat, 18 Mar 1995 11:43:35 +0000 (11:43 +0000)]
Fix -Wreturn-type for inlines.
From-SVN: r9201
Mike Stump [Sat, 18 Mar 1995 02:31:09 +0000 (02:31 +0000)]
* libgcc2.c (__register_exceptions): Handle empty tables.
From-SVN: r9200
Richard Kenner [Fri, 17 Mar 1995 16:48:28 +0000 (11:48 -0500)]
(winnt_function_prologue): Deleted.
(gen_stdcall_suffix): New function.
From-SVN: r9199
Jason Merrill [Fri, 17 Mar 1995 02:38:52 +0000 (02:38 +0000)]
Tweak LINK_SPEC
From-SVN: r9198
Jason Merrill [Thu, 16 Mar 1995 23:18:10 +0000 (23:18 +0000)]
Move SunOS 4 assembler flags from default_compilers into ASM_SPEC.
From-SVN: r9197
Richard Kenner [Thu, 16 Mar 1995 23:10:36 +0000 (18:10 -0500)]
(warn_if_unused_value, case SAVE_EXPR): New case.
(warn_if_unused_value, case NOP_EXPR): OK if CALL_EXPR inside.
From-SVN: r9196
Richard Kenner [Thu, 16 Mar 1995 22:24:31 +0000 (17:24 -0500)]
(decl_attributes): Allow alignment for TYPE_DECLs.
From-SVN: r9195
Michael Meissner [Thu, 16 Mar 1995 22:12:56 +0000 (22:12 +0000)]
Call C++ static constructors.
From-SVN: r9194
Richard Kenner [Thu, 16 Mar 1995 22:05:46 +0000 (17:05 -0500)]
(xsys-protos.h): Fix typo in -U operand.
From-SVN: r9193
Per Bothner [Thu, 16 Mar 1995 22:01:13 +0000 (14:01 -0800)]
Add support for cpplib and building cppmain.
From-SVN: r9192
Per Bothner [Thu, 16 Mar 1995 21:59:07 +0000 (13:59 -0800)]
Initial revision
From-SVN: r9191
Richard Kenner [Thu, 16 Mar 1995 21:11:02 +0000 (16:11 -0500)]
(FUNCTION_PROLOGUE, HAVE_probe, gen_probe): Deleted.
(ENCODE_SECTION_INFO, VALID_MACHINE_DECL_ATTRIBUTE): New macro.
From-SVN: r9190
Richard Kenner [Thu, 16 Mar 1995 20:57:59 +0000 (15:57 -0500)]
(apply_distributive_law, case SUBREG): Fix typo when checking for
paradoxical SUBREG.
From-SVN: r9189
Doug Evans [Wed, 15 Mar 1995 23:44:51 +0000 (23:44 +0000)]
libgcc1-test.c: Renamed from cross-test.c.
* libgcc1-test.c: Renamed from cross-test.c.
* Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST.
(all.cross): Delete $(ENQUIRE) dependency.
(libgcc1-test): Renamed from cross-test.
Delete unnecessary gcc-cross and $(LIBGCC) dependencies.
Link with -nostartfiles -nostdlib
`$(GCC_FOR_TARGET) --print-libgcc-file-name`.
(libgcc1-test.o): Renamed from cross-test.o.
Change gcc-cross dependency to xgcc since the latter is used.
From-SVN: r9188
Doug Evans [Wed, 15 Mar 1995 23:42:55 +0000 (23:42 +0000)]
Initial revision
From-SVN: r9187
Mike Stump [Wed, 15 Mar 1995 23:03:59 +0000 (23:03 +0000)]
58th Cygnus<->FSF merge
From-SVN: r9186
Jason Merrill [Wed, 15 Mar 1995 21:48:01 +0000 (21:48 +0000)]
Handle compilation of nested functions from another scope.
From-SVN: r9185
Michael Meissner [Wed, 15 Mar 1995 20:01:18 +0000 (20:01 +0000)]
Generate better code for sne on PowerPC.
From-SVN: r9184
Richard Kenner [Tue, 14 Mar 1995 23:38:25 +0000 (18:38 -0500)]
({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing SImode,
HImode, and QImode operands.
From-SVN: r9183
Michael Meissner [Tue, 14 Mar 1995 20:38:41 +0000 (20:38 +0000)]
Add 403 support.
From-SVN: r9182
Doug Evans [Tue, 14 Mar 1995 18:35:45 +0000 (18:35 +0000)]
(arm_volatile_func): Install the government approved version of the comment.
From-SVN: r9181
Doug Evans [Tue, 14 Mar 1995 17:53:10 +0000 (17:53 +0000)]
(arm_volatile_func): Add comment describing purpose.
From-SVN: r9180
Jason Merrill [Mon, 13 Mar 1995 23:11:57 +0000 (23:11 +0000)]
e -fPIC instead of -fpic
From-SVN: r9179
Jason Merrill [Mon, 13 Mar 1995 23:11:08 +0000 (23:11 +0000)]
Use -fPIC instead of -fpic
From-SVN: r9178
Michael Meissner [Mon, 13 Mar 1995 21:53:18 +0000 (21:53 +0000)]
Fix typo in last change.
From-SVN: r9177
Michael Meissner [Mon, 13 Mar 1995 19:51:05 +0000 (19:51 +0000)]
Add -mno-traceback option; eliminate nop after call on V.4/eabi
From-SVN: r9176
Jason Merrill [Mon, 13 Mar 1995 17:05:17 +0000 (17:05 +0000)]
Initial revision
From-SVN: r9175