Commit Graph

13994 Commits

Author SHA1 Message Date
Per Bothner
40365c9252 * c-lang.c (lang_init): Restore, but add #if !USE_CPPLIB.
From-SVN: r14603
1997-08-01 14:18:54 -07:00
Per Bothner
736c628948 * c-lex.c (lang_init): Remove (recently moved here).
From-SVN: r14602
1997-08-01 14:18:54 -07:00
Per Bothner
dbbade7444 * objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.
From-SVN: r14601
1997-08-01 14:17:44 -07:00
Jason Merrill
ec045ab46e x
From-SVN: r14600
1997-08-01 18:48:18 +00:00
Richard Stallman
58a1b05a2f Translate -svr4 to -sysv4 and -unixware to -sysv4.2uw.
From-SVN: r14578
1997-08-01 18:09:30 +00:00
Jeff Law
29763968ff * pa.c (pa_reorg): Explode ADDR_DIFF_VEC insns too.
From-SVN: r14577
1997-08-01 11:23:22 -06:00
Mike Stump
8dff10278c 92th Cygnus<->FSF quick merge
From-SVN: r14576
1997-08-01 17:21:46 +00:00
Paul Eggert
5e5b9f6950 Initial revision
From-SVN: r14572
1997-08-01 13:06:04 +00:00
Ian Lance Taylor
e3367a77fd Don't compile getpagesize if __CYGWIN32__
From-SVN: r14571
1997-07-31 23:39:26 +00:00
Stan Cox
1638ccd305 (SWITCHES_NEED_SPACES) Define.
From-SVN: r14570
1997-07-31 20:37:46 +00:00
Stan Cox
f25aca7a57 (*trunc*): Use scratch memory for output_fix_trunc.
From-SVN: r14569
1997-07-31 20:37:46 +00:00
Stan Cox
c27d9c3bce (output_to_reg, output_fix_trunc): Use scratch memory
From-SVN: r14568
1997-07-31 20:37:46 +00:00
Stan Cox
4bc679adb2 (MAX_FIXED_MODE_SIZE): Define.
From-SVN: r14567
1997-07-31 20:37:46 +00:00
Jason Merrill
86e6f22fcc 92th Cygnus<->FSF quick merge
From-SVN: r14566
1997-07-30 23:01:56 +00:00
Per Bothner
a29f4129cc cplus-dem.c: Various changes to produce Java output when passed DMGL_JAVA.
* cplus-dem.c:  Various changes to produce Java output when passed
DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
(main):  Support --java and -j flags to set DMGL_JAVA.

From-SVN: r14565
1997-07-30 12:05:31 -07:00
Per Bothner
72fa4f0ad2 * demangle.h (DMGL_JAVA): New option to request Java demangling.
From-SVN: r14564
1997-07-30 12:05:31 -07:00
Richard Earnshaw
38fc909b9f (CPP_SPEC): add %(subtarget_cpp_spec).
From-SVN: r14563
1997-07-30 12:54:05 +00:00
Richard Earnshaw
9ce17ab2cc (MULTILIB_OPTIONS): don't use deprecated -mN
options; use -mapcs-NN instead.

From-SVN: r14562
1997-07-30 12:53:11 +00:00
Richard Earnshaw
61330a1417 (TARGET_CPU_DEFAULT): define.
include aout.h rather than arm.h directly.
(ASM_SPEC): remove.
(CPP_SPEC): replace with...
(SUBTARGET_CPP_SPEC): ... this.

From-SVN: r14561
1997-07-30 12:52:22 +00:00
Richard Earnshaw
32bf7057dd Don't define SET_ASM_OP for RISCiX
From-SVN: r14560
1997-07-30 12:51:32 +00:00
Richard Earnshaw
ce29b9d0db define SET_ASM_OP by default (for GAS).
From-SVN: r14559
1997-07-30 12:50:57 +00:00
Richard Earnshaw
f5967c596a replace arm-*-* with arm-*-aout.
From-SVN: r14558
1997-07-30 12:50:14 +00:00
Per Bothner
e3d1fd3263 Patches to use cpplib with cc1 #if USE_CPPLIB.
From-SVN: r14557
1997-07-29 15:40:30 -07:00
Per Bothner
b429435109 configure.in (--enable-c-cpplib): New option.
* configure.in (--enable-c-cpplib):  New option.
(extra_c_flags, extra_c_objs):  New variables.

From-SVN: r14556
1997-07-29 15:07:34 -07:00
Per Bothner
e8066a5d4a Makefile.in (EXTRA_C_OBJS): New variable.
* Makefile.in (EXTRA_C_OBJS):  New variable.
(INTERNAL_CFLAGS):  Add @extra_c_flags@.
C_OBJS, OBJC_OBS:  Add $(EXTRA_C_OBJS).

From-SVN: r14555
1997-07-29 15:07:34 -07:00
Per Bothner
0280cf849f Add hooks for using autconf-style Makefile.in in language subdirs.
* configure.in (all_outputs, oldstyle_subdirs):  New variables.
Pass all_outputs to AC_OUTPUT.

From-SVN: r14554
1997-07-29 15:03:06 -07:00
Per Bothner
788af388c9 Add hooks for using autconf-style Makefile.in in language subdirs.
* configure.lang:  Only iterate over oldstyle_subdirs.

