Richard Kenner [Wed, 31 Jan 1996 13:25:31 +0000 (08:25 -0500)]
(init_68881_table): Use SFmode for the first six constants and DFmode
for the seventh.
From-SVN: r11137
Richard Kenner [Wed, 31 Jan 1996 13:24:55 +0000 (08:24 -0500)]
(STATIC_CHAIN_REGNUM): Redefine to use register a1.
(TRAMPOLINE_TEMPLATE): Likewise.
From-SVN: r11136
Richard Kenner [Wed, 31 Jan 1996 13:24:30 +0000 (08:24 -0500)]
(INITIALIZE_TRAMPOLINE): Adjusted accordingly.
From-SVN: r11135
Richard Kenner [Wed, 31 Jan 1996 13:23:56 +0000 (08:23 -0500)]
(TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Avoid need for helper function.
(TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Avoid need for
helper function.
(TRAMPOLINE_ALIGNMENT): Renamed from TRAMPOLINE_ALIGN.
From-SVN: r11134
Richard Kenner [Wed, 31 Jan 1996 13:22:42 +0000 (08:22 -0500)]
(STRICT_ALIGNMENT): Define to zero.
(LEGITIMATE_PIC_OPERAND_P): Match definition from m68kv4.h.
(LIBCALL_VALUE): Return XFmode value in fp0.
From-SVN: r11133
Richard Kenner [Wed, 31 Jan 1996 13:18:01 +0000 (08:18 -0500)]
(struct arg_data, expand_call): Test STRICT_ALIGN with #if.
From-SVN: r11132
Richard Kenner [Wed, 31 Jan 1996 12:47:49 +0000 (07:47 -0500)]
Initial revision
From-SVN: r11131
Richard Kenner [Wed, 31 Jan 1996 12:43:12 +0000 (07:43 -0500)]
(__STDC__): Add one more case.
From-SVN: r11130
Richard Kenner [Wed, 31 Jan 1996 12:42:50 +0000 (07:42 -0500)]
(sys/mc_param.h): Remove embedded asm.
From-SVN: r11129
Richard Kenner [Wed, 31 Jan 1996 12:15:10 +0000 (07:15 -0500)]
(warn_std_ptr): Initialize with 0 instead of NULL_PTR.
From-SVN: r11128
Richard Kenner [Wed, 31 Jan 1996 12:14:24 +0000 (07:14 -0500)]
({adddi,subdi}_sexthishl32): 'a' and 'd' versions merged and fixed; do
not generate 'add/sub a,m'.
From-SVN: r11127
Richard Kenner [Wed, 31 Jan 1996 12:09:20 +0000 (07:09 -0500)]
(MACHINE_STATE_{SAVE,RESTORE}): Allow MOTOROLA syntax.
From-SVN: r11126
Ian Lance Taylor [Tue, 30 Jan 1996 18:32:39 +0000 (18:32 +0000)]
Don't include <string.h>. Don't compare strchr result to NULL.
From-SVN: r11125
Ian Lance Taylor [Tue, 30 Jan 1996 18:30:03 +0000 (18:30 +0000)]
In ASM_FINAL_SPEC, use %|, not ${pipe:-}
From-SVN: r11124
Richard Kenner [Tue, 30 Jan 1996 11:48:12 +0000 (06:48 -0500)]
(nonzero_bits, case REG): Ignore REG_POINTER_ALIGNMENT.
Restore old code for SP, but use it for all pointers to defined locations in
the frame.
From-SVN: r11123
Richard Kenner [Tue, 30 Jan 1996 11:34:13 +0000 (06:34 -0500)]
(expr.o): Includes hard-reg-set.h.
From-SVN: r11122
Ian Lance Taylor [Mon, 29 Jan 1996 16:26:41 +0000 (16:26 +0000)]
Don't use #ifndef inside call to strchr, to avoid AIX problem
From-SVN: r11121
Doug Evans [Sun, 28 Jan 1996 19:43:58 +0000 (19:43 +0000)]
(*): #undef first.
From-SVN: r11120
David Edelsohn [Sun, 28 Jan 1996 05:56:49 +0000 (05:56 +0000)]
movdf 64bit and movdi matcher 64bit
From-SVN: r11119
David Edelsohn [Sun, 28 Jan 1996 02:43:36 +0000 (02:43 +0000)]
rs6000_sync_trampoline cmpdi and rs6000_initialize_trampoline pmode
From-SVN: r11118
Doug Evans [Sat, 27 Jan 1996 16:31:31 +0000 (16:31 +0000)]
(sys/param.h): Delete inclusion.
This was a CYGNUS LOCAL patch accidentally installed at the FSF.
From-SVN: r11117
Michael Meissner [Sat, 27 Jan 1996 15:27:08 +0000 (15:27 +0000)]
Add 'B', 'b', and 'V' to SWITCH_TAKES_ARG.
From-SVN: r11116
Michael Meissner [Sat, 27 Jan 1996 15:09:44 +0000 (15:09 +0000)]
Deal with small statics and -msdata
From-SVN: r11115
Richard Kenner [Sat, 27 Jan 1996 12:58:59 +0000 (07:58 -0500)]
(initialize_builtins): Add def of __HAVE_BUILTIN_SETJMP__.
From-SVN: r11114
Richard Kenner [Sat, 27 Jan 1996 12:58:08 +0000 (07:58 -0500)]
(init_decl_processing): Add definitions for __builtin_setjmp and
__builtin_longjmp.
From-SVN: r11113
Richard Kenner [Sat, 27 Jan 1996 12:57:21 +0000 (07:57 -0500)]
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.
From-SVN: r11112
Richard Kenner [Sat, 27 Jan 1996 12:56:40 +0000 (07:56 -0500)]
(enum built_in_function): Add BUILT_IN_{SET,LONG}JMP.
From-SVN: r11111
Doug Evans [Fri, 26 Jan 1996 22:22:32 +0000 (22:22 +0000)]
sparc.h (sparc_arch_type): Delete.
* 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.
From-SVN: r11110
David Edelsohn [Fri, 26 Jan 1996 17:06:45 +0000 (17:06 +0000)]
TARGET_32BIT bias and LEGITIMATE ADDRESS 64bit stuff
From-SVN: r11109
Stan Cox [Fri, 26 Jan 1996 15:32:03 +0000 (15:32 +0000)]
(mulu.di): Enable for -m88110
From-SVN: r11108
Michael Meissner [Fri, 26 Jan 1996 14:43:39 +0000 (14:43 +0000)]
Deal with names that are encoded with both @ and *.
From-SVN: r11107
Michael Meissner [Fri, 26 Jan 1996 03:21:32 +0000 (03:21 +0000)]
Fix &foo in eabi -msdata.
From-SVN: r11106
Michael Meissner [Thu, 25 Jan 1996 22:06:56 +0000 (22:06 +0000)]
Fix Windows NT problem
From-SVN: r11105
Michael Meissner [Thu, 25 Jan 1996 20:57:01 +0000 (20:57 +0000)]
fix typo.
From-SVN: r11104
Michael Meissner [Thu, 25 Jan 1996 20:33:51 +0000 (20:33 +0000)]
Fix bugs in last changes
From-SVN: r11103
Michael Meissner [Thu, 25 Jan 1996 17:35:41 +0000 (17:35 +0000)]
zap trailing blank line.
From-SVN: r11102
Michael Meissner [Thu, 25 Jan 1996 15:48:40 +0000 (15:48 +0000)]
more small data support
From-SVN: r11101
Doug Evans [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.
From-SVN: r11100
Doug Evans [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.
From-SVN: r11099
Doug Evans [Thu, 25 Jan 1996 13:55:06 +0000 (13:55 +0000)]
(*): Replace TARGET_V9 with TARGET_ARCH64 in places
requiring 64 bit environment.
From-SVN: r11098
Doug Evans [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.
From-SVN: r11097
Doug Evans [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.
From-SVN: r11096
Ian Lance Taylor [Thu, 25 Jan 1996 05:34:46 +0000 (05:34 +0000)]
Define DBX_USE_BINCL and DBX_CONTIN_LENGTH
From-SVN: r11095
Brendan Kehoe [Thu, 25 Jan 1996 02:00:03 +0000 (21:00 -0500)]
alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP, not the extra numbers.
* alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP,
not the extra numbers.
From-SVN: r11094
Michael Meissner [Wed, 24 Jan 1996 20:56:01 +0000 (20:56 +0000)]
Small data support; Windows NT attributes; windows NT call indrect fix
From-SVN: r11093
Jim Wilson [Wed, 24 Jan 1996 20:11:09 +0000 (12:11 -0800)]
(used_spill_regs): New variable.
(reload): Set it.
From-SVN: r11092
Jim Wilson [Wed, 24 Jan 1996 20:10:22 +0000 (12:10 -0800)]
(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.
From-SVN: r11091
Jim Wilson [Wed, 24 Jan 1996 19:54:41 +0000 (11:54 -0800)]
(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.
From-SVN: r11090
Jim Wilson [Wed, 24 Jan 1996 19:54:00 +0000 (11:54 -0800)]
(struct induction): New fields always_executed and
auto_inc_opt.
From-SVN: r11089
Jim Wilson [Wed, 24 Jan 1996 19:31:38 +0000 (11:31 -0800)]
(pointer_int_sum): Use TYPE_PRECISION (sizetype) not
POINTER_SIZE to agree with expr.c.
From-SVN: r11088
Doug Evans [Tue, 23 Jan 1996 20:14:31 +0000 (20:14 +0000)]
(ASM_OUTPUT_ALIGNED_LOCAL): Delete, use svr4.h's.
From-SVN: r11087
Paul 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.
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.
From-SVN: r11086
Per Bothner [Mon, 22 Jan 1996 23:40:12 +0000 (15:40 -0800)]
cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary minus, even if skip_evaluation is true.
* cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary
minus, even if skip_evaluation is true.
From-SVN: r11085
David Edelsohn [Mon, 22 Jan 1996 21:52:06 +0000 (21:52 +0000)]
Use Pmode
From-SVN: r11084
David Edelsohn [Mon, 22 Jan 1996 21:51:28 +0000 (21:51 +0000)]
Use Pmode and cleanup
From-SVN: r11083
Mike Stump [Mon, 22 Jan 1996 19:49:02 +0000 (19:49 +0000)]
79th Cygnus<->FSF merge
From-SVN: r11082
David Edelsohn [Mon, 22 Jan 1996 19:16:32 +0000 (19:16 +0000)]
undef BIGGEST_FIELD_ALIGNMENT inherited from rs6000.h
From-SVN: r11081
David Edelsohn [Mon, 22 Jan 1996 19:12:22 +0000 (19:12 +0000)]
PowerPC64 DImode patterns
From-SVN: r11080
David Edelsohn [Mon, 22 Jan 1996 18:55:08 +0000 (18:55 +0000)]
update alignment
From-SVN: r11079
Ian Lance Taylor [Mon, 22 Jan 1996 04:34:18 +0000 (04:34 +0000)]
Include <string.h>
From-SVN: r11078
Per Bothner [Sat, 20 Jan 1996 01:43:18 +0000 (17:43 -0800)]
* tree.h (CONSTRUCTOR_TARGET_CLEARED_P): Removed.
From-SVN: r11077
Per Bothner [Sat, 20 Jan 1996 01:41:05 +0000 (17:41 -0800)]
Merged in a bunch of stuff related to store_constructor. See ChangeLog.
From-SVN: r11076
Per Bothner [Sat, 20 Jan 1996 01:40:09 +0000 (17:40 -0800)]
CONSTRUCTOR: Add comments.
From-SVN: r11075
Doug Evans [Fri, 19 Jan 1996 21:50:59 +0000 (21:50 +0000)]
* sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
From-SVN: r11074
Doug Evans [Fri, 19 Jan 1996 21:50:07 +0000 (21:50 +0000)]
* svr4.h (SWITCH_TAKES_ARG): Add 'x'.
From-SVN: r11073
Ian Lance Taylor [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
From-SVN: r11072
Michael Meissner [Fri, 19 Jan 1996 16:53:29 +0000 (16:53 +0000)]
Work with new linker
From-SVN: r11071
Richard Earnshaw [Fri, 19 Jan 1996 10:11:00 +0000 (10:11 +0000)]
arm/lib1funcs.asm (__divsi3, __modsi3, __udivsi3, __umodsi3): Replace
with smaller, faster versions.
From-SVN: r11070
Jim Wilson [Thu, 18 Jan 1996 22:43:49 +0000 (14:43 -0800)]
Clean up CONST_DOUBLE_OK_FOR_LETTER_P definition.
From-SVN: r11069
Jim Wilson [Thu, 18 Jan 1996 22:41:00 +0000 (14:41 -0800)]
(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.
From-SVN: r11068
Jim Wilson [Thu, 18 Jan 1996 22:40:12 +0000 (14:40 -0800)]
(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.
From-SVN: r11067
Jim Wilson [Thu, 18 Jan 1996 22:38:57 +0000 (14:38 -0800)]
(MULTILIB_OPTIONS): Add SH3E support.
(MULTILIB_DIRNAMES): Define to empty.
From-SVN: r11066
Jim Wilson [Thu, 18 Jan 1996 22:37:48 +0000 (14:37 -0800)]
(cpu, movsi_i, movsf_i, blt, bge, sle, sge): Add SH3E support.
(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.
From-SVN: r11065
Ian Lance Taylor [Thu, 18 Jan 1996 16:30:48 +0000 (16:30 +0000)]
Add const where appropriate
From-SVN: r11064
Michael Meissner [Thu, 18 Jan 1996 15:19:51 +0000 (15:19 +0000)]
EXTRA_SPECS addition
From-SVN: r11063
Doug Evans [Thu, 18 Jan 1996 00:14:51 +0000 (00:14 +0000)]
(v9 INIT_CUMULATIVE_ARGS): Fix typos.
From-SVN: r11062
Paul 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'.
From-SVN: r11061
Paul 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.
From-SVN: r11060
Jim Wilson [Wed, 17 Jan 1996 23:56:06 +0000 (15:56 -0800)]
(extract_bit_field): For multi-word bitfield, clobber target before
storing to it.
From-SVN: r11059
Doug Evans [Wed, 17 Jan 1996 23:54:58 +0000 (23:54 +0000)]
Recognize go32* as an os.
From-SVN: r11044
Doug Evans [Wed, 17 Jan 1996 23:53:33 +0000 (23:53 +0000)]
Update copyright address.
From-SVN: r11043
Doug Evans [Wed, 17 Jan 1996 23:52:27 +0000 (23:52 +0000)]
Initial revision
From-SVN: r11042
Richard Stallman [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.
From-SVN: r11041
Doug Evans [Wed, 17 Jan 1996 22:38:27 +0000 (22:38 +0000)]
{t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST so that cross compilers targeted at these systems will...
* sparc/{t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST
so that cross compilers targeted at these systems will build.
From-SVN: r11040
Mike Stump [Wed, 17 Jan 1996 18:57:55 +0000 (18:57 +0000)]
78th Cygnus<->FSF merge
From-SVN: r11039
Doug Evans [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.
* 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.
From-SVN: r11038
Richard Kenner [Wed, 17 Jan 1996 12:47:23 +0000 (07:47 -0500)]
(HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Put back.
(pcfinclude): Use HOST_WIDE_INT for casting pointer to integer.
From-SVN: r11037
Richard Kenner [Wed, 17 Jan 1996 12:28:48 +0000 (07:28 -0500)]
Update comments.
From-SVN: r11036
Jeff Law [Wed, 17 Jan 1996 10:26:27 +0000 (03:26 -0700)]
* va-pa.h (__gnuc_va_list): Use a "void *".
From-SVN: r11035
Per Bothner [Tue, 16 Jan 1996 23:46:59 +0000 (15:46 -0800)]
cppexp.c (cpp_lex): Do cpp_pop_buffer after CPP_POP so retried cpp_skip_hspace will actually work.
* 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.
From-SVN: r11034
Mike Stump [Tue, 16 Jan 1996 22:40:15 +0000 (22:40 +0000)]
expr.c (expand_expr, [...]): Make sure cleanups live on the function_obstack as they are used by the...
* 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
From-SVN: r11033
Jim Wilson [Tue, 16 Jan 1996 18:56:29 +0000 (10:56 -0800)]
(new_include_prefix): Ignore ENOTDIR error from stat.
From-SVN: r11032
Doug Evans [Tue, 16 Jan 1996 18:51:39 +0000 (18:51 +0000)]
t-sol2 (crt[1in].o): Add missing -c.
* i386/t-sol2 (crt[1in].o): Add missing -c.
* sparc/t-sol2 (crt[1in].o,gcrt1.o): Likewise.
Source files are assembler.
From-SVN: r11031
Doug Evans [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.
From-SVN: r11030
Ian Lance Taylor [Tue, 16 Jan 1996 16:51:49 +0000 (16:51 +0000)]
Use dbxcoff.h
From-SVN: r11029
Ian Lance Taylor [Tue, 16 Jan 1996 16:49:43 +0000 (16:49 +0000)]
Update copyright
From-SVN: r11028
Ian Lance Taylor [Tue, 16 Jan 1996 16:44:22 +0000 (16:44 +0000)]
Use dbxcoff.h
From-SVN: r11027
Ian Lance Taylor [Tue, 16 Jan 1996 16:39:57 +0000 (16:39 +0000)]
Initial revision
From-SVN: r11026
Richard Kenner [Tue, 16 Jan 1996 14:42:55 +0000 (09:42 -0500)]
(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.
From-SVN: r11025
Richard Kenner [Tue, 16 Jan 1996 14:42:30 +0000 (09:42 -0500)]
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.
From-SVN: r11024