OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago2001-09-22 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Sat, 22 Sep 2001 18:50:09 +0000 (18:50 +0000)]
2001-09-22  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * decl.c (init_decl_processing): Fixed typo in predef_filenames
        last three initializations. Fixes PR java/4360.

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00903.html )

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

22 years ago * c-common.c (format_attribute_table): Remove decl.
kenner [Sat, 22 Sep 2001 15:13:42 +0000 (15:13 +0000)]
* c-common.c (format_attribute_table): Remove decl.
* tree.h (format_attribute_table, lang_attribute_table): New decls.
(lang_attribute_common): Likewise.

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

22 years ago * attribs.c: New file, from c-common.c.
kenner [Sat, 22 Sep 2001 13:59:01 +0000 (13:59 +0000)]
* attribs.c: New file, from c-common.c.
(attribute_tables): Now four elements.
(format_attribute_table, lang_attribute_common): New variables.
(init_attributes): Reflect above changes.
(handle_mode_attribute): Delete check for wider than uintmax.
* c-common.c: Delete parts moved to attribs.c.
(enum attrs): Deleted; unused.
(c_format_attribute_table): New variable.
(c_common_lang_init): Initialize format_attribute_table with it.
* c-common.h (decl_attributes): Remove decl.
* tree.h (decl_attribute): Move it to here.
* Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
(attribs.o): New rule.

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

22 years ago* libI77/configure.in (__EXTENSIONS__): Define.
rearnsha [Sat, 22 Sep 2001 13:32:38 +0000 (13:32 +0000)]
* libI77/configure.in (__EXTENSIONS__): Define.
* libI77/config.h.in, libI77/conifgure: regenerate.
* libU77/configure.in (__EXTENSIONS__): Likewise.

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

22 years ago * function.c (fix_lexical_address): Use set_mem_alias_set.
kenner [Sat, 22 Sep 2001 13:27:33 +0000 (13:27 +0000)]
* function.c (fix_lexical_address): Use set_mem_alias_set.
(expand_function_start): Likewise.
* config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.

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

22 years ago * varasm.c (output_constant): Fix unused variable warning.
kenner [Sat, 22 Sep 2001 13:23:14 +0000 (13:23 +0000)]
* varasm.c (output_constant): Fix unused variable warning.

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

22 years ago * attribs.c: New file, from c-common.c.
kenner [Sat, 22 Sep 2001 13:14:40 +0000 (13:14 +0000)]
* attribs.c: New file, from c-common.c.
(attribute_tables): Now four elements.
(format_attribute_table, lang_attribute_common): New variables.
(init_attributes): Reflect above changes.
(handle_mode_attribute): Delete check for wider than uintmax.
* c-common.c: Delete parts moved to attribs.c.
(enum attrs): Deleted; unused.
(c_format_attribute_table): New variable.
(c_common_lang_init): Initialize format_attribute_table with it.
* c-common.h (decl_attributes): Remove decl.
* tree.h (decl_attribute): Move it to here.
* Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
(attribs.o): New rule.
* ch/Make-lang.in (cc1chill): Add attribs.o.
* cp/Make-lang.in (CXX_C_OBJS): Add attribs.o.

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

22 years ago2001-09-22 George Helffrich <george@geo.titech.ac.jp>
toon [Sat, 22 Sep 2001 10:36:11 +0000 (10:36 +0000)]
2001-09-22  George Helffrich  <george@geo.titech.ac.jp>

* g77.dg/strlen0.f: New test.

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

22 years agoThu Sep 20 15:05:20 JST 2001 George Helffrich <george@geo.titech.ac.jp>
toon [Sat, 22 Sep 2001 10:35:05 +0000 (10:35 +0000)]
Thu Sep 20 15:05:20 JST 2001  George Helffrich  <george@geo.titech.ac.jp>

* com.c (ffecom_subscript_check_): Loosen subscript checking rules
for character strings, to permit substring expressions like
string(1:0).
* news.texi: Document this as a new feature.

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

22 years ago * builtins.c (c_getstr): Remove unused variable.
aj [Sat, 22 Sep 2001 08:42:05 +0000 (08:42 +0000)]
* builtins.c (c_getstr): Remove unused variable.

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

22 years agoDaily bump.
gccadmin [Sat, 22 Sep 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-09-20 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Sat, 22 Sep 2001 05:03:35 +0000 (05:03 +0000)]
2001-09-20  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_method_invocation): Build class initialization
when static finals are used to qualify method invocation.
Fixes PR java/4366.

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00880.html )

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

22 years ago * reload1.c (reload): Use delete_insn instead of splatting
rth [Sat, 22 Sep 2001 01:21:04 +0000 (01:21 +0000)]
    * reload1.c (reload): Use delete_insn instead of splatting
        NOTE_INSN_DELETED.

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

22 years ago * reload.c (push_secondary_reload): Don't check for "=" in output
rth [Fri, 21 Sep 2001 21:06:18 +0000 (21:06 +0000)]
    * reload.c (push_secondary_reload): Don't check for "=" in output
        constraint after ""->ALL_REGS check.

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

22 years ago * predict.c (expected_value_to_br_prob): Use pc_set.
rth [Fri, 21 Sep 2001 20:43:54 +0000 (20:43 +0000)]
    * predict.c (expected_value_to_br_prob): Use pc_set.

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

22 years ago * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
rth [Fri, 21 Sep 2001 20:42:14 +0000 (20:42 +0000)]
    * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
        ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.

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

22 years ago * rtl.h (LCT_RETURNS_TWICE): New.
rth [Fri, 21 Sep 2001 20:26:44 +0000 (20:26 +0000)]
    * rtl.h (LCT_RETURNS_TWICE): New.
        * calls.c (emit_call_1): Set current_function_calls_setjmp for
        ECF_RETURNS_TWICE.
        (emit_library_call_value_1): Map LCT_RETURNS_TWICE
        to ECF_RETURNS_TWICE.
        * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
        call to setjmp.

        * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.

        * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
        (JMP_BUF_SIZE): New.

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

22 years ago * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
rth [Fri, 21 Sep 2001 20:08:10 +0000 (20:08 +0000)]
    * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
        to R8_REGS.

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