From-SVN: r14553
1997-07-29 15:03:06 -07:00
Jason Merrill
5f52dcfe1e x
From-SVN: r14552
1997-07-29 05:38:55 +00:00
Ulrich Drepper
5db9f87736 update from main archive 970728
From-SVN: r14547
1997-07-28 23:37:45 +00:00
Brendan Kehoe
60bf20045f integrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.
* integrate.c (expand_inline_function): Use xmalloc instead of
	alloca for the LABEL_MAP.
	(save_for_inline_copying): Likewise.

From-SVN: r14546
1997-07-28 19:08:39 -04:00
Brendan Kehoe
3bb1329eda integrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.
* integrate.c (expand_inline_function): Use xmalloc instead of
	alloca for the LABEL_MAP.

From-SVN: r14545
1997-07-28 15:49:08 -04:00
Jason Merrill
2f8844a8b6 x
From-SVN: r14544
1997-07-28 19:40:28 +00:00
Jason Merrill
6a7a9f0156 x
From-SVN: r14543
1997-07-28 18:30:18 +00:00
Jason Merrill
429baef53a x
From-SVN: r14542
1997-07-28 17:42:09 +00:00
Richard Kenner
f0eebf28c4 (fold_range_test, fold): Avoid making SAVE_EXPR if at top level.
From-SVN: r14541
1997-07-27 19:35:53 -04:00
Richard Kenner
d0977240cb (expand_expr, case LABEL_DECL): Treat inline_function_decl like current_function_decl.
(expand_expr, case LABEL_DECL): Treat inline_function_decl like
current_function_decl.
(expand_expr, case SAVE_EXPR): Handle top-level SVAE_EXPR by
moving into current function; abort if in incorrect context.

From-SVN: r14540
1997-07-27 19:35:23 -04:00
Richard Kenner
4ac74fb88f (put_var_into_stack, trampoline_address): Treat inline_function_decl
like current_function_decl.

From-SVN: r14539
1997-07-27 19:34:28 -04:00
Richard Kenner
b2943cea76 (ASM_OUTPUT_SOURCE_FILENAME): Delete default value.
From-SVN: r14538
1997-07-27 13:51:46 -04:00
Richard Kenner
0ba5929c2c (TARGET_SWITCHES): Add -mno-byte.
From-SVN: r14537
1997-07-27 13:49:01 -04:00
Richard Kenner
08293addce (get_inner_unaligned_p): Deleted.
(expand_assignment): Remove special-case of constant array.
(expand_expr, case ARRAY_REF): Likewise, and clean up remaining code.

From-SVN: r14536
1997-07-27 12:18:46 -04:00
Richard Kenner
95a086b10a (probe_stack_range): Do probing with loop if more than a small number.
From-SVN: r14535
1997-07-27 12:09:00 -04:00
Karl Berry
605e6c17a1 (\email): Let to \uref instead of \code, as a second optional argument
makes sense for this, too.

From-SVN: r14534
1997-07-26 19:12:35 +00:00
Per Bothner
457bc04adf Recognize SunOS 3.x.
From-SVN: r14531
1997-07-26 12:01:01 -07:00
Doug Evans
d1054723e0 configure.in: Finish fixing calculation if default thread support is enabled.
* configure.in: Finish fixing calculation if default thread
support is enabled.

From-SVN: r14530
1997-07-25 19:42:24 +00:00
Doug Evans
88393a073b Makefile.in (native): Depend on config.h.
* Makefile.in (native): Depend on config.h.
	(gcc.o): Depend on Makefile, not config.status.

From-SVN: r14529
1997-07-25 19:26:32 +00:00
Jeff Law
3e056efc31 pa.c (pa_reorg): If TARGET_BIG_SWITCH, then do not explode ADDR_VEC insns.
* pa.c (pa_reorg): If TARGET_BIG_SWITCH, then do not explode
        ADDR_VEC insns.  Slightly rework code which explodes ADDR_VEC
        insns.
        * pa.h (TARGET_BIG_SWITCH): Define.
        (TARGET_SWITCHES): Add "big-switch" and "no-big-switch".
        (CASE_VECTOR_MODE): Use TI or DI depending on TARGET_BIG_SWITCH.
        (CASE_DROPS_THROUGH): Remove definition.
        (ASM_OUTPUT_ADDR_VEC_ELT): Rewrite to handle TARGET_BIG_SWITCH.
        (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
        * pa.md (casesi): Rework to avoid some potential long branch
        problems (also makes generated code faster!).  Handle
        TARGET_BIG_SWITCH.
        (casesi0): Corresponding changes.

From-SVN: r14528
1997-07-25 11:02:37 -06:00
Richard Kenner
b60334e840 (expand_expr, case MODIFY_EXPR): Don't preexpand calls if LHS is an
indirect via a constant pointer.

From-SVN: r14527
1997-07-25 08:36:42 -04:00
Richard Kenner
2d59d98e01 (expand_call): If -fstack-check and temp needed for arg is too large,
use alloca.

From-SVN: r14526
1997-07-25 08:36:27 -04:00
Richard Kenner
06f0e8f37c (bitmap_operation): Reset CURRENT on deferred deletion.
From-SVN: r14525
1997-07-24 21:49:10 -04:00
Brendan Kehoe
42976354a6 92th Cygnus<->FSF quick merge
From-SVN: r14524
1997-07-24 17:09:25 -04:00