Nick Clifton
01898d58f0
toplev.c (rest_of_compilation): Replace references to stack_reg_dump_file and dbr_sched_dump_file with...
...
* toplev.c (rest_of_compilation): Replace references to
stack_reg_dump_file and dbr_sched_dump_file with references to
rtl_dump_file.
From-SVN: r17507
1998-01-27 03:02:22 -07:00
H.J. Lu
4b52c11409
configure.in (topsrcdir): New.
...
* configure.in (topsrcdir): New.
(CHECK_SUBDIRS, configdirs): Check ${topsrcdir}/gcc instead.
(config-ml.in): Use ${topsrcdir}/config-ml.in.
* tests/configure.in (topsrcdir): New.
(CHECK): Check ${topsrcdir}/gcc instead.
From-SVN: r17506
1998-01-27 02:34:31 -07:00
H.J. Lu
3fdcc721ff
configure.in (topsrcdir): New.
...
* configure.in (topsrcdir): New.
(configdirs): Check ${topsrcdir}/gcc instead.
(config-ml.in): Use ${topsrcdir}/config-ml.in.
* tests/configure.in (topsrcdir): New.
(check): Check ${topsrcdir}/gcc instead.
Fixes multilib problems when srcdir == objdir.
From-SVN: r17505
1998-01-27 02:28:32 -07:00
Kamil Iskra
7b6ffd1189
* tlink.c (scan_linker_output): Call fclose() for opened files.
...
From-SVN: r17504
1998-01-27 02:23:08 -07:00
Richard Henderson
6059379729
alpha.c (output_epilog [!VMS]): Don't tag global functions if compiling with -fpic -- we want to be able to...
...
* alpha.c (output_epilog [!VMS]): Don't tag global functions if
compiling with -fpic -- we want to be able to override symbols
properly.
(alpha_expand_block_move): Fix thinko in last change.
* alpha.h (ASM_OUTPUT_MI_THUNK): New define.
* config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
* config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
From-SVN: r17503
1998-01-26 21:11:41 -08:00
Richard Henderson
5e4aab9798
* alpha.md (abssf, absdf): Revert last change.
...
From-SVN: r17502
1998-01-26 19:23:31 -08:00
Jason Merrill
2b44e25acd
new
...
From-SVN: r17501
1998-01-26 21:58:51 -05:00
Jason Merrill
343c89cd95
pt.c (type_unification_real): Just accept function parms that don't use any template parms.
...
* pt.c (type_unification_real): Just accept function parms that
don't use any template parms.
From-SVN: r17500
1998-01-26 21:30:38 -05:00
John Carr
69145bccaa
dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
...
* dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
* mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
From-SVN: r17499
1998-01-26 16:26:51 -07:00
Jeffrey A Law
4926b75a9f
emit-rtl.c (gen_lowpart_common): Handle more case where converting a CONST_INT into SFmode.
...
* emit-rtl.c (gen_lowpart_common): Handle more case where converting
a CONST_INT into SFmode.
From-SVN: r17498
1998-01-26 16:05:08 -07:00
Anthony Green
c6aded7c2b
flags.h: New flag (optimize_size).
...
* flags.h: New flag (optimize_size).
* toplev.c (main): Parse -Os option and set optimize_space
accordingly.
* gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
__OPTIMIZE_SIZE__ when compiling with -Os.
* config/dsp16xx/dsp16xx.h, config/i386/i386.h,
config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
to macro.
* config/i386/i386.c (optimization_options): Accept new SIZE argument.
From-SVN: r17497
1998-01-26 16:00:04 -07:00
Manfred Hollstein
3698f44e0e
libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl stuff only if MCT_TEXT is #define'd.
...
* libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
stuff only if MCT_TEXT is #define'd.
From-SVN: r17496
1998-01-26 15:54:52 -07:00
Markus F.X.J. Oberhumer
ac8a456ac7
configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32 configurations.
...
* configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
configurations.
From-SVN: r17495
1998-01-26 15:51:28 -07:00
Nick Clifton
032713aa55
toplev.c: Add -dM command line option to dump RTL after the machine dependent...
...
* toplev.c: Add -dM command line option to dump RTL after the
machine dependent reorganisation pass, if there is one.
Reorganise RTL dump code, so that only one file handle is
needed.
From-SVN: r17494
1998-01-26 15:48:32 -07:00
Benjamin Kosnik
ec2be682fb
except.c (check_exception_handler_labels): Disable warning when flag_syntax_only.
...
* except.c (check_exception_handler_labels): Disable warning when
flag_syntax_only.
From-SVN: r17493
1998-01-26 15:43:57 -07:00
Jim Wilson
e232b7b340
Fix C++/-fpic core dump from Brendan, side effect of Kenner's Dec 24 change.
...
* sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
From-SVN: r17491
1998-01-26 10:21:26 -08:00
J"orn Rennecke
2a851b5ccf
Patch from Joern to fix dwarf1 bug: emit debug info for types defined in
...
parameter lists.
* c-decl.c (grokdeclarator): Get parameter tags from
last_function_parm_tags.
* dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
traversing the parameter types.
(output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
From-SVN: r17490
1998-01-26 10:13:41 -08:00
Jeff Law
ac2f83cb38
Tweak.
...
From-SVN: r17489
1998-01-26 09:15:46 -07:00
Jeff Law
0cbef98f40
Remove Gavin for now.
...
From-SVN: r17488
1998-01-26 01:38:23 -07:00
Jeff Law
04afd9d6b7
Tweaks from Andreas.
...
From-SVN: r17487
1998-01-26 01:31:47 -07:00
Jeffrey A Law
808fbfacde
h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and the default case.
...
* h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
the default case.
(get_shift_alg): Fix typo.
From-SVN: r17486
1998-01-25 17:44:02 -07:00
Richard Henderson
1538907587
* alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
...
From-SVN: r17485
1998-01-25 14:22:29 -08:00
Richard Henderson
83c8ddef65
* toplev.c (get_run_time): Make sure each case gets its variables.
...
From-SVN: r17484
1998-01-25 14:14:54 -08:00
Richard Henderson
db81d74a81
configure.in (build_xm_file): Add auto-config.h if host=build.
...
* configure.in (build_xm_file): Add auto-config.h if host=build.
(host_xm_file_list): Don't add $(srcdir) to auto-config.h.
(build_xm_file_list): Likewise.
* configure: Rebuild.
From-SVN: r17483
1998-01-25 14:11:32 -08:00
Alasdair Baird
f745c7a273
recog.c (validate_replace_rtx_1): Only perform substitutions of arguments to commutative and comparison operators...
...
* recog.c (validate_replace_rtx_1): Only perform substitutions
of arguments to commutative and comparison operators once.
From-SVN: r17482
1998-01-25 14:00:42 -07:00
Jeff Law
6a093053a3
Add some stuff
...
From-SVN: r17481
1998-01-25 13:19:15 -07:00
Jeff Law
029bff0a09
Tweak.
...
From-SVN: r17479
1998-01-25 10:13:31 -07:00
Jason Merrill
5f79cea1ef
bastring.h (unique): We only need length bytes.
...
* std/bastring.h (unique): We only need length bytes.
(c_str): Avoid writing over random memory.
#include <std/bastring.cc>.
Lose _G_ALLOC_CONTROL.
* std/bastring.cc: Likewise.
(nilRep): Add initializer for selfish.
* sinst.cc: Just #include <string>.
Fix a couple of bugs, linux undefined symbol problem.
From-SVN: r17478
1998-01-25 11:45:02 -05:00
Jason Merrill
be34355626
decl.c (cp_finish_decl): When bailing on a comdat variable, also unset DECL_NOT_REALLY_EXTERN.
...
* decl.c (cp_finish_decl): When bailing on a comdat variable, also
unset DECL_NOT_REALLY_EXTERN.
From-SVN: r17477
1998-01-25 08:33:39 -05:00
Jason Merrill
d3959d607e
* parse.y (typename_sub*): Fix std::.
...
From-SVN: r17476
1998-01-25 07:54:44 -05:00
Kaveh R. Ghazi
91a5195111
sparc.c (output_cbranch): Add default case in enumeration switch.
...
* config/sparc/sparc.c (output_cbranch): Add default case in
enumeration switch.
* reorg.c (insn_sets_resource_p): Correct typo in prototype.
(emit_delay_sequence): Eliminate unused parameter, all callers
changed.
(fill_simple_delay_slots): Likewise.
(fill_slots_from_thread): Likewise.
(fill_eager_delay_slots): Likewise.
(mark_referenced_resources): Add default case in enumeration switch.
(mark_set_resources): Likewise.
(rare_destination): Likewise.
(mostly_true_jump): Likewise.
(find_dead_or_set_registers): Likewise.
(redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
(update_reg_unused_notes): Remove unused variable `p'.
(mark_target_live_regs): Remove unused variables `next' and
`jump_count'.
(fill_simple_delay_slots): Remove unused variable `j'.
(fill_slots_from_thread): Add parentheses around assignment used
as truth value.
(dbr_schedule): Likewise.
From-SVN: r17475
1998-01-25 04:34:22 -07:00
Kaveh R. Ghazi
eb1d4d913f
Make-lang.in (f77.stage1): Depend on stage1-start so parallel make works better.
...
* Make-lang.in (f77.stage1): Depend on stage1-start so parallel
make works better.
* (f77.stage2): Likewise for stage2-start.
* (f77.stage3): Likewise for stage3-start.
* (f77.stage4): Likewise for stage4-start.
From-SVN: r17474
1998-01-25 04:30:32 -07:00
Kaveh R. Ghazi
963f4057da
Make-lang.in (objc.stage1): Depend on stage1-start.
...
* objc/Make-lang.in (objc.stage1): Depend on stage1-start.
(objc.stage2, objc.stage3, objc.stage4): Likewise.
From-SVN: r17473
1998-01-25 04:29:50 -07:00
Michael Tiemann
e82ad93d64
cse.c (simplify_ternary_operation): Don't try to simplify IF_THEN_ELSE expressions (created by combine) that don't...
...
* cse.c (simplify_ternary_operation): Don't try to simplify
IF_THEN_ELSE expressions (created by combine) that don't use
relational operators.
From-SVN: r17472
1998-01-25 04:12:26 -07:00
Jeff Law
f69eecfbd5
Fix mismatched parens.
...
From-SVN: r17471
1998-01-25 02:00:18 -07:00
Jason Merrill
67c2a92854
error.c (dump_decl): Fix type default template args.
...
* error.c (dump_decl): Fix type default template args.
(dump_type): Hand TEMPLATE_DECL off to dump_decl.
From-SVN: r17470
1998-01-24 07:26:46 -05:00
Jason Merrill
b7a290122f
tweak
...
From-SVN: r17469
1998-01-23 22:04:11 -05:00
Jeff Law
19428ce400
New file. Empty until we start adding stuff to it.
...
From-SVN: r17468
1998-01-23 18:14:26 -07:00
Manfred Hollstein
efd4c0ba20
configure (package_makefile_frag): Move inserting the ${package_makefile_frag} to where it should be according to...
...
* configure (package_makefile_frag): Move inserting the
${package_makefile_frag} to where it should be according
to the comment.
From-SVN: r17467
1998-01-23 17:58:07 -07:00
Jeff Law
3a0120cfe2
Tweak SCO5 stuff.
...
From-SVN: r17466
1998-01-23 17:31:38 -07:00
Jeffrey A Law
ed1ecb1930
cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE simplifications.
...
* cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
simplifications.
From-SVN: r17465
1998-01-23 16:06:03 -07:00
Jeffrey A Law
b4b04bf97f
crtstuff.c (init_dummy): Keep the epilogue in the init section for non-ELF systems.
...
* crtstuff.c (init_dummy): Keep the epilogue in the init
section for non-ELF systems.
From-SVN: r17464
1998-01-23 14:47:43 -07:00
J"orn Rennecke
deeef0aca0
* sh.md (movqi_i+1): New peephole.
...
From-SVN: r17463
1998-01-23 14:27:50 -07:00
Jeff Law
2645224970
Finish .cexp -> .x conversion.
...
From-SVN: r17462
1998-01-23 14:13:16 -07:00
Mumit Khan
ab535daca9
lex.c (DIR_SEPARATOR): Define to be '/' if not already defined.
...
* lex.c (DIR_SEPARATOR): Define to be '/' if not already defined.
(file_name_nondirectory): Use.
From-SVN: r17461
1998-01-23 13:35:06 -05:00
Jason Merrill
d1fefbce9d
revert last change
...
From-SVN: r17460
1998-01-23 13:33:28 -05:00
Jim Wilson
03566575a9
Remove rest of bytecode stuff, except for the VMS *.com files.
...
* Makefile.in: Remove remaining bytecode stuff.
* emit-rtl.c, expr.c: Likewise.
From-SVN: r17459
1998-01-23 07:43:01 -08:00
Nick Clifton
eb96c1209c
* toplev.c (lang_options): Add unknown-pragma options.
...
From-SVN: r17458
1998-01-23 04:39:49 -07:00
Per Bothner
f03204e956
dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomplete) handling for Chill arrays.
...
�
* dwarfout.c (byte_size_attribute): Simplify and fix - don't need
special (and incomplete) handling for Chill arrays.
From-SVN: r17457
1998-01-22 15:48:23 -08:00
Per Bothner
fa4056256a
dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomplete) handling for Chill arrays.
...
8
* dwarfout.c (byte_size_attribute): Simplify and fix - don't need
special (and incomplete) handling for Chill arrays.
From-SVN: r17456
1998-01-22 15:48:22 -08:00