22 years ago * include/jvm.h (_Jv_VTable): Handle function descriptors for ia64;
rth [Fri, 21 Sep 2001 16:59:12 +0000 (16:59 +0000)]
    * include/jvm.h (_Jv_VTable): Handle function descriptors for ia64;
        add get_method, set_method, vtable_elt_size, new_vtable.
        (_Jv_ArrayVTable): Derive from _Jv_VTable.
        * resolve.cc (_Jv_PrepareClass): Use new _Jv_VTable methods.
        * interpret.cc (_Jv_InterpMethod::continue1): Likewise.
        * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Likewise.

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

22 years agogcc/
rth [Fri, 21 Sep 2001 16:58:22 +0000 (16:58 +0000)]
gcc/
        * tree.def (FDESC_EXPR): New.
        * expr.c (expand_expr): Handle it.
        * varasm.c (initializer_constant_valid_p): Likewise.
        (output_constant): Likewise.
        * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
        * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
        (ASM_OUTPUT_FDESC): New.
        * doc/tm.texi: Document the new macros.
gcc/cp/
        * class.c (set_vindex): Mind TARGET_VTABLE_USES_DESCRIPTORS.
        (build_vtbl_initializer): Likewise.
        (build_vfn_ref): New.
        * cp-tree.h: Declare it.
        * call.c (build_over_call): Use it.
        * decl2.c (mark_vtable_entries): Mark FDESC_EXPR.
        * typeck.c (get_member_function_from_ptrfunc): Mind descriptors.
gcc/java/
        * class.c (get_dispatch_table): Handle function descriptors.
        (build_dtable_decl): Likewise.
        * expr.c (build_invokevirtual): Likewise.
gcc/testsuite/
        * g++.old-deja/g++.abi/ptrmem.C: Update for ia64 c++ abi.
        * g++.old-deja/g++.abi/vtable2.C: Likewise.

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

22 years ago2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Fri, 21 Sep 2001 16:01:45 +0000 (16:01 +0000)]
2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.h: (WFL_STRIP_BRACKET): Re-written using
build_type_name_from_array_name.
(STRING_STRIP_BRACKETS): New macro.
* parse.y (build_type_name_from_array_name): New function.
(array_creation_expression:): Accumulate []s instead of [s.
(cast_expression:): Accumulate []s instead of [s after cast type
name.
(build_array_from_name): Local string deleted, use
build_type_name_from_array_name.
(build_unresolved_array_type): Accumulate []s instead of [s after
type name.
(register_fields): Fixed comment.
(resolve_class): Local name, base deleted, new locals tname and
array_dims. Use build_type_name_from_array_name. Use array_dims to
build array type.
(purify_type_name): Use STRING_STRIP_BRACKETS.

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00779.html )

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

22 years ago2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Fri, 21 Sep 2001 15:58:35 +0000 (15:58 +0000)]
2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>

* stringpool.c (get_identifier_with_length): New function.
* tree.h (get_identifier_with_length): New prototype.

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00779.html )

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

22 years ago* cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
rearnsha [Fri, 21 Sep 2001 15:34:54 +0000 (15:34 +0000)]
* cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
once merging is complete.

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

22 years ago * integrate.c (allocate_initial_values): Eliminate unused arg warning.
kenner [Fri, 21 Sep 2001 15:16:31 +0000 (15:16 +0000)]
* integrate.c (allocate_initial_values): Eliminate unused arg warning.

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

22 years agoWhitespace changes
kenner [Fri, 21 Sep 2001 15:08:52 +0000 (15:08 +0000)]
Whitespace changes

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

22 years ago* cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
rearnsha [Fri, 21 Sep 2001 14:39:28 +0000 (14:39 +0000)]
* cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
that would be invalid after a merge.

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

