Richard Kenner [Fri, 15 Sep 1995 22:24:09 +0000 (18:24 -0400)]
(insert): Set cse_jumps_altered when inserting a LABEL_REF.
From-SVN: r10366
Richard Kenner [Fri, 15 Sep 1995 21:58:21 +0000 (17:58 -0400)]
Moved architecture independent commands to config/winnt/config-nt.sed.
From-SVN: r10365
Richard Kenner [Fri, 15 Sep 1995 21:52:15 +0000 (17:52 -0400)]
(find_and_verify_loops): When moving exit blocks out of the loop,
verify that the target of P is within the current loop.
From-SVN: r10364
Richard Kenner [Fri, 15 Sep 1995 21:43:55 +0000 (17:43 -0400)]
(decrement_and_branchsi and related insns): Don't use a "2" to select a...
(decrement_and_branchsi and related insns): Don't use a "2" to select
a register preference for operand 1 if operand 2 hasn't been seen yet.
Add appropriate clobbers in decrement_and_branchsi.
Add patterns where the pc/label_ref are interchanged.
From-SVN: r10363
Richard Kenner [Fri, 15 Sep 1995 21:39:39 +0000 (17:39 -0400)]
(fill_simple_delay_slots): When filling an insn's delay slot with a JUMP_INSN...
(fill_simple_delay_slots): When filling an insn's delay slot with a
JUMP_INSN, don't assume the JUMP_INSN immediately follows the insn on
the unfilled slots obstack.
From-SVN: r10362
Richard Kenner [Fri, 15 Sep 1995 21:34:11 +0000 (17:34 -0400)]
(gnucompare, stmp-multilib-sub): Remove extra . in front of $(objext).
From-SVN: r10361
Richard Kenner [Fri, 15 Sep 1995 21:29:37 +0000 (17:29 -0400)]
(b_mode_operand): New function.
(print_operand): Added code 'Q'.
From-SVN: r10360
Richard Kenner [Fri, 15 Sep 1995 21:27:11 +0000 (17:27 -0400)]
(fill_slots_from_thread): Update thread if it is split.
From-SVN: r10359
Richard Kenner [Fri, 15 Sep 1995 21:10:22 +0000 (17:10 -0400)]
(output_toc): Align DF constants if STRICT_ALIGNMENT.
From-SVN: r10358
Richard Kenner [Fri, 15 Sep 1995 21:06:46 +0000 (17:06 -0400)]
(FLO_union_type): Add words field if double precision to get at the separate words.
(FLO_union_type): Add words field if double precision to get at the separate
words.
(FLO_union_type, pack_d, unpack_d): Use FLOAT_BIT_ORDER_MISMATCH to
determine when the bitfields need to be reversed, and
FLOAT_WORD_ORDER_MISMATCH when the words need to be reversed.
From-SVN: r10357
Richard Kenner [Fri, 15 Sep 1995 20:41:31 +0000 (16:41 -0400)]
(caller-save.o): Depend on insn-codes.h.
From-SVN: r10356
Richard Kenner [Thu, 14 Sep 1995 21:41:30 +0000 (17:41 -0400)]
(do_cleaning): Don't blank out backslash-escaped newlines in double
quoted strings.
From-SVN: r10355
Per Bothner [Thu, 14 Sep 1995 21:09:58 +0000 (17:09 -0400)]
brendan@cygnus.com
From-SVN: r10354
Richard Kenner [Thu, 14 Sep 1995 21:07:33 +0000 (17:07 -0400)]
Clarify comment.
From-SVN: r10353
Per Bothner [Thu, 14 Sep 1995 21:06:54 +0000 (17:06 -0400)]
(do_identifier): Use global binding in preference of dead for local
variable.
From-SVN: r10352
Brendan Kehoe [Thu, 14 Sep 1995 20:47:06 +0000 (16:47 -0400)]
brendan@cygnus.com
From-SVN: r10351
Brendan Kehoe [Thu, 14 Sep 1995 20:46:14 +0000 (16:46 -0400)]
(handle_sysv_pragma): Deal with getting a comma from yylex.
From-SVN: r10350
Richard Kenner [Thu, 14 Sep 1995 20:20:28 +0000 (16:20 -0400)]
(gen_lowpart): If gen_lowpart_common fails for a REG, load it into a
pseudo and try again.
From-SVN: r10349
Richard Kenner [Tue, 12 Sep 1995 23:05:22 +0000 (19:05 -0400)]
(is_system_include): Call skip_redundant_dir_prefix.
From-SVN: r10348
Richard Kenner [Tue, 12 Sep 1995 23:02:17 +0000 (19:02 -0400)]
(expand_start_stmt_expr): Do stack adjust in right place.
From-SVN: r10347
Richard Kenner [Tue, 12 Sep 1995 22:58:08 +0000 (18:58 -0400)]
Change `*return "string"' to "string" in patterns.
From-SVN: r10346
Richard Kenner [Tue, 12 Sep 1995 22:52:26 +0000 (18:52 -0400)]
(v9 varargs va_start): Handle __builtin_va_alist being stack argument.
From-SVN: r10345
Richard Kenner [Tue, 12 Sep 1995 22:48:36 +0000 (18:48 -0400)]
(put_var_into_stack): For CONCAT case, order of placement depends on
FRAME_GROWS_DOWNWARD, not STACK_GROWS_DOWNWARD.
From-SVN: r10344
Richard Kenner [Tue, 12 Sep 1995 22:38:14 +0000 (18:38 -0400)]
(power subdi3 pattern): Fix pattern to have 5 alternatives, and
correct 4th alternative to match reality.
From-SVN: r10343
Richard Kenner [Tue, 12 Sep 1995 22:33:52 +0000 (18:33 -0400)]
(sparc64_initialize_trampoline): Rewrite.
From-SVN: r10342
Richard Kenner [Tue, 12 Sep 1995 22:33:32 +0000 (18:33 -0400)]
(STATIC_CHAIN_REGNUM): Use %g5 for sparc64.
(TRAMPOLINE_TEMPLATE): Rewrite for sparc64.
(TRAMPOLINE_SIZE): Is 40 for sparc64.
From-SVN: r10341
Richard Kenner [Tue, 12 Sep 1995 22:30:06 +0000 (18:30 -0400)]
Remove fix_argv kludge.
From-SVN: r10340
Richard Kenner [Tue, 12 Sep 1995 22:29:13 +0000 (18:29 -0400)]
Rewritten to use fixinc-nt.sed.
From-SVN: r10339
Richard Kenner [Tue, 12 Sep 1995 22:25:46 +0000 (18:25 -0400)]
Changed spawn function entry points to __spawn* instead of spawn*.
From-SVN: r10338
Richard Kenner [Tue, 12 Sep 1995 22:25:25 +0000 (18:25 -0400)]
Initial revision
From-SVN: r10337
Richard Kenner [Tue, 12 Sep 1995 22:24:53 +0000 (18:24 -0400)]
Changed precedence of libraries to look for libfoo.lib before libfoo.a.
Changed to work like Gnu ld for NT.
From-SVN: r10336
Richard Kenner [Tue, 12 Sep 1995 22:00:35 +0000 (18:00 -0400)]
Initial revision
From-SVN: r10335
Richard Kenner [Tue, 12 Sep 1995 22:00:02 +0000 (18:00 -0400)]
Added -D_cdecl=__attribute__((__cdecl__)).
Change LIB_SPEC to be compatible with Gnu ld for NT.
From-SVN: r10334
Richard Kenner [Tue, 12 Sep 1995 21:59:37 +0000 (17:59 -0400)]
Added -D_M_ALPHA to CPP_PREDEFINES.
Changed LIB_SPEC to be compatible with Gnu ld for NT.
From-SVN: r10333
Richard Kenner [Tue, 12 Sep 1995 21:40:04 +0000 (17:40 -0400)]
Changed archive command for libobjc.a to use $? for objects.
From-SVN: r10332
Richard Kenner [Tue, 12 Sep 1995 21:39:08 +0000 (17:39 -0400)]
Changed various .o's to .$(objext)'s
Changed various .o's to .$(objext)'s
(specs): Removed unnecessary $(exeext).
(EXTRA_GCC_OBJS): New variable.
(clean): Removed $(LIB2FUNCS_EXTRA)
From-SVN: r10331
Richard Kenner [Tue, 12 Sep 1995 21:37:25 +0000 (17:37 -0400)]
Changed to used common winnt/config-nt.bat.
From-SVN: r10330
Douglas Rupp [Tue, 12 Sep 1995 21:32:00 +0000 (17:32 -0400)]
drupp@cs.ashington.edu
From-SVN: r10329
Douglas Rupp [Tue, 12 Sep 1995 21:31:04 +0000 (17:31 -0400)]
(cc1plus) : Removed unnecessary $(exeext).
From-SVN: r10328
Richard Kenner [Tue, 12 Sep 1995 17:55:04 +0000 (13:55 -0400)]
Fix HP/UX <sys/file.h> for g++ -pedantic-errors.
From-SVN: r10327
Richard Kenner [Tue, 12 Sep 1995 17:51:05 +0000 (13:51 -0400)]
(output_scc_di): Fixed for non-SGS_CMP_ORDER syntax.
From-SVN: r10326
Richard Kenner [Tue, 12 Sep 1995 17:23:51 +0000 (13:23 -0400)]
(adddi3, subdi3, negdi2): Add constraints so output reg does not
overlap one reg with one of the inputs.
From-SVN: r10325
Richard Kenner [Tue, 12 Sep 1995 17:09:33 +0000 (13:09 -0400)]
(scan_libraries): cast lsyms' alloca() to LDSYM*.
From-SVN: r10324
Richard Kenner [Tue, 12 Sep 1995 17:04:05 +0000 (13:04 -0400)]
(__gnuc_va_list): Make char * for NetBSD.
From-SVN: r10323
Richard Kenner [Tue, 12 Sep 1995 16:44:42 +0000 (12:44 -0400)]
(va_arg): Reorganize to avoid BIND_EXPRs of aggregate or array type.
From-SVN: r10322
Richard Kenner [Tue, 12 Sep 1995 16:42:15 +0000 (12:42 -0400)]
(curses.h): typedef bool need not take up entire line.
From-SVN: r10321
Richard Kenner [Mon, 11 Sep 1995 23:22:26 +0000 (19:22 -0400)]
(CPP_SPEC): Define the correct endian macro for varargs/stdargs use.
From-SVN: r10320
Richard Kenner [Mon, 11 Sep 1995 23:21:54 +0000 (19:21 -0400)]
(LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1 depending on the target endianess.
(ASM_FILE_START): Define, to call output_options in addition to
output_file_directive.
(TRAMPOLINE_SIZE): Correct size to match code.
From-SVN: r10319
Richard Kenner [Mon, 11 Sep 1995 23:21:16 +0000 (19:21 -0400)]
(float{,uns}sidf2): Call rs6000_float_const to portably build the proper floating point constant for conversions.
(float{,uns}sidf2): Call rs6000_float_const to portably build the proper
floating point constant for conversions.
(movdi): Properly handle movdi of CONST_{INT,DOUBLE} on little endian systems.
From-SVN: r10318
Richard Kenner [Mon, 11 Sep 1995 23:20:44 +0000 (19:20 -0400)]
(output_option{,s}): New functions to write -f, -m, and -W options to the asm file.
(output_option{,s}): New functions to write -f, -m, and -W options to the
asm file.
(rs6000_float_const): New function to generate floating point constants
portably used in signed,unsigned -> double conversions.
(rs6000_stack_info,debug_stack_info): Use ABI enumeration instead
of AIX vs. V.4 boolean.
From-SVN: r10317
Richard Kenner [Mon, 11 Sep 1995 23:20:14 +0000 (19:20 -0400)]
(rs6000_abi): New enumeration to describe which ABI we're conforming to.
(rs6000_stack): Use abi enum, not AIX vs. V.4 boolean.
(ASM_OUTPUT_OPTIONS): New macro to print output options in .s file.
(ASM_FILE_START): Use it.
(output_options,rs6000_float_const): Declare new functions.
From-SVN: r10316
Richard Kenner [Mon, 11 Sep 1995 23:05:26 +0000 (19:05 -0400)]
(digest_init): Don't recursively call digest_init when in traditional
mode if the type is invalid.
From-SVN: r10315
Richard Kenner [Mon, 11 Sep 1995 22:58:21 +0000 (18:58 -0400)]
Added DLB/DSTB peepholes for HFmode.
Corrected mnemonics for HImode DSTB peephole.
From-SVN: r10314
Richard Kenner [Mon, 11 Sep 1995 22:53:34 +0000 (18:53 -0400)]
(FLO_union_type): Remove bitfields to set sign...
(FLO_union_type): Remove bitfields to set sign, exponent, and
mantissa, and add value_raw field, which is an integer of the
appropriate type. If _DEBUG_BITFLOAT is defined, provide little and
big endian bitfields. If the macro FLOAT_BIT_ORDER_MISMATCH is
defined, use explicit bitfields.
(pack_d, unpack_d): Switch to use value_raw and explicit shifts and
masks so that we don't have to worry about whether the target is big
or little endian unless FLOAT_BIT_ORDER_MISMATCH is defined. If
single precision floating point, rename to pack_f and unpack_f, so
there is no confusion in the debugger.
From-SVN: r10313
Richard Kenner [Mon, 11 Sep 1995 22:48:01 +0000 (18:48 -0400)]
(FLO_union_type): Remove bitfields to set sign...
(FLO_union_type): Remove bitfields to set sign, exponent, and
mantissa, and add value_raw field, which is an integer of the
appropriate type. If _DEBUG_BITFLOAT is defined, provide little and
big endian bitfields.
(pack_d, unpack_d): Switch to use value_raw and explicit shifts and
masks so that we don't have to worry about whether the target is big
or little endian. If single precision floating point, rename to
pack_f and unpack_f, so there is no confusion in the debugger.
From-SVN: r10312
Richard Kenner [Mon, 11 Sep 1995 22:41:44 +0000 (18:41 -0400)]
(redeclaration_error_message): For TYPE_DECLs, return 0 if
TYPE_MAIN_VARIANT of old type is same as new type.
From-SVN: r10311
Jason Merrill [Mon, 11 Sep 1995 22:33:03 +0000 (18:33 -0400)]
jason@cygnus.com
From-SVN: r10310
Jason Merrill [Mon, 11 Sep 1995 22:31:59 +0000 (18:31 -0400)]
(tsubst): Handle PROMOTE_PROTOTYPES.
From-SVN: r10309
Richard Kenner [Mon, 11 Sep 1995 21:39:30 +0000 (17:39 -0400)]
(xcoff_inlining): New variable...
(xcoff_inlining): New variable, used in place of
xcoff_current_include_file when determining whether to use absolute
line numbers.
(xcoffout_source_file): Switched to using xcoff_inlining to determine
when to emit .bi/.ei directives.
From-SVN: r10308
Richard Kenner [Mon, 11 Sep 1995 20:54:24 +0000 (16:54 -0400)]
(cmpdi): Change patterns to allocate scratch register at RTL generation time.
(tstdi): Likewise.
From-SVN: r10307
Richard Kenner [Sun, 3 Sep 1995 13:03:38 +0000 (09:03 -0400)]
(size_binop): Don't pass 1 to NOTRUNC.
From-SVN: r10306
Richard Kenner [Thu, 31 Aug 1995 23:26:53 +0000 (19:26 -0400)]
Include longlong.h.
[L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4):
Define this `static inline' when defining these, so they all remain
leaf functions.
From-SVN: r10305
Richard Kenner [Thu, 31 Aug 1995 23:04:04 +0000 (19:04 -0400)]
(struct rtx_const): Add new field DI to union.
(decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE
representing an integer.
From-SVN: r10304
Richard Kenner [Thu, 31 Aug 1995 23:03:23 +0000 (19:03 -0400)]
(canon_hash, CONST_DOUBLE): Hash integer and real differently.
From-SVN: r10303
Richard Kenner [Thu, 31 Aug 1995 22:38:14 +0000 (18:38 -0400)]
(ends_in_label): New %union member.
(stmts, stmt_or_label): Use new member to avoid lexical lookahead hack.
(lineno_stmt_or_labels): New rule.
(lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends in a label.
From-SVN: r10302
Richard Kenner [Thu, 31 Aug 1995 22:18:47 +0000 (18:18 -0400)]
Fix patch botch.
From-SVN: r10301
Richard Kenner [Thu, 31 Aug 1995 22:17:13 +0000 (18:17 -0400)]
(alpha_builtin_saveregs): Properly compute address of __offset both
both OSF and WINNT.
From-SVN: r10300
Richard Kenner [Thu, 31 Aug 1995 22:16:58 +0000 (18:16 -0400)]
(__gnuc_va_list): Make __offset an int.
From-SVN: r10299
Richard Kenner [Thu, 31 Aug 1995 21:54:28 +0000 (17:54 -0400)]
(malloc, calloc, realloc): Don't define for anybody.
From-SVN: r10298
Richard Kenner [Thu, 31 Aug 1995 21:54:05 +0000 (17:54 -0400)]
(sbrk): Define here for __alpha.
From-SVN: r10297
Richard Kenner [Thu, 31 Aug 1995 21:53:13 +0000 (17:53 -0400)]
(sbrk): Don't define here.
From-SVN: r10296
Richard Kenner [Thu, 31 Aug 1995 12:31:20 +0000 (08:31 -0400)]
(emit_reload_insn): Emit RELOAD_OTHER output reloads last.
From-SVN: r10295
Richard Kenner [Thu, 31 Aug 1995 12:30:38 +0000 (08:30 -0400)]
(push_reload): Add case for output reload of a SUBREG of a hard reg when output mode is invalid for that mode.
(push_reload): Add case for output reload of a SUBREG
of a hard reg when output mode is invalid for that mode.
In both that case and existing case for in, don't remove SUBREG.
From-SVN: r10294
Richard Kenner [Tue, 29 Aug 1995 23:15:47 +0000 (19:15 -0400)]
(finish_struct): If transparent_union attribute specified, validate it
once we finish laying the union out.
From-SVN: r10293
Richard Kenner [Tue, 29 Aug 1995 23:15:19 +0000 (19:15 -0400)]
(decl_attribute, case A_PACKED): Check is_type first.
(decl_attribute, case A_T_UNION): Likewise.
Don't access TYPE_FIELDS if DECL is zero.
From-SVN: r10292
Richard Kenner [Mon, 28 Aug 1995 10:58:38 +0000 (06:58 -0400)]
(arm_gen_movstrqi): Remove unused variable const_sxteen.
From-SVN: r10291
Richard Kenner [Mon, 28 Aug 1995 10:56:14 +0000 (06:56 -0400)]
(buffer, inpoint): Remove unused variables.
From-SVN: r10290
Richard Kenner [Mon, 28 Aug 1995 10:54:22 +0000 (06:54 -0400)]
Fix spelling errors.
From-SVN: r10289
Paul Eggert [Mon, 28 Aug 1995 10:15:06 +0000 (10:15 +0000)]
entered into RCS
From-SVN: r10288
Richard Kenner [Mon, 28 Aug 1995 10:15:04 +0000 (06:15 -0400)]
entered into RCS
From-SVN: r10287
Richard Kenner [Mon, 28 Aug 1995 10:00:33 +0000 (06:00 -0400)]
(mvs_label_emitted): Renamed from mvs_label_emited.
From-SVN: r10286
Richard Kenner [Mon, 28 Aug 1995 09:57:59 +0000 (05:57 -0400)]
Fix misspelling of `maintainer-clean'.
From-SVN: r10285
Richard Kenner [Sat, 26 Aug 1995 10:56:53 +0000 (06:56 -0400)]
(emit_reload_insns): Do nothing for SUBREG whose operand is unused subsequently.
(emit_reload_insns): Do nothing for SUBREG whose operand is unused
subsequently.
In secondary reload case, if paradoxical SUBREG for output, reload thing
inside SUBREG, just like gen_reload.
From-SVN: r10284
Richard Kenner [Sat, 26 Aug 1995 10:56:12 +0000 (06:56 -0400)]
(push_secondary_reload): If X is a paradoxical SUBREG, get mode and
thing to reload from inside.
From-SVN: r10283
Richard Kenner [Fri, 25 Aug 1995 23:26:36 +0000 (19:26 -0400)]
(set_init_label): Don't die if an entire brace-pair level is
superfluous in the containing level.
From-SVN: r10282
Richard Kenner [Fri, 25 Aug 1995 23:22:03 +0000 (19:22 -0400)]
({add,sub,mulsi}di3): Support both endian possibilities.
(negdi2): Likewise.
From-SVN: r10281
Richard Kenner [Fri, 25 Aug 1995 23:21:42 +0000 (19:21 -0400)]
(STRICT_ALIGNMENT): If little endian, always set strict alignment to 1.
From-SVN: r10280
Richard Kenner [Fri, 25 Aug 1995 23:20:52 +0000 (19:20 -0400)]
Initial revision
From-SVN: r10279
Richard Kenner [Fri, 25 Aug 1995 23:10:36 +0000 (19:10 -0400)]
Added peephole definitions for Load/Store Base insns and eliminating redundant...
Added peephole definitions for Load/Store Base insns and eliminating
redundant load in an equivalent store/load sequence.
From-SVN: r10278
Per Bothner [Fri, 25 Aug 1995 23:08:07 +0000 (19:08 -0400)]
bothner@cygnus.com
From-SVN: r10277
Per Bothner [Fri, 25 Aug 1995 23:07:05 +0000 (19:07 -0400)]
(FOR): Call note_level_for_for.
From-SVN: r10276
Per Bothner [Fri, 25 Aug 1995 23:06:45 +0000 (19:06 -0400)]
(do_identifier): Handle old (non-ANSI) for scoping, and warn if
conflicts.
From-SVN: r10275
Per Bothner [Fri, 25 Aug 1995 23:06:24 +0000 (19:06 -0400)]
(DECL_DEAD_FOR_LOCAL, DECL_ERROR_REPORTED, DECL_SHADOWED_FOR_VAR): New
macros.
From-SVN: r10274
Per Bothner [Fri, 25 Aug 1995 23:05:26 +0000 (19:05 -0400)]
(struct binding_level): New fields dead_vars_from_for and is_for_scope.
(note_level_for_for): New function.
(poplevel): Special processing if is_for_scope.
(pushdecl): Warn if for-scope variable shadows local.
From-SVN: r10273
Per Bothner [Fri, 25 Aug 1995 23:04:48 +0000 (19:04 -0400)]
(flag_new_for_scope): Add a new mode that follows ANSI for-scoping, but supports (and warns about) old programs.
(flag_new_for_scope): Add a new mode that follows ANSI
for-scoping, but supports (and warns about) old programs.
Make the new mode (with value 1) the default.
(lang_f_options): The on-value for flag_new_for_scope is now 2.
From-SVN: r10272
Richard Kenner [Fri, 25 Aug 1995 22:33:19 +0000 (18:33 -0400)]
(report_error_function): Don't attempt to use input file stack to identify...
(report_error_function): Don't attempt to use input file stack to
identify nesting of #include's if file name oflocation diagnosed is
not same as input_filename.
From-SVN: r10271
Richard Kenner [Fri, 25 Aug 1995 11:31:37 +0000 (07:31 -0400)]
(output_inline_function): Switch to function obstack.
From-SVN: r10270
Richard Kenner [Mon, 21 Aug 1995 17:29:41 +0000 (13:29 -0400)]
(decrement_and_branch_until_zero): Use arithmetic_comparison_operator to decide...
(decrement_and_branch_until_zero): Use arithmetic_comparison_operator
to decide if there is comparison suitable to be expressed by condition
code from an arithmetic op.
From-SVN: r10269
Richard Kenner [Mon, 21 Aug 1995 17:29:16 +0000 (13:29 -0400)]
(arithmetic_comparison_operator): New function.
(print_operand): Take into account that overflow flag is not set the
same as after a compare instruction.
From-SVN: r10268
Richard Kenner [Mon, 21 Aug 1995 17:25:59 +0000 (13:25 -0400)]
(adddi3, subdi3): "&" added to clobber's constraints.
From-SVN: r10267