OSDN Git Service

pf3gnuchains/gcc-fork.git
28 years agoAdd 'B', 'b', and 'V' to SWITCH_TAKES_ARG.
meissner [Sat, 27 Jan 1996 15:27:08 +0000 (15:27 +0000)]
Add 'B', 'b', and 'V' to SWITCH_TAKES_ARG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11116 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoDeal with small statics and -msdata
meissner [Sat, 27 Jan 1996 15:09:44 +0000 (15:09 +0000)]
Deal with small statics and -msdata

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11115 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(initialize_builtins): Add def of __HAVE_BUILTIN_SETJMP__.
kenner [Sat, 27 Jan 1996 12:58:59 +0000 (12:58 +0000)]
(initialize_builtins): Add def of __HAVE_BUILTIN_SETJMP__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11114 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(init_decl_processing): Add definitions for __builtin_setjmp and
kenner [Sat, 27 Jan 1996 12:58:08 +0000 (12:58 +0000)]
(init_decl_processing): Add definitions for __builtin_setjmp and
__builtin_longjmp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11113 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInclude hard-reg-set.h.
kenner [Sat, 27 Jan 1996 12:57:21 +0000 (12:57 +0000)]
Include hard-reg-set.h.
(arg_pointer_save_area): New declaration.
(expand_builtin, case BUILT_IN_{SET,LONG}JMP): New cases.

