samuel [Fri, 28 Apr 2000 06:18:14 +0000 (06:18 +0000)]
* Makefile.in (timevar.o): Depend on flags.h.
* timevar.c (unused_stack_instances): New variable.
(timevar_push): Take a timevar_stack_def from
unused_stack_instances if available.
(timevar_pop): Push the popped timevar_stack_def onto
unused_stack_instances.
(TIMEVAR_ENABLE): New macro.
(timevar_def): Make standalone a 1-bit field. Add field used.
(get_time): Rename parameter to now. Return after clearing it if
not TIMEVAR_ENABLE.
(init_timevar): Do nothing if not TIMEVAR_ENABLE.
(timevar_pop): Likewise.
(timevar_stop): Likewise.
(timevar_push): Likewise. Mark the timing variable as used.
(timevar_start): Likewise.
(timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
timevars that were never used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33504
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 28 Apr 2000 03:00:58 +0000 (03:00 +0000)]
2000-04-26 Nathan C. Myers <ncm@cantrip.org>
* bits/basic_string.h: include <bits/atomicity.h> instead
of <atomicity.h>, and use the uglified names.
* config/cpu/*/atomicity.h: replace with bits/atomicity.h;
uglify names, eliminate dependence on <inttypes.h>.
* src/Makefile.in, src/Makefile.am: refer to correct place
for atomicity.h header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33503
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 28 Apr 2000 02:53:12 +0000 (02:53 +0000)]
2000-04-27 scott snyder <snyder@fnal.gov>
* src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
classes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33502
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 28 Apr 2000 02:50:55 +0000 (02:50 +0000)]
2000-04-26 Nathan C. Myers <ncm@cantrip.org>
* bits/basic_string.h: include <bits/atomicity.h> instead
of <atomicity.h>, and use the uglified names.
* config/cpu/*/atomicity.h: replace with bits/atomicity.h;
uglify names, eliminate dependence on <inttypes.h>.
* src/Makefile.in, src/Makefile.am: refer to correct place
for atomicity.h header.
2000-04-25 Steven King <sxking@uswest.net>
* bits/basic_string.h: Fix syntax error.
2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
USE_LONG_DOUBLE.
(GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
* math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
versions to this as copysignl is needed anyway for these targets.
* math/Makefile.in: Regenerate.
* bits/streambuf.tcc (streambuf::xsgetn): Tweak.
* bits/fstream.tcc (underflow): Cast to libio types.
* bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
* config/c_io_libio.cc (seekoff): And here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33501
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 28 Apr 2000 02:04:00 +0000 (02:04 +0000)]
* c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
always TREE_READONLY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33500
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Fri, 28 Apr 2000 01:54:53 +0000 (01:54 +0000)]
* i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
for call instruction with mode QImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33499
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 28 Apr 2000 01:42:43 +0000 (01:42 +0000)]
* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
(libiberty_AC_FUNC_STRNCMP): Invoke.
* strncmp.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33498
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 28 Apr 2000 01:23:47 +0000 (01:23 +0000)]
* gcc_update: Refer to GCC and gcc_update instead of egcs and
egcs_update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33497
138bc75d-0d04-0410-961f-
82ee72b054a4
samuel [Fri, 28 Apr 2000 00:59:40 +0000 (00:59 +0000)]
hangeLog:
* Makefile.in (OBJS): Add timevar.o.
(toplev.o): Depend on timevar.h.
(ggc-simple.o): Likewise.
(ggc-page.o): Likewise.
(timevar.o): New rule.
(timevar.h): New rule.
* timevar.h: New file.
* timevar.c: Likewise.
* timevar.def: Likewise.
* toplev.h (gc_time, parse_time, varconst_time): Remove.
* toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
throughout.
(TIMEVAR): Remove macro.
(gc_time, parse_time, varconst_time, integration_time, jump_time,
cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
flow_time, combine_time, regmove_time, sched_time,
local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
sched2_time, dbr_sched_time, reorder_blocks_time,
rename_registers_time, shorten_branch_time, stack_reg_time,
to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
all_time): Remove.
(compile_file): Don't initialize time variables. Call
init_timevar and start TV_TOTAL timer. Call timevar_print instead
of many calls to print_time.
(rest_of_compilation): Add timing for reload_cse_regs.
(get_run_time): Removed to timevar.c.
(print_time): Likewise.
(get_run_time): Implement using TV_TOTAL time variable.
(print_time): Get total run time from get_run_time.
* ggc-page.c (ggc_collect): Push and pop TV_GC instead of
computing elapsed time explicitly.
* ggc-simple.c (ggc_collect): Likewise.
(gc_time): Remove declaration.
cp/ChangeLog:
* lex.c (my_get_run_time): Remove.
(init_filename_times): Use get_run_time instead of my_get_run_time.
(check_newline): Likewise.
(dump_time_statistics): Likewise.
* decl2.c (finish_file): Push and pop timevar TV_VARCONST instead
of computing elapsed time explicitly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33496
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 28 Apr 2000 00:21:06 +0000 (00:21 +0000)]
Fix for PR gcj/2:
* expr.c (expand_invoke): Generate check to see if object pointer
is null in nonvirtual invocation case.
* java-tree.h (soft_nullpointer_node): Declare.
* decl.c (soft_nullpointer_node): New global.
(init_decl_processing): Initialize soft_nullpointer_node.
* parse.y (invocation_mode): Return INVOKE_NONVIRTUAL for `final'
or `private' methods.
(patch_invoke): Handle INVOKE_NONVIRTUAL case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33495
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 28 Apr 2000 00:15:34 +0000 (00:15 +0000)]
* index-prop: Fix occasional problem when using cvs diff -p
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33494
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 27 Apr 2000 23:25:18 +0000 (23:25 +0000)]
Wed Apr 26 14:29:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* decl.c (complete_start_java_method): Don't call _Jv_InitClass
from <clinit>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33493
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 27 Apr 2000 23:13:31 +0000 (23:13 +0000)]
Runtime support for PR gcj/2:
* prims.cc (_Jv_ThrowNullPointerException): New function.
* include/jvm.h (_Jv_ThrowNullPointerException): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33492
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 27 Apr 2000 16:44:23 +0000 (16:44 +0000)]
* calls.c (combine_pending_stack_adjustment_and_call): New function.
(expand_call): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33491
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 16:28:56 +0000 (16:28 +0000)]
Jan Hubicka <jh@suse.cz>
* flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33490
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 27 Apr 2000 15:49:20 +0000 (15:49 +0000)]
* config/mn10300/mn10300.md (movhi): Simplify. Prefer data
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33489
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 27 Apr 2000 15:34:16 +0000 (15:34 +0000)]
* function.c (epilogue_done): Pass whole insn to record_insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33488
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 27 Apr 2000 14:59:55 +0000 (14:59 +0000)]
* hashtab.c (htab_expand): Add prototype.
(find_empty_slot_for_expand): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33487
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 27 Apr 2000 14:56:47 +0000 (14:56 +0000)]
* cse.c (CSE_ADDRESS_COST): Remove.
(find_best_addr): Add new parameter "MODE", use address_cost instead
of CSE_ADDRESS_COST
(address_cost): New.
(fold_rtx): Update call of find_best_addr.
* rtl.h (address_cost): Declare.
* loop.c (general_induction_var): Add new parameter "MODE", use
address_cost instead of ADDRESS_COST
(init_loop): Use address_cost instead of ADDRESS_COST.
(check_insn_for_givs): Update call of general_induction_var.
(find_mem_givs): Likewise.
(consec_sets_giv): Likewise.
* config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
* i386.c (ix86_address_cost): New.
* i386-protos.h (ix86_address_cost): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33486
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 27 Apr 2000 14:46:55 +0000 (14:46 +0000)]
* config/mn10300/mn10300.md (movqi): Simplify. Prefer data
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33485
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 27 Apr 2000 14:13:48 +0000 (14:13 +0000)]
* expr.c (store_expr): Use clear_storage instead of direct memset
libcall.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33484
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 27 Apr 2000 14:05:09 +0000 (14:05 +0000)]
* compile/
20000427-1.c: New test for loop hoisting code
and hard registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33483
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 27 Apr 2000 13:39:09 +0000 (13:39 +0000)]
* config/mn10300/mn10300.c (mn10300_address_cost): Test
ASHIFT, AND and LABEL_REF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33482
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 27 Apr 2000 13:14:10 +0000 (13:14 +0000)]
* invoke.texi (-foptimize-sibling-calls): Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33481
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 27 Apr 2000 12:57:35 +0000 (12:57 +0000)]
* loop.c (load_mems) Don't use hard registers for the hoisting.
* unroll.c (unroll_loop): Avoid overflow in the n_iterations
calculation; rename const_equiv array in the preconditioning code
from loop_unroll to loop_unroll_precondition
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33480
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 27 Apr 2000 11:47:13 +0000 (11:47 +0000)]
2000-04-27 Bryce McKinlay <bryce@albatross.co.nz>
* prims.cc (_Jv_NewObjectArray): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33479
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 11:17:04 +0000 (11:17 +0000)]
* flow.c (struct propagate_block_info): Remove new_dead, new_live;
add new_set.
(propagate_one_insn): Clear it. Don't update reg_live here.
(init_propagate_block_info): Update for pbi member changes.
(free_propagate_block_info): Likewise.
(mark_set_1): Know that zero_extract, sign_extract, and
strict_low_part don't kill their argument. Alter hard subregs.
Update new_set for non-CLOBBER sets. Update reg_live.
(find_auto_inc): Update reg_live, not new_dead.
(mark_used_reg): Update reg_live, not new_live. Examine new_set
to determine if the reg in question was set this insn. Only update
reg info with PROP_REG_INFO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33478
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 27 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33477
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 07:39:51 +0000 (07:39 +0000)]
* flow.c (calculate_global_regs_live): Force stack pointer
live at end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33476
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 07:38:40 +0000 (07:38 +0000)]
* flow.c (allocate_reg_life_data): Set max_regno here ...
(life_analysis): ... not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33475
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 07:20:29 +0000 (07:20 +0000)]
* jump.c (redirect_exp_1): Rework from old redirect_exp. Never
commit change group changes.
(invert_exp_1): Similarly.
(redirect_exp, invert_exp): Use them.
(redirect_jump_1): New.
(invert_jump_1): New.
(jump_optimize_1): Remove code subsumed by condexec.c.
* rtl.h (invert_jump_1, redirect_jump_1): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33474
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 07:18:08 +0000 (07:18 +0000)]
* rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
* genconfig.c (main): Set all HAVE_foo to 1.
* graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33473
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 07:14:46 +0000 (07:14 +0000)]
Fix commentary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33472
138bc75d-0d04-0410-961f-
82ee72b054a4
samuel [Thu, 27 Apr 2000 07:10:55 +0000 (07:10 +0000)]
* invoke.texi: Document -fssa flag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33471
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 07:07:34 +0000 (07:07 +0000)]
* flow.c (count_reg_sets_1): Remove.
(count_reg_sets, count_reg_references): Remove.
(recompute_reg_usage): Implement with update_life_info.
Reallocate life data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33470
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 07:01:04 +0000 (07:01 +0000)]
* flow.c (update_life_info): Consider blocks null to mean the
universal set.
(calculate_global_regs_live): Likewise.
(life_analysis): Do that instead of collecting all_blocks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33469
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 06:47:16 +0000 (06:47 +0000)]
* flow.c (tidy_fallthru_edge): Don't delete the jump when it's
a still-valid conditional jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33468
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 05:58:05 +0000 (05:58 +0000)]
* jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
* bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
* flow.c (calculate_loop_depth): Remove.
* output.h (calculate_loop_depth): Don't declare.
* toplev.c (rest_of_compilation): Expand calculate_loop_depth
inline; run estimate_probability at the same time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33464
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 27 Apr 2000 05:49:33 +0000 (05:49 +0000)]
2000-04-26 Neil Booth <NeilB@earthling.net>
* cpplib.h: "~=" is not a single pp-token.
* cpplex.c: Correct commentary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33463
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 05:42:25 +0000 (05:42 +0000)]
* flow.c (mark_set_1): New arguments code and flags; update all
callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
test in one place. Tidy flags tests. Don't bias REG_N_REFS by
loop_depth when optimizing for size. Do new_dead update after
emitting REG_UNUSED notes. Merge mark_set_reg code.
(mark_set_reg): Remove.
(propagate_one_insn): Use mark_set_1 for call-clobbered registers;
arrange to not emit REG_UNUSED notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33462
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 05:12:26 +0000 (05:12 +0000)]
* flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
* ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33461
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 05:03:35 +0000 (05:03 +0000)]
* flow.c (propagate_one_insn): Break out from propagate_block.
(init_propagate_block_info): Likewise.
(free_propagate_block_info): Likewise.
(propagate_block): Use them. Export.
* basic-block.h: Declare them all.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33460
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 04:42:09 +0000 (04:42 +0000)]
* basic-block.h (life_analysis): Declare here ...
* output.h: ... not here.
* flow.c (life_analysis): Remove nregs parameter; replace
remove_dead_code with flags. Remove ssa dead code check.
Only init alias analysis if we'll use it.
* reg-stack.c (reg_to_stack): Update life_analysis arguments.
* ssa.c (convert_to_ssa): Likewise.
(convert_from_ssa): Likewise.
* toplev.c (rest_of_compilation): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33459
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 27 Apr 2000 04:26:47 +0000 (04:26 +0000)]
* flow.c (flow_delete_block): Rename from delete_block. Export.
* basic-block.h (flow_delete_block): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33458
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Thu, 27 Apr 2000 04:26:08 +0000 (04:26 +0000)]
gcc.gnu.org/ml/gcc-patches/2000-04/msg01057.html
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33457
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 27 Apr 2000 00:58:50 +0000 (00:58 +0000)]
* cpplex.c (spell_other, spell_char): Remove.
(SPELL_CHAR): New.
(token_spelling, trigraph_map): Use unsigned chars.
(_cpp_lex_line): Tidy up the switch statement.
* cpplib.h: Implement spell_char with spell_string.
(C): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33454
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 27 Apr 2000 00:45:13 +0000 (00:45 +0000)]
Fixed ChangeLog merge snafu
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33453
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 27 Apr 2000 00:43:33 +0000 (00:43 +0000)]
<<<<<<< ChangeLog
2000-04-26 Jakub Jelinek <jakub@redhat.com>
* gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
(SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
- sparc glibc does not provide it.
(SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
Make STACKBOTTOM depend on the wordsize.
* os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
(struct frame): Declare on sparc*-linux*.
(GC_save_callers): Bias the frame pointers if needed (sparc64).
* mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
Implement on sparc64.
(GC_clear_stack_inner): Implement on sparc64.
* gc_priv.h (GC_test_and_set): Implement for sparc.
* linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33452
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 27 Apr 2000 00:18:41 +0000 (00:18 +0000)]
* zextract.c (find_zip_file_start): New function.
(read_zip_archive): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33451
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 27 Apr 2000 00:11:52 +0000 (00:11 +0000)]
* execute/loop-5.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33450
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Apr 2000 19:07:28 +0000 (19:07 +0000)]
* pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
* pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33449
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 26 Apr 2000 18:31:55 +0000 (18:31 +0000)]
* dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
dwarf2out_return_save, dwarf2out_return_reg,
dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
gen_compile_unit_die, dwarf2out_init): Constify a char*.
* dwarf2out.h (dwarf2out_init): Likewise.
* dwarfout.c (filename_entry, primary_filename, last_filename,
type_tag, output_compile_unit_die, dwarfout_init): Likewise.
* tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
dwarf2out_return_reg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33448
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 26 Apr 2000 17:29:05 +0000 (17:29 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Added -fasynchronous-exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33447
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 26 Apr 2000 15:43:50 +0000 (15:43 +0000)]
* cp-tree.h (TREE_READONLY_DECL_P): Use DECL_P.
* init.c (decl_constant_value): Check TREE_READONLY_DECL_P.
* call.c (convert_like_real): Don't test TREE_READONLY_DECL_P
before calling decl_constant_value.
* class.c (check_bitfield_decl): Likewise.
* cvt.c (ocp_convert): Likewise.
(convert): Likewise.
* decl.c (compute_array_index_type): Likewise.
(build_enumerator): Likewise.
* decl2.c (check_cp_case_value): Likewise.
* pt.c (convert_nontype_argument): Likewise.
(tsubst): Likewise.
* typeck.c (decay_conversion): Likewise.
(build_compound_expr): Likewise.
(build_reinterpret_cast): Likewise.
(build_c_cast): Likewise.
(convert_for_assignment): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33446
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 26 Apr 2000 14:21:36 +0000 (14:21 +0000)]
2000-04-26 Andreas Jaeger <aj@suse.de>
* extend.texi (Function Attributes): Fix description of pure
attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33445
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 26 Apr 2000 10:28:36 +0000 (10:28 +0000)]
* cpplex.c: fix typos in comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33444
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 26 Apr 2000 10:17:32 +0000 (10:17 +0000)]
* cpplex.c: add comment describing lexer algorithm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33443
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 26 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33442
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 26 Apr 2000 07:22:10 +0000 (07:22 +0000)]
* integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
before calling rest_of_compilation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33441
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 26 Apr 2000 07:18:26 +0000 (07:18 +0000)]
2000-04-26 Andreas Jaeger <aj@suse.de>
* config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33440
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 26 Apr 2000 02:51:12 +0000 (02:51 +0000)]
2000-04-24 Nathan Myers <ncm@cantrip.org>
* config/cpu: Atomicity cleanups.
* config/cpu/alpha/bits: New directory.
* config/cpu/arm/bits: New directory.
* config/cpu/generic/bits: New directory.
* config/cpu/i386/bits: New directory.
* config/cpu/powerpc/bits: New directory.
* config/cpu/sparc/sparc32/bits: New directory.
* config/cpu/sparc/sparc32/bits: New directory.
* config/cpu/*/bits: Move atomicity.h files to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33438
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 26 Apr 2000 01:10:35 +0000 (01:10 +0000)]
* cse.c (cse_insn): Emit barrier after unconditional jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33433
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 26 Apr 2000 00:43:09 +0000 (00:43 +0000)]
* calls.c (expand_call): Disable tail call generation once
rtx_equal_function_value_matters is false.
* reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
like EDGE_EH edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33431
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 26 Apr 2000 00:36:56 +0000 (00:36 +0000)]
* dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
* dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
* dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
is the primary DIE for a member function.
(gen_decl_die): Call set_decl_origin_self here.
* dwarfout.c (output_decl): And here.
* integrate.c (output_inline_function): Not here.
Don't clear DECL_INLINE until after calling rest_of_compilation.
(set_decl_origin_self): No longer static.
* tree.h: Add prototype.
* toplev.c (note_deferral_of_defined_inline_function): Only write
out abstract instance for actual inlines.
* cp/decl.c (finish_function): Don't play games with DECL_INLINE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33430
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 26 Apr 2000 00:09:52 +0000 (00:09 +0000)]
* config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
EXTENDED_REGS only if TARGET_AM33.
* config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
SP_REGS to register allocation and reloading unless absolutely
necessary.
(movsi3): Remove special-case of adding non-constants to SP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33429
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 26 Apr 2000 00:03:37 +0000 (00:03 +0000)]
* aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
INCLUDES to search and does not provide any of its own. Also it
now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
parameters. Also it does not call AC_DEFINE.
(gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
AC_DEFINE and provides for automatic entries for autoheader.
(gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
* configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
so we can pass -I flags and include gansidecl.h/system.h in this
test.
* acconfig.h: Delete all NEED_DECLARATION_* entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33428
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 25 Apr 2000 23:54:38 +0000 (23:54 +0000)]
Oops, missed ChangeLog in last checkin...
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Delete entries.
* configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
for these macros. Clean up spacing and linewraps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33427
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Apr 2000 23:31:50 +0000 (23:31 +0000)]
* calls.c (expand_call): Use get_callee_fndecl.
* print-tree.c (print_node): Print the chain of an _EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33426
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 25 Apr 2000 23:23:41 +0000 (23:23 +0000)]
correct comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33425
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 25 Apr 2000 23:16:20 +0000 (23:16 +0000)]
Add partial support for IA-64 unwind sections.
* config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
and gp save/restore problems.
* config/ia64/crtend.asm: Add IA-64 unwind support.
* config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
in fr_pad_size calculation.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33424
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Tue, 25 Apr 2000 23:03:49 +0000 (23:03 +0000)]
use install-bin and install-sh in fixinc's makefile
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33423
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Tue, 25 Apr 2000 22:14:53 +0000 (22:14 +0000)]
Mon Apr 24 14:59:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (end_class_declaration): Reset the interface number
counter.
(This fixes the Java PR #181:
http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00207.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33422
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 25 Apr 2000 21:10:26 +0000 (21:10 +0000)]
Define FUNCTION_ATTRIBUTE_INLINABLE_P, a target macro to allow functions with
target specific attributes to be inlined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33421
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 25 Apr 2000 20:30:16 +0000 (20:30 +0000)]
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Delete entries.
* configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
for these macros. Clean up spacing and linewraps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33420
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 25 Apr 2000 19:32:36 +0000 (19:32 +0000)]
2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
* cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
commentary.
2000-04-25 Neil Booth <NeilB@earthling.net>
Restore previous patch, plus the following fixes:
* cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
flags, not CPP_OPEN_PAREN.
* cpplex.c (expand_token_space, init_token_list,
cpp_free_token_list): Put the dummy token at list->tokens[-1].
(_cpp_lex_line, _cpp_lex_file): token list is 0-based.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33419
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 25 Apr 2000 19:09:01 +0000 (19:09 +0000)]
* execute/va-arg-20.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33418
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 25 Apr 2000 17:10:04 +0000 (17:10 +0000)]
* config/i386/freebsd.h (INT_ASM_OP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33417
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Tue, 25 Apr 2000 16:56:38 +0000 (16:56 +0000)]
2000-04-25 Gabriel Dos Reis <gdr@codesourcery.com>
* ir.texi: Correct typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33416
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 25 Apr 2000 15:04:48 +0000 (15:04 +0000)]
2000-04-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava.compile/MethodFailure4.java: New file.
* libjava.compile/MethodFailure4.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33415
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 25 Apr 2000 12:57:41 +0000 (12:57 +0000)]
* loop.c (strength_reduce): Fix typo in the last checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33413
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 25 Apr 2000 12:15:25 +0000 (12:15 +0000)]
* stor-layout.c (finalize_record_size): Simplify to use existing
functions.
(compute_record_mode): No longer static.
* tree.h (compute_record_mode): New declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33412
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 25 Apr 2000 11:57:57 +0000 (11:57 +0000)]
* Revert previous patch until build failure cause determined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33411
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 25 Apr 2000 11:21:13 +0000 (11:21 +0000)]
Fix comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33410
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 25 Apr 2000 10:54:40 +0000 (10:54 +0000)]
* combine.c (combine_instructions): Add missing argument
to try_combine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33408
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 25 Apr 2000 10:13:17 +0000 (10:13 +0000)]
* toplev.c (rest_of_compilation): Delay sibcall optimization
until after emit_eh_context.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33407
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 25 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33406
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 25 Apr 2000 07:41:28 +0000 (07:41 +0000)]
2000-04-24 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in: Report compiler version used for test. Find
the built _G_config.h instead of any old installed version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33405
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 25 Apr 2000 07:32:50 +0000 (07:32 +0000)]
2000-04-24 Loren J. Rittle <ljrittle@acm.org>
* config/generic/ctype.cc (do_toupper): Remove dependence on
non-portable/non-existent lookup table.
(do_tolower): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33404
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 25 Apr 2000 06:42:25 +0000 (06:42 +0000)]
2000-04-24 Felix Natter <fnatter@gmx.net>
* docs/17_intro/howto.html: Add bits.
* docs/17_intro/porting-howto.html: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33403
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 25 Apr 2000 06:39:48 +0000 (06:39 +0000)]
2000-04-24 Nathan Myers <ncm@cantrip.org>
* src/string-inst.cc: More fixing.
2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
* bits/stl_iterator.h: Pedantic fixing.
* bits/std_sstream.h: And here.
* bits/string.tcc: And here.
2000-04-24 Felix Natter <fnatter@gmx.net>
* docs/17_intro/howto.html: Add bits.
* docs/17_intro/porting-howto.html: New file.
2000-04-24 Branko Cibej <branko.cibej@hermes.si>
* acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
@libinst_wstring_la@ to libinst-wstring.la when specializing for
wchar_t, to empty string otherwise.
* src/Makefile.am: (EXTRA_LTLIBRARIES): New.
(sources): Remove $(string_sources) and $(wstring_sources).
(libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
(libstdc___la_DEPENDENCIES): New.
(libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33402
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 25 Apr 2000 06:01:42 +0000 (06:01 +0000)]
New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33401
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Tue, 25 Apr 2000 06:01:09 +0000 (06:01 +0000)]
2000-04-19 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (lookup_field_wrapper): Search for final local aliases.
(resolve_expression_name): Let lookup_field_wrapper search for
final local aliases. Force the value of `name' if one is found.
(qualify_ambiguous_name): CONVERT_EXPR is enough to now we have
an expression name. Fixed comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33400
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 25 Apr 2000 05:59:26 +0000 (05:59 +0000)]
* decl.c (grokdeclarator): Reject VLAs as members.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33399
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 25 Apr 2000 00:40:36 +0000 (00:40 +0000)]
Do not try to combine a sequence of insns when the second insn has been
replaced by a note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33398
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Tue, 25 Apr 2000 00:11:34 +0000 (00:11 +0000)]
2000-04-24 Gabriel Dos Reis <gdr@codesourcery.com>
* call.c (standard_conversion): Accept conversion between
COMPLEX_TYPEs
* cvt.c (ocp_convert): Handle conversion to COMPLEX_TYPE
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33396
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Apr 2000 23:57:46 +0000 (23:57 +0000)]
* gcc.c (load_specs): New static function.
(read_specs): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33395
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 24 Apr 2000 23:35:43 +0000 (23:35 +0000)]
* gcc.c (lookup_compiler): Make multiple passes for case
insensitive filesystems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33393
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 24 Apr 2000 23:27:39 +0000 (23:27 +0000)]
2000-04-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (source_start_java_method): Deleted unecessary code.
(patch_method_invocation): Fixed comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33392
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 24 Apr 2000 22:29:09 +0000 (22:29 +0000)]
* hashtab.c (hash_pointer, eq_pointer): Make definition static to
match prototype.
(htab_expand): Cast the return value of xcalloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33391
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 24 Apr 2000 22:07:36 +0000 (22:07 +0000)]
* cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
* cpphash.h (_cpp_check_directive): new.
* cpplex.c (handle_newline, cpp_free_token_list,
init_trigraph_map, trigraph_ok, trigraph_replace,
backslash_start, skip_block_comment, skip_line_comment,
skip_whitespace, parse_name, parse_number, parse_string,
copy_comment, _cpp_lex_line, spell_char, spell_string,
spell_comment, spell_name, spell_other, _cpp_lex_file,
_cpp_output_list): new.
(expand_name_space): take length argument.
(init_token_list): add comment list initialisation.
(cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
instead of HSPACE_BEFORE.
* cpplib.c (_cpp_check_directive): new
* cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
(HSPACE_BEFORE): delete.
(TTYPE_TABLE): rearrange.
(struct cpp_toklist): update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33390
138bc75d-0d04-0410-961f-
82ee72b054a4