22 years ago * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
hubicka [Fri, 21 Sep 2001 12:55:18 +0000 (12:55 +0000)]
* basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
* cfg.c (delete_insn): Rename from ....; use remove_insn; do not
remove some labels.
(flow_delete_insn): This one.
(delete_insn_chain): Rename from ...; do not care labels.
(flow_delete_insn_chain): ... this one.
(flow_delete_block): Remove the insns one BB has been expunged.
(merge_blocks_nomove): Likewise.
(try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
updating BB boundaries.
(tidy_fallthru_edge): Likewise.
(commit_one_edge_insertion): Likewise.
* cfgbuild.c (find_basic_block): Likewise.
(find_basic_blocks_1): Likewise.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
(try_crossjump_to_edge): Likewise.
(try_optimize_cfg): Likewise.
* cse.c (delete_trivially_dead_insns): Likewise.
* df.c (df_insn_delete): Likewise.
* doloop.c (doloop_modify): Use delete_related_insns.
* emit-rtl.c (try_split): Likewise.
(remove_insn): Update BB boundaries.
* expect.c (connect_post_landing_pads): Use delete_related_insns.
* flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
updating BB boundaries.
(propagate_block_delete_insn): Likewise.
(propagate_block_delete_libcall): Likewise.
* function.c (delete_handlers): Use delete_related_insns.
(thread_prologue_and_epilogue_insns): Likewise.
* gcse.c (delete_null_pointer_checks): Use delete_related_insns.
* genpeep.c (gen_peephole): Use delete_related_insns.
* ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
BB boundaries.
(find_cond_trap): Likewise.
* integrate.c (save_for_inline): Use delete_related_insns.
(copy_insn_list): Likewise.
* jump.c (pruge_linie_number_notes): Likewise.
(duplicate_loop_exit_test): Likewise.
(delete_computation): Likewise.
(delete_related_insn): Rename from ...; use delete_insn
(delete_insn): ... this one.
(redirect_jump): Use delete_related_insns.
* loop.c (scan_loop): Likewise.
(move_movables): Likewise.
(find_and_verify_loops): Likewise.
(check_dbra_loop): Likewise.
* recog.c (peephole2_optimize): Likewise.
* reg-stack.c (delete_insn_for_stacker): Remove.
(move_for_stack_reg): Use delete_insn.
* regmove.c (combine_stack_adjustments_for_block): Likewise.
* reload1.c (delete_address_reloads): Use delete_related_insns.
(fixup_abnormal_edges): Use delete_insn.
* recog.c (emit_delay_sequence): Use delete_related_insns.
(delete_from-delay_slot): Likewise.
(delete_scheduled_jump): likewise.
(optimize_skip): Likewise.
(try_merge_delay_insns): Likewise.
(full_simple_delay_slots): Likewise.
(fill_slots_from_thread): Likewise.
(relax_delay_slots): Likewise.
(make_return_insns): Likewise.
(dbr_schedule): Likewise.
* rtl.h (delete_insn): Rename to delete_related_insns.
(delete_insn, delete_insn_chain): New prototypes.
* ssa-ccp (sse_fast_dce):  Remove deleting of DEF, as it is done
by df_insn_delete already.
* ssa-dce.c (delete_insn_bb): Use delete_insn.
* ssa.c (convert_from_ssa): Use delete_related_insns.
* unroll.c (unroll_loop): Likewise.
(calculate_giv_inc): Likewise.
(copy_loop_body): Likewise.

* i386-protos.h (ix86_libcall_value, ix86_function_value,
ix86_function_arg_regno_p, ix86_function_arg_boundary,
ix86_return_in_memory, ix86_function_value): Declare.
* i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
new static valurables.
(x86_64_reg_class): New enum
(x86_64_reg_class_name): New array.
(classify_argument, examine_argument, construct_container,
 merge_classes): New static functions.
(optimization_options): Enable flag_omit_frame_pointer and disable
flag_pcc_struct_return on 64bit.
(ix86_libcall_value, ix86_function_value,
ix86_function_arg_regno_p, ix86_function_arg_boundary,
ix86_return_in_memory, ix86_function_value): New global functions.
(init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
(function_arg_advance): Handle x86_64 passing conventions.
(function_arg): Likewise.
* i386.h (FUNCTION_ARG_BOUNDARY): New macro.
(RETURN_IN_MEMORY): Move offline.
(FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
(FUNCTION_VALUE_REGNO_P): New macro.
(FUNCTION_ARG_REGNO_P): Move offline.
(struct ix86_args): Add maybe_vaarg.
* next.h (FUNCTION_VALUE_REGNO_P): Delete.
* unix.h (FUNCTION_VALUE_REGNO_P): Delete.

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

22 years ago2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
hpenner [Fri, 21 Sep 2001 11:41:43 +0000 (11:41 +0000)]
2001-09-21  Hartmut Penner  <hpenner@de.ibm.com>

        * s390.md: Changed attributes for scheduling.
        * s390.c: (s390_adjust_cost, s390_adjust_priority)
        Changed scheduling

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

22 years ago * no-threads.cc (_Jv_ThreadStart): Remove names of unused arguments.
rth [Fri, 21 Sep 2001 07:46:32 +0000 (07:46 +0000)]
    * no-threads.cc (_Jv_ThreadStart): Remove names of unused arguments.
        * java/lang/mprec.c (lo0bits): Fix paren typo.

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

22 years ago * decl.c (grokdeclarator): Use C syntax for attr_flags declaration.
amylaar [Fri, 21 Sep 2001 07:17:49 +0000 (07:17 +0000)]
* decl.c (grokdeclarator): Use C syntax for attr_flags declaration.

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

22 years agoDaily bump.
gccadmin [Fri, 21 Sep 2001 07:16:43 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
aoliva [Fri, 21 Sep 2001 05:09:09 +0000 (05:09 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to
avoid quotes nesting problems.
(NATIVE_CHECK_MODULES): Ditto, just for consistency.
(DO_X): Export only variables that are set.

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

22 years ago * posix-threads.cc (_Jv_ThreadInterrupt): Re-enable interrupt of
bryce [Fri, 21 Sep 2001 04:23:31 +0000 (04:23 +0000)]
* posix-threads.cc (_Jv_ThreadInterrupt): Re-enable interrupt of
blocking IO via pthread_kill().
* java/io/natFileDescriptorPosix.cc (write (jint)): Check for thread
interrupted status flag only if ::write returned an error.
(write (jbyteArray, jint, jint): Likewise.
(read (jint)): Likewise.
(read (jbyteArray, jint, jint): Likewise.

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

22 years ago Table-driven attributes.
jsm28 [Fri, 21 Sep 2001 01:27:06 +0000 (01:27 +0000)]
Table-driven attributes.
* c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
* tree.h (struct tree_decl): Change machine_attributes to
attributes.
* doc/c-tree.texi: Document that all attributes are now attached
to decls and types.
* c-common.c (add_attribute, attrtab, attrtab_idx,
default_valid_lang_attribute, valid_lang_attribute): Remove.
(attribute_tables, attributes_initialized,
c_common_attribute_table, default_lang_attribute_table): New
variables.
(handle_packed_attribute, handle_nocommon_attribute,
handle_common_attribute, handle_noreturn_attribute,
handle_unused_attribute, handle_const_attribute,
handle_transparent_union_attribute, handle_constructor_attribute,
handle_destructor_attribute, handle_mode_attribute,
handle_section_attribute, handle_aligned_attribute,
handle_weak_attribute, handle_alias_attribute,
handle_no_instrument_function_attribute,
handle_no_check_memory_usage_attribute, handle_malloc_attribute,
handle_no_limit_stack_attribute, handle_pure_attribute): New
functions.
(init_attributes, decl_attributes): Rewrite to implement
table-driven attributes.
* c-common.h (enum attribute_flags): Move to tree.h.
* c-format.c (decl_handle_format_attribute,
decl_handle_format_arg_attribute): Rename to
handle_format_attribute and handle_format_arg_attribute.  Update
for table-driven attributes.
* c-common.h (decl_handle_format_attribute,
decl_handle_format_arg_attribute): Remove prototypes.
(handle_format_attribute, handle_format_arg_attribute): Add
prototypes.
* c-decl.c (grokdeclarator): Handle attributes nested inside
declarators.
* c-parse.in (setattrs, maybe_setattrs): Remove.
(maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
Update to handle nested attributes properly.
(maybe_resetattrs, after_type_declarator,
parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
absdcl1_ea, direct_absdcl1): Update to handle nested attributes
properly.
(make_pointer_declarator): Update to handle nested attributes
properly.
* doc/extend.texi: Update documentation of limits of attributes
syntax.  Warn about problems with attribute semantics in C++.
* target.h (struct target): Remove valid_decl_attribute and
valid_type_attribute.  Add attribute_table and
function_attribute_inlinable_p.
* target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
TARGET_VALID_TYPE_ATTRIBUTE): Remove.
(TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
Add.
(TARGET_INITIALIZER): Update.
* integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
definition.
(function_attribute_inlinable_p): New function.  Check for the
presence of any machine attributes before using
targetm.function_attribute_inlinable_p.
(function_cannot_inline_p): Update.
* Makefile.in (integrate.o): Update dependencies.
* doc/tm.texi: Update documentation of target attributes and
example definition of TARGET_VALID_TYPE_ATTRIBUTE.
* tree.c (default_valid_attribute_p, valid_machine_attribute):
Remove.
(default_target_attribute_table,
default_function_attribute_inlinable_p): New.
(lookup_attribute): Update comment to clarify handling of multiple
attributes with the same name.
(merge_attributes, attribute_list_contained): Allow multiple
attributes with the same name but different arguments to appear in
the same attribute list.
* tree.h (default_valid_attribute_p): Remove prototype.
(struct attribute_spec): New.
(default_target_attribute_table): Declare.
(enum attribute_flags): Move from c-common.h.  Add
ATTR_FLAG_TYPE_IN_PLACE.
(default_function_attribute_inlinable_p): Declare.
* config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
(TARGET_VALID_DECL_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(vms_attribute_table): New.
* config/arc/arc.c (arc_valid_decl_attribute): Remove.
(TARGET_VALID_DECL_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(arc_attribute_table, arc_handle_interrupt_attribute): New.
* config/arm/arm.c (arm_valid_type_attribute_p,
arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
Remove.
(TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
define.
(TARGET_ATTRIBUTE_TABLE): Define.
(arm_attribute_table, arm_handle_fndecl_attribute,
arm_handle_isr_attribute): New.
* config/avr/avr.c (avr_valid_type_attribute,
avr_valid_decl_attribute): Remove.
(TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
define.
(TARGET_ATTRIBUTE_TABLE): Define.
(avr_attribute_table, avr_handle_progmem_attribute,
avr_handle_fndecl_attribute): New.
* config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
(TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(c4x_attribute_table, c4x_handle_fntype_attribute): New.
* config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
(TARGET_VALID_DECL_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(h8300_attribute_table, h8300_handle_fndecl_attribute,
h8300_handle_eightbit_data_attribute,
h8300_handle_tiny_data_attribute): New.
* config/i386/i386-protos.h (ix86_valid_type_attribute_p,
i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
Remove prototypes.
(ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
declarations.
* config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
(TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
define.
(TARGET_ATTRIBUTE_TABLE): Define.
(ix86_attribute_table, ix86_handle_cdecl_attribute,
ix86_handle_regparm_attribute): New.
* config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
i386_pe_valid_type_attribute_p): Remove.
(ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
* config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
(TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(ia64_attribute_table): New.
* config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
interrupt_ident2, model_ident1, model_ident2): Remove.
(TARGET_VALID_DECL_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(init_idents): Update.
(m32r_attribute_table, m32r_handle_model_attribute): New.
* config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
Remove.
(TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
* config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
(TARGET_VALID_DECL_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(mcore_attribute_table, mcore_handle_naked_attribute): New.
* config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
(TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
* config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
(TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
* config/sh/sh.c (sh_valid_decl_attribute): Remove.
(TARGET_VALID_DECL_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(sh_attribute_table, sh_handle_interrupt_handler_attribute,
sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
New.
* config/stormy16/stormy16.c (stormy16_valid_type_attribute):
Remove.
(TARGET_VALID_TYPE_ATTRIBUTE): Don't define
(TARGET_ATTRIBUTE_TABLE): Define.
(stormy16_attribute_table, stormy16_handle_interrupt_attribute):
New.
* config/v850/v850.c (v850_valid_decl_attribute): Remove.
(TARGET_VALID_DECL_ATTRIBUTE): Don't define.
(TARGET_ATTRIBUTE_TABLE): Define.
(v850_attribute_table, v850_handle_interrupt_attribute,
v850_handle_data_area_attribute): New.
* config/v850/v850-c.c (mark_current_function_as_interrupt):
Return void.  Call decl_attributes instead of
valid_machine_attribute.

cp:
Table-driven attributes.
* decl.c: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
* decl2.c (cplus_decl_attributes): Only take one attributes
parameter.
* cp-tree.c (cplus_decl_attributes): Update prototype.
* class.c (finish_struct), decl.c (start_decl, start_function),
decl2.c (grokfield), friend.c (do_friend), parse.y
(parse_bitfield): Update calls to cplus_decl_attributes.
* decl.c (grokdeclarator): Take a pointer to a single ordinary
attribute list.
* decl.h (grokdeclarator): Update prototype.
* decl2.c (grokfield): Take a single ordinary attribute list.
* friend.c (do_friend): Likewise.
* decl.c (shadow_tag, groktypename, start_decl,
start_handler_parms, grokdeclarator, grokparms, start_function,
start_method), decl2.c (grokfield, grokbitfield, grokoptypename),
parse.y (parse_field, parse_bitfield, component_decl_1), pt.c
(process_template_parm, do_decl_instantiation): Pass single
ordinary attribute lists around.
* decl.c (grokdeclarator): Correct handling of nested attributes.
Revert the patch
1998-10-18  Jason Merrill  <jason@yorick.cygnus.com>
* decl.c (grokdeclarator): Embedded attrs bind to the right,
not the left.
.
* cp-tree.h (cp_valid_lang_attribute): Remove declaration
(cp_attribute_table): Declare.
* decl.c (valid_lang_attribute): Don't define.
(lang_attribute_table): Define.
(init_decl_processing): Initialize lang_attribute_table instead of
valid_lang_attribute.
* tree.c (cp_valid_lang_attribute): Remove.
(handle_java_interface_attribute, handle_com_interface_attribute,
handle_init_priority_attribute): New functions.
(cp_attribute_table): New array.
* decl2.c (import_export_class): Don't use
targetm.valid_type_attribute.

testsuite:
Table-driven attributes.
* g++.dg/ext/attrib1.C: New test.

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

22 years ago * sh-protos.h (sh_pr_n_sets): Declare.
amylaar [Fri, 21 Sep 2001 00:53:28 +0000 (00:53 +0000)]
* sh-protos.h (sh_pr_n_sets): Declare.
* sh.c (calc_live_regs): If the initial value for PR has been copied,
look at the copy to determine if PR needs to be saved.
sh_pr_n_sets: New function.
* sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
(ALLOCATE_INITIAL_VALUE): Define.

* sh.c (initial_elimination_offset):
Fix RETURN_ADDRESS_POINTER_REGNUM case.

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

22 years ago * integrate.c (allocate_initial_values): New function.
amylaar [Fri, 21 Sep 2001 00:45:30 +0000 (00:45 +0000)]
* integrate.c (allocate_initial_values): New function.
* integrate.h (allocate_initial_values): Declare.
* local-alloc.c (local_alloc): Move call to allocate_reg_info from
here...
* reload1.c (reload): And initialization of reg_equiv_memory_loc
from here...
* toplev.c (rest_of_compilation): To here.
Call allocate_initial_values.
* tm.texi: add description for ALLOCATE_INITIAL_VALUE.

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

22 years ago * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
kenner [Fri, 21 Sep 2001 00:33:01 +0000 (00:33 +0000)]
* ggc-page.c (ggc_marked_p): Properly convert return to boolean.

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

22 years ago* c-typeck.c (really_start_incremental_init): Discriminate
dj [Fri, 21 Sep 2001 00:27:59 +0000 (00:27 +0000)]
* c-typeck.c (really_start_incremental_init): Discriminate
between zero-length arrays and flexible arrays.
(push_init_level): Detect zero-length arrays and handle them
like fixed-sized arrays.
* expr.c (store_constructor): Handle zero-length arrays and
flexible arrays correctly.
* doc/extend.texi: Update zero-length array notes.

* gcc.dg/20000926-1.c: Update expected warning messages.
* gcc.dg/array-2.c: Likewise, and test for warnings too.
* gcc.dg/array-4.c: Likewise, and don't verify the zero-length
array.

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

22 years agoFix for PR 3917.
wilson [Fri, 21 Sep 2001 00:00:03 +0000 (00:00 +0000)]
Fix for PR 3917.
* config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
(insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
for issue port conflicts.
(cycle_end_fill_slots): TYPE_L instructions take two slots.

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

22 years ago2001-09-20 Andrew MacLeod <amacleod@redhat.com>
amacleod [Thu, 20 Sep 2001 18:06:39 +0000 (18:06 +0000)]
2001-09-20  Andrew MacLeod  <amacleod@redhat.com>

* testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
on ia64.

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

22 years ago * fold-const.c (hashtab.h): Include.
kenner [Thu, 20 Sep 2001 15:12:54 +0000 (15:12 +0000)]
* fold-const.c (hashtab.h): Include.
(int_const_binop): Remove FORSIZE arg and compute from type; all
callers changed.
Call size_int_type_wide for all single-word constants.
(size_htab_hash, size_htab_eq): New functions.
(size_int_type_wide): Rework to use hash table.
* ggc-common.c (hashtab.h): Include.
(struct d_htab_root): New struct.
(d_htab_roots): New variable.
(ggc_add_deletable_htab, ggc_htab_delete): New functions
(ggc_mark_roots): Handle deletable htabs.
* ggc-page.c (ggc_marked_p): New function.
* ggc-simple.c (ggc_marked_p): Likewise.
* ggc.h: Reformatting throughout.
(ggc_marked_p, ggc_add_deletable_htab): New declarations.
* tree.c (init_obstacks): Make type_hash_table a deletable root.
(type_hash_add): Allocate struct type_hash from GC memory.
(mark_hash_entry, mark_type_hash): Deleted.
(type_hash_marked_p, type_hash_mark): New functions.
* Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.

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

22 years ago * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
amylaar [Thu, 20 Sep 2001 14:25:11 +0000 (14:25 +0000)]
* sh.c (shiftcosts): Don't use shiftcosts array for modes wider
than SImode.

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

22 years ago * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
kenner [Thu, 20 Sep 2001 12:56:59 +0000 (12:56 +0000)]
* stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
array-too-large test for signed sizetype.

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

22 years ago * i386.md (indirect_jump): Allow Pmode operand.
hubicka [Thu, 20 Sep 2001 10:21:40 +0000 (10:21 +0000)]
* i386.md (indirect_jump): Allow Pmode operand.
(tablejump): LIkewise; perform expansion to 64bit mode.
* i386.c (symbolic_operand): Allow 64bit PIC references.
(pic_symbolic_operand): Likewise.
(ix86_find_base_term): Strip the 64bit PIC references.
(legitimate_pic_address_disp_p): Handle 64bit PIC.
(legitimize_pic_address): Likewise.
(i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
* i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.

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

22 years ago2001-09-20 Scott Johnston <scott@accom.com>
bkoz [Thu, 20 Sep 2001 09:48:24 +0000 (09:48 +0000)]
2001-09-20  Scott Johnston <scott@accom.com>
    Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>

* include/backward/alloc.h: Conditionally define malloc_alloc
* testsuite/backward/header_deque_h.cc: New file.

2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>

* libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
        change variable name so that it works with -fno-for-scope.

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

22 years ago2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 20 Sep 2001 09:07:37 +0000 (09:07 +0000)]
2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/numpunct_members_char.cc (test01): Remove
redundant sanity checks.
* testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
(test02): Same.
* testsuite/22_locale/money_put_members_char.cc (test01): Same.
(test02): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
* testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
(test02): Same.
* testsuite/22_locale/money_get_members_char.cc (test01): Same.
(test02): Same.

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

22 years ago2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 20 Sep 2001 08:30:01 +0000 (08:30 +0000)]
2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>

Implement std::time_put.
* include/bits/locale_facets.h: Include time_members.h.
(__timepunct): New.
(time_put): Implement.
* include/bits/locale_facets.tcc (do_put): Put generic versions here.
* include/bits/localefwd.h: Bump number of facets.
* config/locale/time_members_generic.h: New file.
* config/locale/time_members_gnu.h: New file.
* config/locale/c_locale_generic.h: Include clocale.
* src/locale-inst.cc: Add use_facet instantiations for __timepunct.
* src/locale.cc: Add __timepunct initializations.
* src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
* include/Makefile.am (stamp-target): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put.cc: New file.
* testsuite/22_locale/time_put_members_char.cc: New file.

* docs/html/22_locale/locale.html: Add note.

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

22 years agoDaily bump.
gccadmin [Thu, 20 Sep 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-09-19 Alan Modra <amodra@bigpond.net.au>
dje [Thu, 20 Sep 2001 02:35:00 +0000 (02:35 +0000)]
2001-09-19  Alan Modra  <amodra@bigpond.net.au>
            David Edelsohn  <edelsohn@gnu.org>

        Revert:
        * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
        already sign-extended.

        * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
        * config/rs6000/rs6000.c (logical_operand): Streamline comparison
        with HOST_WIDE_INT.
        (rs6000_emit_set_long_const): Avoid unnecessary shift.
        (output_profile_hook): Declare label_name const.
        * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
        to match constraints.

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

22 years ago * alias.c: Fix typos in comments.
shebs [Wed, 19 Sep 2001 23:58:10 +0000 (23:58 +0000)]
    * alias.c: Fix typos in comments.
        * sched-rgn.c (init_ready_list): Ditto.
        * unwind-dw2.c (uw_frame_state_for): Ditto.
        * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
        * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
        * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.

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

22 years ago * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
rth [Wed, 19 Sep 2001 19:29:10 +0000 (19:29 +0000)]
    * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
        to the exit block.
        * Makefile.in (cfg.o): Depend on TM_P_H.

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

22 years ago * config/alpha/alpha.c (local_symbol_p): Split out from ...
rth [Wed, 19 Sep 2001 18:55:22 +0000 (18:55 +0000)]
* config/alpha/alpha.c (local_symbol_p): Split out from ...
(local_symbolic_operand): ... here.
(small_symbolic_operand): Check mode.
(global_symbolic_operand): New.
(input_operand): Reject symbolics if explicit relocs.
(call_operand): Tidy.
(alpha_legitimize_address): Use movdi_er_high_g.
(alpha_expand_mov): Likewise.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (PREDICATE_CODES): Update.
* config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
(UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
(UNSPECV_LDGP2): Remove.
(all call patterns): Use 's' not 'i' for symbolic constraint.
(call_osf call_value_osf): Use call_operand.
(all osf call patterns): Use $gp.  New peepholes for explicit relocs.
(movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
(prologue_ldgp_1_er): Remove.
(ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
(builtin_setjmp_receiver_er patterns): Use them.
(exception_receiver_er): Likewise.

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

22 years ago * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
rth [Wed, 19 Sep 2001 18:32:21 +0000 (18:32 +0000)]
    * recog.c (peephole2_optimize): Likewise.  Handle EH_REGION;
        copy over CALL_INSN_FUNCTION_USAGE.

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

22 years agoFix null pointer bug.
green [Wed, 19 Sep 2001 18:28:59 +0000 (18:28 +0000)]
Fix null pointer bug.

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

22 years ago * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
rth [Wed, 19 Sep 2001 18:27:49 +0000 (18:27 +0000)]
    * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
        and NON_LOCAL_GOTO notes.

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

22 years ago * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
rth [Wed, 19 Sep 2001 18:21:54 +0000 (18:21 +0000)]
    * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.

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

22 years agoDaily bump.
gccadmin [Wed, 19 Sep 2001 07:16:16 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-09-19 Ben Elliston <bje@redhat.com>
bje [Wed, 19 Sep 2001 06:07:00 +0000 (06:07 +0000)]
2001-09-19  Ben Elliston  <bje@redhat.com>

* configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on
Solaris when testing for the /usr/ucb/cc compiler; it has incorrect
semantics.  Use the shell built-in "type" command instead.

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

22 years agoconfig/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
clm [Tue, 18 Sep 2001 22:00:37 +0000 (22:00 +0000)]
config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN): Define as 0.

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

22 years ago* config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
uweigand [Tue, 18 Sep 2001 21:51:53 +0000 (21:51 +0000)]
* config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
new-style tm_file specification.  Specify correct tm_p_file,
md_file, and out_file for s390x.

* config/s390/linux.h, linux64.h:  Don't include other target
macro header files.  Now handled via tm_file.

* config/s390/linux.h, s390.h:  (IEEE_FLOAT, TARGET_IEEE_FLOAT,
TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
are defined before use.

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

22 years ago * libiberty.h (concat, concat_length, concat_copy, concat_copy2,
ghazi [Tue, 18 Sep 2001 20:07:31 +0000 (20:07 +0000)]
* libiberty.h (concat, concat_length, concat_copy, concat_copy2,
ACONCAT): Improve comments.

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

22 years agoTue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
oldham [Tue, 18 Sep 2001 17:37:48 +0000 (17:37 +0000)]
Tue Sep 18 09:51:11 2001  Eric Christopher  <ecechristo@redhat.com>

        * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
        code generation only for Gnu assembler.

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

22 years ago * config/stormy16 (LIB_SPEC): Remove -lnosys.
clm [Tue, 18 Sep 2001 17:02:28 +0000 (17:02 +0000)]
    * config/stormy16 (LIB_SPEC): Remove -lnosys.

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

22 years ago * g++.dg/eh/registers1.C: New test case.
rsandifo [Tue, 18 Sep 2001 16:26:41 +0000 (16:26 +0000)]
* g++.dg/eh/registers1.C: New test case.

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

22 years ago * config/mips/mips.c (mips_frame_set): New.
rsandifo [Tue, 18 Sep 2001 16:24:32 +0000 (16:24 +0000)]
* config/mips/mips.c (mips_frame_set): New.
(mips_emit_frame_related_store): When storing two 32-bit FPRs, use
a parallel frame-related expression with a set for each register.

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

22 years ago * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.
amodra [Tue, 18 Sep 2001 13:39:40 +0000 (13:39 +0000)]
* objalloc.h (OBJALLOC_ALIGN): Define using offsetof.

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

22 years ago2001-09-18 Philip Blundell <philb@gnu.org>
pb [Tue, 18 Sep 2001 10:02:37 +0000 (10:02 +0000)]
2001-09-18  Philip Blundell  <philb@gnu.org>

* config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
header files.

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

22 years agoDaily bump.
gccadmin [Tue, 18 Sep 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * parse.y: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
aj [Tue, 18 Sep 2001 05:22:40 +0000 (05:22 +0000)]
* parse.y: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
* jv-scan.c: Likewise.

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

22 years ago2001-09-17 Dale Johannesen <dalej@apple.com>
shebs [Mon, 17 Sep 2001 23:24:52 +0000 (23:24 +0000)]
2001-09-17  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
        * config/rs6000/aix.h (FIXED_R2): Define.
        * config/rs6000/darwin.h (FIXED_R2): Define.
        * config/rs6000/sysv4.h (FIXED_R2): Define.

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

22 years ago2001-09-17 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 17 Sep 2001 23:24:40 +0000 (23:24 +0000)]
2001-09-17  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
* docs/html/documentation.html:  Likewise.
* docs/html/explanations.html:  Likewise.
* docs/html/install.html:  Likewise.
* docs/html/17_intro/howto.html:  Likewise.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/22_locale/codecvt.html:  Likewise.
* docs/html/22_locale/ctype.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/22_locale/locale.html:  Likewise.
* docs/html/22_locale/messages.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Regenerated.

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

22 years ago * except.c (dw2_build_landing_pads): New local
jsturm [Mon, 17 Sep 2001 23:16:28 +0000 (23:16 +0000)]
* except.c (dw2_build_landing_pads): New local
clobbers_hard_regs.  Emit an ASM_INPUT as a scheduling
barrier after clobbers.  Fixes c++/4012.

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

22 years agoinclude:
ghazi [Mon, 17 Sep 2001 22:15:10 +0000 (22:15 +0000)]
include:
* libiberty.h (concat_length, concat_copy, concat_copy2,
libiberty_concat_ptr, ACONCAT): New.

libiberty:
* concat.c (vconcat_length, vconcat_copy, concat_length,
concat_copy, concat_copy2): New functions.
(concat): Use vconcat_length/vconcat_copy.

gcc:
* gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.

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

22 years ago * dostage2, dostage3, listing, make-l2.com, makefile.vms,
jsm28 [Mon, 17 Sep 2001 20:40:28 +0000 (20:40 +0000)]
* dostage2, dostage3, listing, make-l2.com, makefile.vms,
patch-apollo-includes, vmsconfig.com: Remove obsolete files.

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

22 years agoinclude:
ghazi [Mon, 17 Sep 2001 18:48:45 +0000 (18:48 +0000)]
include:
* libiberty.h (ASTRDUP): New macro.
libiberty_optr, libiberty_nptr, libiberty_len): Declare.

libiberty:
* alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
Define.

gcc:
* c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
alloca/strcpy.

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

22 years ago * cpphash.h (_cpp_lex_direct): New.
neil [Mon, 17 Sep 2001 18:26:12 +0000 (18:26 +0000)]
* cpphash.h (_cpp_lex_direct): New.
* cpplex.c (_cpp_lex_token): Update.
(lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
and increment that pointer.
* cppmacro.c (alloc_expansion_token): New.
(lex_expansion_token): Lex macro expansion directly into
macro storage.

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

22 years ago * jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Call
tromey [Mon, 17 Sep 2001 17:03:13 +0000 (17:03 +0000)]
* jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Call
NOTE_PUSH for single-case push.  Fixes PR java/4189.

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

22 years ago * gcc.dg/array-5.c: Fix VLA decomposition test.
rth [Mon, 17 Sep 2001 16:38:59 +0000 (16:38 +0000)]
    * gcc.dg/array-5.c: Fix VLA decomposition test.

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

22 years agoDaily bump.
gccadmin [Mon, 17 Sep 2001 07:16:15 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * jni.cc (array_from_valist): Use promoted types for va_arg.
aj [Mon, 17 Sep 2001 05:08:10 +0000 (05:08 +0000)]
    * jni.cc (array_from_valist): Use promoted types for va_arg.

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

22 years agoAdd support for iso8859_1.
green [Mon, 17 Sep 2001 02:28:53 +0000 (02:28 +0000)]
Add support for iso8859_1.

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

22 years ago* Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
dj [Mon, 17 Sep 2001 02:13:44 +0000 (02:13 +0000)]
* Makefile.in: Make rtl-error.o depend on $(CONFIG_H).

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

22 years ago * basic-block.h (free_bb_for_insn): Declare.
hubicka [Sun, 16 Sep 2001 20:21:30 +0000 (20:21 +0000)]
* basic-block.h (free_bb_for_insn): Declare.
* bb-reorder.c (label_for_bb): Use block_label.
(emit_jump_to_block_after): Remove.
(insert_intra_1): Do not update block_for_insn.
(insert_inter_bb_scope_notes): Likewise; update bb->end
* cfg.c (free_bb_for_insn): New.
(try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
(force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
(commit_one_edge_insertion): Likewise.
(commit_one_edge_insertion): Do not update BB boundary.
(commit_edge_insertions): Do not call compute_bb_for_insn.
* cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
* cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
(merge_blocks_move_successor_nojumps): Likewise.
(try_crossjump_to_edge): Do not update block_for_insn.
* combine.c (combine_instructions): Remove compute_bb_for_insn call.
* df.c (df_pattern_emit_later): Do not update BB boundary.
(df_jump_pattern_emit_after): Likewise.
(df_insn_move_before): Use emit_insn_before.
* emit-rtl.c (try_split): Emit after trial to get bb boundary updated
 properly.
(add_insn_after, add_insn_before, emit_insns_after): Update BB
boundaries and basic_block_for_insn.
(reorder_insns_nobb): Rename from reorder_insns.
(reorder_insns): New.
(emit_block_insn_before, emit_block_insn_after): Kill.
* flow.c (check_function_return_warnings): Do not call
compute_bb_for_insn; Do not free basic_block_for_insn.
(attempt_auto_inc): Do not update basic_block_for_insn.
* function.c (emit_return_into_block): Likewise;
do not update BB boundaries.
* gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
(insert_insn_end_bb): Use emit_insn_before; Likewise.
(pre_insert_copy_insn): Likewise.
(update_ld_motion_notes): Likewise.
(insert_insn_start_bb): Likewise.
(replace_store_insn): Likewise.
* ifcvt.c (noce_process_if_block): Likewise.
(if_convert): Do not call compute_bb_for_insn.
* lcm.c (optimize_mode_switching): Do not update BB boundaries.
Use emit_insn_before and emit_insn_after.
* recog.c (split_all_insns): Do not update BB boundaries;
Do not call compute_bb_for_insn.
(peephole2_optimize): Do not update BB boundaries.
* reg-stack.c (emit_pop_insn): Use emit_insn_after and
emit_insn_before.
(emit_swap_insn): Likewise.
(convert_regs_1): Likewise.
* reload1.c (reload): Call compute_bb_for_insn.
* rtl.h (reorder_insns_nobb): Declare.
* ssa.c (rename_equivalent_regs): Use emit_insn_before.
* toplev.c (rest_of_compilation): Call free_bb_for_insn
at places CFG is invalidated; do not call compute_bb_for_insn.

* cfg.c (expunge_block): Invalidate BB structure.

* (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
array.

* cfg.c (verify_flow_info): Verify the basic_block_for_insn array.

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

22 years ago * cpphash.h (_cpp_lex_token): Update prototype.
neil [Sun, 16 Sep 2001 13:44:29 +0000 (13:44 +0000)]
* cpphash.h (_cpp_lex_token): Update prototype.
* cpplex.c (_cpp_lex_token): New prototype.
* cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
lex_macro_node, read_flag, do_pragma_poison): Update.
* cppmacro.c (cpp_get_token, parse_params,
lex_expansion_token): Update.

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

22 years ago * cppmain.c (scan_translation_unit): Don't worry about
neil [Sun, 16 Sep 2001 11:23:56 +0000 (11:23 +0000)]
* cppmain.c (scan_translation_unit): Don't worry about
putting a space after hashes.
* cpplib.c (directive_diagnostics): New.
(_cpp_handle_directive): Update to use directive_diagnostics.
(run_directive): Don't toggle prevent_expansion.
(do_line): Backup in case of the line extension.
* cpplib.h (cpp_lexer_pos): Remove.
* cppmacro.c (_cpp_create_definition): Precede a leading #
with whitespace.

* gcc.dg/cpp/line5.c: New testcase.

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

22 years agoDaily bump.
gccadmin [Sun, 16 Sep 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * c-typeck.c (comptypes): Handle zero-length arrays properly.
rth [Sun, 16 Sep 2001 00:48:52 +0000 (00:48 +0000)]
    * c-typeck.c (comptypes): Handle zero-length arrays properly.

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

22 years ago * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
rth [Sat, 15 Sep 2001 19:47:38 +0000 (19:47 +0000)]
    * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.

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

22 years ago * Make-lang.in (cp/error.o): Depend on real.h
gdr [Sat, 15 Sep 2001 19:47:34 +0000 (19:47 +0000)]
    * Make-lang.in (cp/error.o): Depend on real.h
        * error.c: #include "real.h"

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

22 years ago * gcc.dg/cpp/macro9.c: Update to make lucky passes harder.
neil [Sat, 15 Sep 2001 18:42:58 +0000 (18:42 +0000)]
* gcc.dg/cpp/macro9.c: Update to make lucky passes harder.

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

22 years ago * gcc.dg/cpp/macro9.c: New test.
neil [Sat, 15 Sep 2001 18:38:46 +0000 (18:38 +0000)]
* gcc.dg/cpp/macro9.c: New test.

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

22 years ago * 980223.c: Change type of addr from long to char *.
aldyh [Sat, 15 Sep 2001 18:36:40 +0000 (18:36 +0000)]
    * 980223.c: Change type of addr from long to char *.

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

22 years ago PR preprocessor/3571
neil [Sat, 15 Sep 2001 18:16:01 +0000 (18:16 +0000)]
PR preprocessor/3571
* tradcpp.c (handle_directive): Skip non-vertical space.

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

22 years ago * cppmain.c (setup_callbacks): Set line callback only
neil [Sat, 15 Sep 2001 16:33:43 +0000 (16:33 +0000)]
* cppmain.c (setup_callbacks): Set line callback only
if outputting preprocessed source.

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

22 years ago * collect2.c (main): Const-ification.
ghazi [Sat, 15 Sep 2001 14:04:47 +0000 (14:04 +0000)]
* collect2.c (main): Const-ification.
* gcc.c (translate_options, process_command): Use xstrdup in
lieu of xmalloc/strcpy.
(main): Use concat in lieu of xmalloc/strcpy/strcat.
cp:
* mangle.c (mangle_conv_op_name_for_type): Use concat in lieu of
xmalloc/strcpy/strcat.

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

22 years agoRemove conflict indicators committed as part of revision 1.11335 by
gerald [Sat, 15 Sep 2001 11:51:23 +0000 (11:51 +0000)]
Remove conflict indicators committed as part of revision 1.11335 by
echristo on 15-Sep-01.

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

22 years ago * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
gerald [Sat, 15 Sep 2001 11:47:05 +0000 (11:47 +0000)]
* doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
example.

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

22 years ago * scan-decls.c (scan_decls): Fix typo.
neil [Sat, 15 Sep 2001 11:09:38 +0000 (11:09 +0000)]
* scan-decls.c (scan_decls): Fix typo.

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

22 years ago * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
neil [Sat, 15 Sep 2001 10:18:03 +0000 (10:18 +0000)]
* cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
Split mlstring_pos into mls_line and mls_col.
* cppinit.c (cpp_create_reader): Initialize line to 1.
(cpp_destroy): Free tokenruns.
(push_include): Don't update lexer_pos.
* cpplex.c (unterminated, parse_string): Update.
(lex_token): Don't update lexer_pos, update.
* cpplib.c (if_stack): Save line instead of line + col.
(start_directive, _cpp_do__Pragma, do_else, do_elif,
push_conditional, _cpp_pop_buffer): Update.
* cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
(_cpp_create_definition): Update.

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

22 years agoDaily bump.
gccadmin [Sat, 15 Sep 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

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