(expand_expr, case COMPONENT_REF): Pass EXPAND_INITIALIZER to
recursive call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11112 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(enum built_in_function): Add BUILT_IN_{SET,LONG}JMP.
kenner [Sat, 27 Jan 1996 12:56:40 +0000 (12:56 +0000)]
(enum built_in_function): Add BUILT_IN_{SET,LONG}JMP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11111 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/sparc.h (sparc_arch_type): Delete.
dje [Fri, 26 Jan 1996 22:22:32 +0000 (22:22 +0000)]
* sparc/sparc.h (sparc_arch_type): Delete.
({,TARGET_}MASK_DEPRECATED_V8_INSNS): Define.
(ARCH64_SWITCHES): Renamed from V9_SWITCHES.
* sparc/sparc.c (sparc_arch_type): Delete.
(sparc_init_modes): Likewise.
(output_move_quad): Don't use ldq/stq unless TARGET_HARD_QUAD.
* sparc/sp64-sol2.h (TARGET_DEFAULT): Add MASK_DEPRECATED_V8_INSNS.
(SUBTARGET_SWITCHES): Add -m{no,}deprecated-v8-insns
* sparc/sparc.md (arch attribute): Rewrite.
(isa): New attribute.
(32 bit multiply/divide patterns): Use if TARGET_DEPRECATED_V8_INSNS.
(32 bit divide patterns): V9 doesn't require delay after y reg write.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11110 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoTARGET_32BIT bias and LEGITIMATE ADDRESS 64bit stuff
edelsohn [Fri, 26 Jan 1996 17:06:45 +0000 (17:06 +0000)]
TARGET_32BIT bias and LEGITIMATE ADDRESS 64bit stuff

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11109 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(mulu.di): Enable for -m88110
coxs [Fri, 26 Jan 1996 15:32:03 +0000 (15:32 +0000)]
(mulu.di): Enable for -m88110

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11108 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoDeal with names that are encoded with both @ and *.
meissner [Fri, 26 Jan 1996 14:43:39 +0000 (14:43 +0000)]
Deal with names that are encoded with both @ and *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11107 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix &foo in eabi -msdata.
meissner [Fri, 26 Jan 1996 03:21:32 +0000 (03:21 +0000)]
Fix &foo in eabi -msdata.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11106 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix Windows NT problem
meissner [Thu, 25 Jan 1996 22:06:56 +0000 (22:06 +0000)]
Fix Windows NT problem

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11105 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agofix typo.
meissner [Thu, 25 Jan 1996 20:57:01 +0000 (20:57 +0000)]
fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11104 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix bugs in last changes
meissner [Thu, 25 Jan 1996 20:33:51 +0000 (20:33 +0000)]
Fix bugs in last changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11103 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agozap trailing blank line.
meissner [Thu, 25 Jan 1996 17:35:41 +0000 (17:35 +0000)]
zap trailing blank line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11102 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agomore small data support
meissner [Thu, 25 Jan 1996 15:48:40 +0000 (15:48 +0000)]
more small data support

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11101 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(SPARC_{V9,ARCH64}): Default value is 0.
dje [Thu, 25 Jan 1996 14:16:13 +0000 (14:16 +0000)]
(SPARC_{V9,ARCH64}): Default value is 0.
(*): Replace SPARCV9 with SPARC_{V9,ARCH64}.
(MASK_CPUS): Define.
({MASK,TARGET}_ENV32): Delete.
({MASK,TARGET}_ARCH64,TARGET_ARCH32): Define.
(TARGET_SWITCHES): Reset cpu flags first for each variant.
(CONDITIONAL_REGISTER_USAGE): If 32 bit v9 system, unfix g1-g4,
fix g5, and make %f48-%f80 call used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11100 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(*): Replace TARGET_V9 with TARGET_ARCH64.
dje [Thu, 25 Jan 1996 14:02:16 +0000 (14:02 +0000)]
(*): Replace TARGET_V9 with TARGET_ARCH64.
(hard_32bit_mode_classes): Add v9 regs.
(gen_v9_scc): Handle 32 bit v9 case.  Call v9_regcmp_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11099 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(*): Replace TARGET_V9 with TARGET_ARCH64 in places
dje [Thu, 25 Jan 1996 13:55:06 +0000 (13:55 +0000)]
(*): Replace TARGET_V9 with TARGET_ARCH64 in places
requiring 64 bit environment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11098 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(SPARC_{V9,ARCH64}): Define.
dje [Thu, 25 Jan 1996 13:03:45 +0000 (13:03 +0000)]
(SPARC_{V9,ARCH64}): Define.
(TARGET_DEFAULT): Add MASK_ARCH64.
(ENDFILE_SPEC): No longer need to check for -nostartfiles.
(ASM_IDENTIFY_GCC): Define as empty.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11097 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(SPARC_{V9,ARCH64}): Define.
dje [Thu, 25 Jan 1996 13:02:36 +0000 (13:02 +0000)]
(SPARC_{V9,ARCH64}): Define.
(TARGET_VERSION): Define.
(TARGET_DEFAULT): Add MASK_ARCH64, delete MASK_ENV32.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(READONLY_DATA_SECTION): Make text_section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11096 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoDefine DBX_USE_BINCL and DBX_CONTIN_LENGTH
ian [Thu, 25 Jan 1996 05:34:46 +0000 (05:34 +0000)]
Define DBX_USE_BINCL and DBX_CONTIN_LENGTH

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11095 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP,
brendan [Thu, 25 Jan 1996 02:00:03 +0000 (02:00 +0000)]
* alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP,
not the extra numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11094 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoSmall data support; Windows NT attributes; windows NT call indrect fix
meissner [Wed, 24 Jan 1996 20:56:01 +0000 (20:56 +0000)]
Small data support; Windows NT attributes; windows NT call indrect fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11093 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(used_spill_regs): New variable.
wilson [Wed, 24 Jan 1996 20:11:09 +0000 (20:11 +0000)]
(used_spill_regs): New variable.
(reload): Set it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11092 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(find_dead_or_set_registers): New function.
wilson [Wed, 24 Jan 1996 20:10:22 +0000 (20:10 +0000)]
(find_dead_or_set_registers): New function.
(mark_target_live_regs): Delete loop looking forward from target
and instead call find_dead_or_set_registers.
(fix_reg_dead_note): New function.
(fill_slots_from_thread): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11091 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(scan_loop): Correct comment.
wilson [Wed, 24 Jan 1996 19:54:41 +0000 (19:54 +0000)]
(scan_loop): Correct comment.
(strength_reduce): Correct comments.  Don't set maybe_multiple when
pass branch to scan_start.  Don't set not_every_iteration after
passing a CODE_LABEL, or after passing a branch out of the loop.
When outputting DEST_ADDR giv increments, put them next to the memory
address on machines with auto-increment addresses.
(record_biv): Set new field always_executed.
(record_giv): Set new fields always_executed and auto_inc_opt.
(maybe_eliminate_biv_1): Reject biv with auto_inc_opt optimization
in some cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11090 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(struct induction): New fields always_executed and
wilson [Wed, 24 Jan 1996 19:54:00 +0000 (19:54 +0000)]
(struct induction): New fields always_executed and
auto_inc_opt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11089 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(pointer_int_sum): Use TYPE_PRECISION (sizetype) not
wilson [Wed, 24 Jan 1996 19:31:38 +0000 (19:31 +0000)]
(pointer_int_sum): Use TYPE_PRECISION (sizetype) not
POINTER_SIZE to agree with expr.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11088 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_ALIGNED_LOCAL): Delete, use svr4.h's.
dje [Tue, 23 Jan 1996 20:14:31 +0000 (20:14 +0000)]
(ASM_OUTPUT_ALIGNED_LOCAL): Delete, use svr4.h's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11087 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse preprocessor arithmetic instead of C arithmetic
eggert [Tue, 23 Jan 1996 03:28:01 +0000 (03:28 +0000)]
Use preprocessor arithmetic instead of C arithmetic
to avoid warnings on some compilers.
(HOST_WIDE_INT_MASK): Remove.
(MAX_CHAR_TYPE_MASK, MAX_WCHAR_TYPE_MASK): New macros.
(yylex): Use them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11086 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary
bothner [Mon, 22 Jan 1996 23:40:12 +0000 (23:40 +0000)]
* cppexp.c (cpp_parse_expr):  Set HAVE_VALUE flag for unary
minus, even if skip_evaluation is true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11085 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse Pmode
edelsohn [Mon, 22 Jan 1996 21:52:06 +0000 (21:52 +0000)]
Use Pmode

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11084 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse Pmode and cleanup
edelsohn [Mon, 22 Jan 1996 21:51:28 +0000 (21:51 +0000)]
Use Pmode and cleanup

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11083 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago79th Cygnus<->FSF merge
mrs [Mon, 22 Jan 1996 19:49:02 +0000 (19:49 +0000)]
79th Cygnus<->FSF merge

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11082 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoundef BIGGEST_FIELD_ALIGNMENT inherited from rs6000.h
edelsohn [Mon, 22 Jan 1996 19:16:32 +0000 (19:16 +0000)]
undef BIGGEST_FIELD_ALIGNMENT inherited from rs6000.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11081 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoPowerPC64 DImode patterns
edelsohn [Mon, 22 Jan 1996 19:12:22 +0000 (19:12 +0000)]
PowerPC64 DImode patterns

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11080 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoupdate alignment
edelsohn [Mon, 22 Jan 1996 18:55:08 +0000 (18:55 +0000)]
update alignment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11079 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInclude <string.h>
ian [Mon, 22 Jan 1996 04:34:18 +0000 (04:34 +0000)]
Include <string.h>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11078 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* tree.h (CONSTRUCTOR_TARGET_CLEARED_P): Removed.
bothner [Sat, 20 Jan 1996 01:43:18 +0000 (01:43 +0000)]
* tree.h (CONSTRUCTOR_TARGET_CLEARED_P):  Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11077 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoMerged in a bunch of stuff related to store_constructor. See ChangeLog.
bothner [Sat, 20 Jan 1996 01:41:05 +0000 (01:41 +0000)]
Merged in a bunch of stuff related to store_constructor.  See ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11076 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoCONSTRUCTOR: Add comments.
bothner [Sat, 20 Jan 1996 01:40:09 +0000 (01:40 +0000)]
CONSTRUCTOR:  Add comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11075 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
dje [Fri, 19 Jan 1996 21:50:59 +0000 (21:50 +0000)]
* sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11074 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * svr4.h (SWITCH_TAKES_ARG): Add 'x'.
dje [Fri, 19 Jan 1996 21:50:07 +0000 (21:50 +0000)]
* svr4.h (SWITCH_TAKES_ARG): Add 'x'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11073 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAvoid minimal C++ debugging in a couple of cases where it doesn't work
ian [Fri, 19 Jan 1996 20:21:04 +0000 (20:21 +0000)]
Avoid minimal C++ debugging in a couple of cases where it doesn't work

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11072 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoWork with new linker
meissner [Fri, 19 Jan 1996 16:53:29 +0000 (16:53 +0000)]
Work with new linker

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11071 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoarm/lib1funcs.asm (__divsi3, __modsi3, __udivsi3, __umodsi3): Replace
erich [Fri, 19 Jan 1996 10:11:00 +0000 (10:11 +0000)]
arm/lib1funcs.asm (__divsi3, __modsi3, __udivsi3, __umodsi3): Replace
with smaller, faster versions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11070 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoClean up CONST_DOUBLE_OK_FOR_LETTER_P definition.
wilson [Thu, 18 Jan 1996 22:43:49 +0000 (22:43 +0000)]
Clean up CONST_DOUBLE_OK_FOR_LETTER_P definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11069 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ctype.h): Delete.
wilson [Thu, 18 Jan 1996 22:41:00 +0000 (22:41 +0000)]
(ctype.h): Delete.
(regno_reg_class, reg_class_from_letter, prepare_scc_operands,
broken_move, push, pop, push_regs, calc_live_regs, sh_expand_prologue,
sh_expand_epilogue, initial_elimination_offset, arith_reg_operand):
Add SH3e support.
(sh_builtin_saveregs, fp_zero_operand, fp_one_operand): New functions.
(sh_function_arg, sh_function_arg_partial_nregs): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11068 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(CPP_SPEC, CONDITIONAL_REGISTER_USAGE, TARGET_SWITCHES,
wilson [Thu, 18 Jan 1996 22:40:12 +0000 (22:40 +0000)]
(CPP_SPEC, CONDITIONAL_REGISTER_USAGE, TARGET_SWITCHES,
OVERRIDE_OPTIONS, FIRST_PSEUDO_REGISTER, FIXED_REGISTERS,
CALL_USED_REGISTERS, HARD_REGNO_MODE_OK, enum reg_class,
REG_CLASS_NAMES, REG_CLASS_CONTENTS, REG_ALLOC_ORDER,
CONST_DOUBLE_OK_FOR_LETTER_P, NPARM_REGS, FUNCTION_VALUE,
LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P,
CUMULATIVE_ARGS, ROUND_REG, INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE,
FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, LEGITIMATE_CONSTANT_P,
MODE_DISP_OK_4, REGISTER_MOVE_COST, REGISTER_NAMES,
DBX_REGISTER_NUMBER, enum processor_type): Add SH3E support.
(SH3E_BIT, TARGET_SH3E, FPUL_REG, FIRST_FP_REG, LAST_FP_REG,
FIRST_FP_PARM_REG, FIRST_FP_RET_REG, BASE_RETURN_VALUE_REG,
BASE_ARG_REG, enum sh_arg_class, struct sh_args, GET_SH_ARG_CLASS,
PASS_IN_REG_P, sh_builtin_saveregs, EXPAND_BUILTIN_SAVEREGS,
DOUBLE_TYPE_SIZE): New.
(TARGET_SWITCHES): Delete broken -m3l option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11067 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(MULTILIB_OPTIONS): Add SH3E support.
wilson [Thu, 18 Jan 1996 22:38:57 +0000 (22:38 +0000)]
(MULTILIB_OPTIONS): Add SH3E support.
(MULTILIB_DIRNAMES): Define to empty.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11066 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(cpu, movsi_i, movsf_i, blt, bge, sle, sge): Add SH3E
wilson [Thu, 18 Jan 1996 22:37:48 +0000 (22:37 +0000)]
(cpu, movsi_i, movsf_i, blt, bge, sle, sge): Add SH3E
support.
(push_e, pop_e, movsi_ie, movsf_ie, addsf3, subsf3, mulsf3, macsf3,
divsf3, floatsisf2, fix_truncsfsi2, cmpgtsf_t, cmpqesf_t, cmpsf,
negsf2, sqrtsf2, abssf2): New patterns.
(abssf2+9, abssf2+10): Add SH3e support to peepholes
(abssf2+11, abssf2+12): New peepholes for SH3e.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11065 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd const where appropriate
ian [Thu, 18 Jan 1996 16:30:48 +0000 (16:30 +0000)]
Add const where appropriate

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11064 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoEXTRA_SPECS addition
meissner [Thu, 18 Jan 1996 15:19:51 +0000 (15:19 +0000)]
EXTRA_SPECS addition

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11063 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(v9 INIT_CUMULATIVE_ARGS): Fix typos.
dje [Thu, 18 Jan 1996 00:14:51 +0000 (00:14 +0000)]
(v9 INIT_CUMULATIVE_ARGS): Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11062 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(HOST_WIDE_INT_MASK): Renamed from LONG_MASK; use HOST_WIDE_INT.
eggert [Thu, 18 Jan 1996 00:12:52 +0000 (00:12 +0000)]
(HOST_WIDE_INT_MASK): Renamed from LONG_MASK; use HOST_WIDE_INT.
(HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): New (actually resuscitated) macros.
(parse_c_expression, expression_value, parse_escape, left_shift, right_shift,
struct constant, exp, parse_number, yylex): Replace `long' with
`HOST_WIDE_INT'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11061 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(PTR_INT_TYPE): Remove obsolete define to `long'.
eggert [Thu, 18 Jan 1996 00:12:52 +0000 (00:12 +0000)]
(PTR_INT_TYPE): Remove obsolete define to `long'.
(parse_escape, parse_c_expression, eval_if_expression, get_lintcmd, do_line,
do_if, do_elif): Replace `long' with `HOST_WIDE_INT'.
(trigraph_pcp): Don't assume a pointer difference fits in an int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11060 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(extract_bit_field): For multi-word bitfield, clobber target before
wilson [Wed, 17 Jan 1996 23:56:06 +0000 (23:56 +0000)]
(extract_bit_field): For multi-word bitfield, clobber target before
storing to it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11059 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoRecognize go32* as an os.
dje [Wed, 17 Jan 1996 23:54:58 +0000 (23:54 +0000)]
Recognize go32* as an os.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11044 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUpdate copyright address.
dje [Wed, 17 Jan 1996 23:53:33 +0000 (23:53 +0000)]
Update copyright address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11043 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
dje [Wed, 17 Jan 1996 23:52:27 +0000 (23:52 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11042 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoDefault OS to nextstep if machine vendor is Next.
rms [Wed, 17 Jan 1996 22:40:42 +0000 (22:40 +0000)]
Default OS to nextstep if machine vendor is Next.
-ns2 is an alias for -nextstep.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11041 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/{t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST
dje [Wed, 17 Jan 1996 22:38:27 +0000 (22:38 +0000)]
* sparc/{t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST
so that cross compilers targeted at these systems will build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11040 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago78th Cygnus<->FSF merge
mrs [Wed, 17 Jan 1996 18:57:55 +0000 (18:57 +0000)]
78th Cygnus<->FSF merge

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11039 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * gcc.c (process_command): New local lang_n_files, and use
dje [Wed, 17 Jan 1996 14:51:41 +0000 (14:51 +0000)]
* gcc.c (process_command): New local lang_n_files, and use
it in test of -c with -o.  Move test of -save-temps.
Test for trailing NUL in -c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11038 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Put back.
kenner [Wed, 17 Jan 1996 12:47:23 +0000 (12:47 +0000)]
(HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Put back.
(pcfinclude): Use HOST_WIDE_INT for casting pointer to integer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11037 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUpdate comments.
kenner [Wed, 17 Jan 1996 12:28:48 +0000 (12:28 +0000)]
Update comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11036 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * va-pa.h (__gnuc_va_list): Use a "void *".
law [Wed, 17 Jan 1996 10:26:27 +0000 (10:26 +0000)]
    * va-pa.h (__gnuc_va_list): Use a "void *".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11035 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* cppexp.c (cpp_lex): Do cpp_pop_buffer after CPP_POP so retried
bothner [Tue, 16 Jan 1996 23:46:59 +0000 (23:46 +0000)]
* cppexp.c (cpp_lex):  Do cpp_pop_buffer after CPP_POP so retried
cpp_skip_hspace will actually work.
* cppexp.c (SKIP_OPERAND):  New macro.
(cpp_parse_expr):  Suppress evaluation and diagnostics in
unevaluated subexpressions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11034 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * expr.c (expand_expr, case COND_EXPR): Make sure cleanups live on
mrs [Tue, 16 Jan 1996 22:40:15 +0000 (22:40 +0000)]
* expr.c (expand_expr, case COND_EXPR): Make sure cleanups live on
the function_obstack as they are used by the exception handling code.
(defer_cleanups_to): Ditto.
(TRUTH_ANDIF_EXPR): Ditto.
(TRUTH_ORIF_EXPR): Ditto.
Fixes eh43.C

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11033 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(new_include_prefix): Ignore ENOTDIR error from stat.
wilson [Tue, 16 Jan 1996 18:56:29 +0000 (18:56 +0000)]
(new_include_prefix): Ignore ENOTDIR error from stat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11032 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * i386/t-sol2 (crt[1in].o): Add missing -c.
dje [Tue, 16 Jan 1996 18:51:39 +0000 (18:51 +0000)]
* i386/t-sol2 (crt[1in].o): Add missing -c.
* sparc/t-sol2 (crt[1in].o,gcrt1.o): Likewise.
Source files are assembler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11031 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(do_spec_1, case 'W'): Rename local `index' to `cur_index' to avoid warning
dje [Tue, 16 Jan 1996 17:18:36 +0000 (17:18 +0000)]
(do_spec_1, case 'W'): Rename local `index' to `cur_index' to avoid warning
on solaris.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11030 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse dbxcoff.h
ian [Tue, 16 Jan 1996 16:51:49 +0000 (16:51 +0000)]
Use dbxcoff.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11029 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUpdate copyright
ian [Tue, 16 Jan 1996 16:49:43 +0000 (16:49 +0000)]
Update copyright

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11028 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse dbxcoff.h
ian [Tue, 16 Jan 1996 16:44:22 +0000 (16:44 +0000)]
Use dbxcoff.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11027 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
ian [Tue, 16 Jan 1996 16:39:57 +0000 (16:39 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11026 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Remove.
kenner [Tue, 16 Jan 1996 14:42:55 +0000 (14:42 +0000)]
(HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Remove.
(parse_escape, parse_c_expression, eval_if_expression):
Change return type to `long'; all callers changed.
(pcfinclude): Use `int', not HOST_WIDE_INT; any integral type will do.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11025 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoGeneral code cleanup in the style of 1995-04-01 change.
kenner [Tue, 16 Jan 1996 14:42:30 +0000 (14:42 +0000)]
General code cleanup in the style of 1995-04-01 change.
Add prototypes for static functions.
Add parentheses suggested by `gcc -Wparentheses'.
Use `long' uniformly, instead of long, int, HOST_WIDE_INT mess.
(struct constant): Use `signedp' flag (with sign bit) instead of
`unsignedp' flag; it's a little more convenient.

(HAVE_STDLIB_H, STDC_HEADERS, LONG_MASK, __attribute__, PROTO,
VA_START, PRINTF_ALIST, PRINTF_DCL, PRINTF_PROTO, PRINTF_PROTO_1,
vfprintf, SIGNED, UNSIGNED): New symbols.
<stdlib.h>: Include if HAVE_STDLIB_H.
<string.h>: New include.
(HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Remove.
(yylex, yyerror, expression_value, parse_number,
initialize_random_junk): Now static.

(overflow_sum_sign): Renamed from possible_sum_sign, with an
extra arg SIGNEDP.
(parse_number): Inline strcmp when checking for "0x".
(yylex): Keep track of mask needed when decoding wide characters.
(parse_escape): New arg RESULT_MASK; use it instead of
assuming char width.
(yylex, parse_escape, parse_c_expression): Store all host
integers as long, not int or HOST_WIDE_INT.
(left_shift): No need to do signed left shifts separately.

These changes are for the test program (if TEST_EXP_READER):
(pedantic, traditional): Allocate storage.
(main): Set pedantic, traditional, yydebug depending on args.
(is_hor_space, warning, lookup): Change types and implementation
to match rest of program.
(pedwarn, check_assertion, xmalloc): New functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11024 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(skip_quoted_string): If pedantic and not pedantic_errors,
kenner [Tue, 16 Jan 1996 14:33:52 +0000 (14:33 +0000)]
(skip_quoted_string): If pedantic and not pedantic_errors,
skipped multiline strings elicit a warning, not an error.
(rescan): Minor code reorg to keep it parallel with skip_quoted_string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11023 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(extract_bit_field): Don't abort if not MEM_IN_STRUCT_P.
kenner [Tue, 16 Jan 1996 14:09:47 +0000 (14:09 +0000)]
(extract_bit_field): Don't abort if not MEM_IN_STRUCT_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11022 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(left_shift_overflows): Remove; unused.
kenner [Tue, 16 Jan 1996 13:56:11 +0000 (13:56 +0000)]
(left_shift_overflows): Remove; unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11021 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(memref_referenced_p, case REG): Fix last change.
kenner [Tue, 16 Jan 1996 13:51:43 +0000 (13:51 +0000)]
(memref_referenced_p, case REG): Fix last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11020 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(const_binop): Strip NOPS from both args.
kenner [Tue, 16 Jan 1996 13:42:19 +0000 (13:42 +0000)]
(const_binop): Strip NOPS from both args.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11019 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(emit_move_insn_1): Don't emit clobber when moving by parts and source
kenner [Tue, 16 Jan 1996 13:21:16 +0000 (13:21 +0000)]
(emit_move_insn_1): Don't emit clobber when moving by parts and source
equals destination.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11018 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_fix): Don't copy TARGET to TO if same.
kenner [Tue, 16 Jan 1996 13:20:15 +0000 (13:20 +0000)]
(expand_fix): Don't copy TARGET to TO if same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11017 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(regclass): Remove useless cast.
kenner [Tue, 16 Jan 1996 13:08:21 +0000 (13:08 +0000)]
(regclass): Remove useless cast.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11016 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(convert_for_assignment): Don't automatically convert from a union
kenner [Tue, 16 Jan 1996 12:05:47 +0000 (12:05 +0000)]
(convert_for_assignment): Don't automatically convert from a union
member to the union.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11015 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_SECTION_NAME): Define section attributes only when a
kenner [Tue, 16 Jan 1996 11:25:50 +0000 (11:25 +0000)]
(ASM_OUTPUT_SECTION_NAME): Define section attributes only when a
section is defined the first time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11014 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_WEAKEN_LABEL): Deleted; not supported.
kenner [Tue, 16 Jan 1996 11:03:20 +0000 (11:03 +0000)]
(ASM_WEAKEN_LABEL): Deleted; not supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11013 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd test for SCO Open Server 5.
kenner [Tue, 16 Jan 1996 01:59:42 +0000 (01:59 +0000)]
Add test for SCO Open Server 5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11012 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(sco5): New case.
kenner [Tue, 16 Jan 1996 01:58:43 +0000 (01:58 +0000)]
(sco5): New case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11009 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd CRTSTUFF_CFLAGS_S.
kenner [Tue, 16 Jan 1996 01:58:04 +0000 (01:58 +0000)]
Add CRTSTUFF_CFLAGS_S.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11008 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Tue, 16 Jan 1996 01:57:28 +0000 (01:57 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11007 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(LIBGCC2_CLFAGS): Add -DIN_LIBGCC2.
kenner [Tue, 16 Jan 1996 01:56:34 +0000 (01:56 +0000)]
(LIBGCC2_CLFAGS): Add -DIN_LIBGCC2.
(libgcc1.a): Add -DIN_LIBGCC1.
(stamp-crtS): remove -fpic, use CRTSTUFF_CFLAGS_S

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11006 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_SPEC): New macro.
kenner [Tue, 16 Jan 1996 01:44:08 +0000 (01:44 +0000)]
(ASM_SPEC): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11005 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(process_commands): Remove inadvertant fallthrough.
kenner [Tue, 16 Jan 1996 01:36:45 +0000 (01:36 +0000)]
(process_commands): Remove inadvertant fallthrough.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11004 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(finish_incomplete_decl): Warn if completing an array that wasn't
kenner [Tue, 16 Jan 1996 01:05:06 +0000 (01:05 +0000)]
(finish_incomplete_decl): Warn if completing an array that wasn't
declared extern.  Simplify test for whether completion is needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11003 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUpdate coprygith.
dje [Mon, 15 Jan 1996 22:28:18 +0000 (22:28 +0000)]
Update coprygith.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11002 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUpdate copyright.
dje [Mon, 15 Jan 1996 22:27:41 +0000 (22:27 +0000)]
Update copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11001 138bc75d-0d04-0410-961f-82ee72b054a4