OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * java/io/BufferedInputStream.java: Merge with Classpath
mark [Mon, 8 Oct 2001 18:53:49 +0000 (18:53 +0000)]
* java/io/BufferedInputStream.java: Merge with Classpath

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

22 years agotop:
zack [Mon, 8 Oct 2001 17:58:31 +0000 (17:58 +0000)]
top:
* aclocal.m4 (gcc_AC_PROG_GNAT): New.
* configure.in: Use it.
* configure: Regenerated.
* config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
ada:
* Make-lang.in (ADAFLAGS): Add -W -Wall.
(ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
(gnat1): Also depend on attribs.o.
(gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
* Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
(ADAC): Set to @ADAC@ in stage1, $(CC) later.
(ADAFLAGS): Add -W -Wall.
(ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
take out CFLAGS.

(.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
Use $(ADAC), not $(CC), as compilation command.

(gnattools): Depend directly on tools to build, don't use
recursive make.
(gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.

* einfo.h, sinfo.h: New files (autogenerated).

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

22 years ago * cppfiles.c (open_file): Don't mark zero-length files
neil [Mon, 8 Oct 2001 17:54:15 +0000 (17:54 +0000)]
* cppfiles.c (open_file): Don't mark zero-length files
never-reread here.  Don't output diagnostics here either.
(stack_include_file): Mark them never-reread here.
(_cpp_read_file): Update.

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

22 years ago * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
rth [Mon, 8 Oct 2001 17:39:53 +0000 (17:39 +0000)]
    * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.

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

22 years ago * comperr.adb (Abort_In_Progress): New.
rth [Mon, 8 Oct 2001 17:09:23 +0000 (17:09 +0000)]
    * comperr.adb (Abort_In_Progress): New.
        (Compiler_Abort): Use it to prevent recursion.

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

22 years ago * expr.c (store_expr): When converting a CONST_INT for storage
rth [Mon, 8 Oct 2001 16:54:45 +0000 (16:54 +0000)]
    * expr.c (store_expr): When converting a CONST_INT for storage
        in a SUBREG, convert it to both SUBREG modes before stripping
        the SUBREG.

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

22 years ago * varasm.c (restore_varasm_status): New.
rth [Mon, 8 Oct 2001 16:46:24 +0000 (16:46 +0000)]
    * varasm.c (restore_varasm_status): New.
        * function.h: Declare it.
        * function.c (pop_function_context_from): Call it.

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

22 years ago * c-common.h (struct c_lang_decl): Add declared_inline.
rth [Mon, 8 Oct 2001 16:37:06 +0000 (16:37 +0000)]
    * c-common.h (struct c_lang_decl): Add declared_inline.
        * c-tree.h (DECL_DECLARED_INLINE_P): New.
        * c-lang.c (c_disregard_inline_limits): Use it.
        * c-decl.c (duplicate_decls): Likewise.
        (pushdecl, redeclaration_error_message): Likewise.
        (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
        (grokdeclarator): Likewise.  Set DECL_DECLARED_INLINE_P.
        Set DECL_INLINE if -finline-functions.
        (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.

        * cp-tree.h (struct lang_decl_flags): Remove declared_inline.
        (DECL_DECLARED_INLINE_P): Use the bit in struct c_lang_decl.

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

22 years agomaintainer-scripts:
jsm28 [Mon, 8 Oct 2001 16:16:56 +0000 (16:16 +0000)]
maintainer-scripts:
* crontab: Build weekly snapshots.

contrib:
* snapshot: Remove.

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

22 years ago * atree.adb: Set Error_Posted in Error node, helps error recovery.
bosch [Mon, 8 Oct 2001 16:15:06 +0000 (16:15 +0000)]
* atree.adb: Set Error_Posted in Error node, helps error recovery.

* par-endh.adb (Output_End_Expected): We should also not test
Error_Posted on the Error node, since now it is always set.

* cstand.adb (Create_Standard): Set Etype of Error to Any_Type
to help error recovery. Part of general work on 9407-004.

* par.adb: Add ??? for misuse of error

* sem_res.adb:
(Resolve): Defend against Error, fixes 9407-003.
(Resolve_Discrete_Subtype_Indication): Defend against Error.

* sinfo.ads (N_Error): Now has Etype field (which will be set
to Any_Type to help error recovery).

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

22 years ago * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
bosch [Mon, 8 Oct 2001 14:06:05 +0000 (14:06 +0000)]
* misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
Consistently set MEM attributes from expression; fixes
bootstrap failure on x86.

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

22 years ago * 5oosinte.adb: Add 2001 to copyright notice.
bosch [Mon, 8 Oct 2001 13:42:41 +0000 (13:42 +0000)]
* 5oosinte.adb: Add 2001 to copyright notice.

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

22 years ago2001-10-08 Geert Bosch (bosch@gnat.com)
bosch [Mon, 8 Oct 2001 13:24:19 +0000 (13:24 +0000)]
2001-10-08  Geert Bosch  (bosch@gnat.com)

* ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].

* csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].

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

22 years ago * gcc_release: Copy from 3.0 branch. Add support for building the
jsm28 [Mon, 8 Oct 2001 07:58:43 +0000 (07:58 +0000)]
* gcc_release: Copy from 3.0 branch.  Add support for building the
weekly snapshots on gcc.gnu.org.

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

22 years agoDaily bump.
gccadmin [Mon, 8 Oct 2001 07:35:10 +0000 (07:35 +0000)]
Daily bump.

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

22 years ago * cppmacro.c (funlike_invocation_p): Move some logic to caller
neil [Mon, 8 Oct 2001 06:15:14 +0000 (06:15 +0000)]
* cppmacro.c (funlike_invocation_p): Move some logic to caller
in enter_macro_context.  Create a padding token in its own context
if necessary when the search for '(' fails.
(enter_macro_context): Update.

* gcc.dg/cpp/spacing1.c: Update test.

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

22 years ago * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
jsm28 [Sun, 7 Oct 2001 21:53:31 +0000 (21:53 +0000)]
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting.  Fix
spelling.  Give names to function arguments in documentation.  Use
(void) prototypes in documentation.
* functions.texi: Regenerate.

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

22 years agoconfig:
jsm28 [Sun, 7 Oct 2001 18:02:46 +0000 (18:02 +0000)]
config:
* acinclude.m4: Fix spelling error of "separate" as "seperate".

gcc:
* ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
genmultilib, toplev.c: Fix spelling errors of "separate" as
"seperate", and corresponding spelling errors of related words.

gcc/ada:
* 5oosinte.adb: Fix spelling error of "separate" as "seperate".

gcc/testsuite:
* gcc.c-torture/unsorted/unsorted.exp, lib/file-format.exp: Fix
spelling errors of "separate" as "seperate".

libffi:
* src/x86/ffi.c: Fix spelling error of "separate" as "seperate".

libjava:
* defineclass.cc, java/awt/image/ColorModel.java,
java/awt/image/SampleModel.java, java/lang/Package.java,
java/security/cert/X509Extension.java: Fix spelling errors of
"separate" as "seperate", and corresponding spelling errors of
related words.

libstdc++-v3:
* docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
spelling errors of "separate" as "seperate", and corresponding
spelling errors of related words.
* docs/html/faq/index.txt: Regenerate.

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

22 years ago * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
ghazi [Sun, 7 Oct 2001 16:51:11 +0000 (16:51 +0000)]
* builtins.c (expand_builtin_setjmp_receiver): Const-ify.
* c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
Likewise.
* c-dump.c (dump_option_value_info): Likewise.
* c-format.c (format_length_info, format_char_info,
format_flag_spec, format_flag_pair, format_kind_info): Likewise.
* collect2.c (names): Likewise.
* cppdefault.h (default_include): Likewise.
* cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
* flow.c (life_analysis): Likewise.
* gcc.c (dir_separator_str, modify_target, option_map,
target_option_translations, spec_list_1, extra_specs_1,
init_spec): Likewise.
* gcov.c (gcov_version_string): Likewise.
* genattr.c (write_units): Likewise.
* genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
* gengenrtl.c (rtx_definition, defs): Likewise.
* genrecog.c (pred_table): Likewise.
* global.c (global_alloc): Likewise.
* lcm.c (optimize_mode_switching): Likewise.
* local-alloc.c (find_free_reg): Likewise.
* params.h (param_info): Likewise.
* predict.c (predictor_info): Likewise.
* protoize.c (unexpansion_struct): Likewise.
* real.c (bmask): Likewise.
* recog.h (insn_operand_data, insn_data): Likewise.
* regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
* stmt.c (expand_nl_goto_receiver): Likewise.
* toplev.c (da, debug_args, lang_opt, documented_lang_options,
target_switches, target_options): Likewise.
* tradcif.y (token, tokentab2, yylex): Likewise.
* tree.h (attribute_spec): Likewise.

* alpha.c (override_options, alpha_lookup_xfloating_lib_func):
Likewise.
* arc.c (arc_output_function_epilogue): Likewise.
* arm.c (processors, all_cores, all_architectures,
arm_override_options, isr_attribute_arg, isr_attribute_args,
arm_isr_value): Likewise.
* avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
Likewise.
* c4x.c (c4x_int_reglist): Likewise.
* d30v.c (override_options): Likewise.
* h8300.c (shift_insn): Likewise.
* i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
* i386.h (processor_costs, ix86_cost): Likewise.
* m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
* m68hc11.h (processor_costs, m68hc11_cost): Likewise.
* m68k.c (codes_68881, codes_FPA): Likewise.
* m88k.c (mode_from_align, max_from_align, all_from_align,
best_from_align, m_options): Likewise.
* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
* mcore.c (mode_from_align): Likewise.
* mips/elf64.h (UNIQUE_SECTION): Likewise.
* mips/iris6gld.h (UNIQUE_SECTION): Likewise.
* mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
* mips.h (mips_regno_to_class): Likewise.
* ns32k.c (scales): Likewise.
* pa.c (import_string, magic_milli): Likewise.
* rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
* sparc.c (leaf_reg_remap, sparc_override_options,
reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
Likewise.
* sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.

cp:
* class.c (build_vtable_entry_ref): Const-ify.
* decl.c (predefined_identifier,
initialize_predefined_identifiers): Likewise.
* init.c (build_new_1): Likewise.
* lex.c (cplus_tree_code_type, cplus_tree_code_length, resword):
Likewise.

f:
* bad.c (_ffebad_message_, ffebad_messages_): Const-ify.
* bld.c (ffebld_arity_op_): Likewise.
* bld.h (ffebld_arity_op_): Likewise.
* com.c (ffecom_init_0): Likewise.
* intdoc.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
_ffeintrin_imp_, names, gens, imps, specs, cc_pair,
cc_descriptions, cc_summaries): Likewise.
* intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
_ffeintrin_imp_, ffeintrin_names_, ffeintrin_gens_,
ffeintrin_imps_, ffeintrin_specs_): Likewise.

java:
* jcf-io.c (format_uint): Const-ify.
* lang.c (java_tree_code_type, java_tree_code_length): Likewise.
* lex.c (java_get_line_col): Likewise.
* parse.y (build_incdec): Likewise.

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

22 years agoFix reload conflict testing to take correct order of output reloads into account.
bernds [Sun, 7 Oct 2001 15:05:20 +0000 (15:05 +0000)]
Fix reload conflict testing to take correct order of output reloads into account.

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

22 years agoinclude:
ghazi [Sun, 7 Oct 2001 14:45:04 +0000 (14:45 +0000)]
include:
* demangle.h (demangler_engine): Const-ify.
* libiberty.h (buildargv): Likewise.

libiberty:
* argv.c (buildargv, tests, main): Const-ify.
* cp-demangle.c (operator_code): Likewise.
* cplus-dem.c (optable, libiberty_demanglers,
cplus_demangle_set_style, cplus_demangle_name_to_style,
print_demangler_list): Likewise.
* hashtab.c (higher_prime_number): Likewise.
* strcasecmp.c (charmap): Likewise.
* strerror.c (error_info, strerror, main): Likewise.
* strncasecmp.c (charmap): Likewise.
* strsignal.c (signal_info): Likewise.

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

22 years ago * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
jsm28 [Sun, 7 Oct 2001 11:05:45 +0000 (11:05 +0000)]
* doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
NULL_TREE inside @code.

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

22 years ago * doc/gcc.texi: Document consistent style of "32-bit",
jsm28 [Sun, 7 Oct 2001 10:36:17 +0000 (10:36 +0000)]
* doc/gcc.texi: Document consistent style of "32-bit",
"Objective-C", and "@code{NULL}".

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

22 years agoDaily bump.
gccadmin [Sun, 7 Oct 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * cpplex.c (enum spell_type): Add SPELL_NUMBER.
zack [Sat, 6 Oct 2001 23:11:27 +0000 (23:11 +0000)]
* cpplex.c (enum spell_type): Add SPELL_NUMBER.
(cpp_token_len, cpp_spell_token, cpp_output_token,
_cpp_equiv_tokens): Handle it.
* cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
* cppexp.c (_cpp_parse_expr): Use the correct operator code in
error messages.

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

22 years ago * gcc.c (default_compilers): Remove .ada.
kenner [Sat, 6 Oct 2001 11:48:02 +0000 (11:48 +0000)]
* gcc.c (default_compilers): Remove .ada.

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

22 years ago * doc/cppinternals.texi: Update.
neil [Sat, 6 Oct 2001 11:29:51 +0000 (11:29 +0000)]
* doc/cppinternals.texi: Update.

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

22 years ago * gcc.c (main): Set this_file_error if the appropriate
zack [Sat, 6 Oct 2001 08:01:50 +0000 (08:01 +0000)]
* gcc.c (main): Set this_file_error if the appropriate
compiler for a language has not been installed.

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

22 years agoDaily bump.
gccadmin [Sat, 6 Oct 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago* config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
uweigand [Sat, 6 Oct 2001 00:18:18 +0000 (00:18 +0000)]
* config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.

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

22 years ago * java/text/DecimalFormat.java (format): Use localized minus sign
tromey [Fri, 5 Oct 2001 21:25:23 +0000 (21:25 +0000)]
* java/text/DecimalFormat.java (format): Use localized minus sign
when generating exponent; never use `+'.  Use floor to compute
exponent.

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

22 years ago2001-10-05 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 5 Oct 2001 21:24:04 +0000 (21:24 +0000)]
2001-10-05  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Document libf2c being built as a shared library.
Use of array elements in bounds of adjustable arrays ditto.

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

22 years ago * adaint.h: Small formatting fix.
bosch [Fri, 5 Oct 2001 21:07:05 +0000 (21:07 +0000)]
    * adaint.h: Small formatting fix.

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

22 years ago * gccbug.in (CATEGORIES): Add ada.
jsm28 [Fri, 5 Oct 2001 20:43:39 +0000 (20:43 +0000)]
* gccbug.in (CATEGORIES): Add ada.

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

22 years ago * config/stormy16/stormy-abi: Document abi changes.
clm [Fri, 5 Oct 2001 20:33:09 +0000 (20:33 +0000)]
    * config/stormy16/stormy-abi:  Document abi changes.
        * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
        (ICALL_REGS): New register class.
        (NUM_ARGUMENT_REGISTERS): Now 6.
        (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
        in registers.
        (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
        * config/stormy16.md (call_internal, call_value_internal,
        indirect_jump): Use new 'z' constraint.

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

22 years ago * doc/cppinternals.texi: Update.
neil [Fri, 5 Oct 2001 20:09:42 +0000 (20:09 +0000)]
* doc/cppinternals.texi: Update.

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

22 years ago2001-10-05 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 5 Oct 2001 18:43:43 +0000 (18:43 +0000)]
2001-10-05  Phil Edwards  <pme@gcc.gnu.org>

* config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
unused function.
* config/cpu/arm/bits/atomicity.h:  Likewise.
* config/cpu/generic/bits/atomicity.h:  Likewise.
* config/cpu/i486/bits/atomicity.h:  Likewise.
* config/cpu/ia64/bits/atomicity.h:  Likewise.
* config/cpu/mips/bits/atomicity.h:  Likewise.
* config/cpu/powerpc/bits/atomicity.h:  Likewise.
* config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
* config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.

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

22 years ago * dwarf2out.c (FRAME_BEGIN_LABEL): New.
rth [Fri, 5 Oct 2001 18:20:15 +0000 (18:20 +0000)]
    * dwarf2out.c (FRAME_BEGIN_LABEL): New.
        (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
        the gas section-name-as-label feature.

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

22 years ago * java/util/zip/Adler32.java: Merge with Classpath
mark [Fri, 5 Oct 2001 15:21:35 +0000 (15:21 +0000)]
* java/util/zip/Adler32.java: Merge with Classpath
* java/util/zip/CRC32.java: Ditto
* java/util/zip/Checksum.java: Ditto
* java/util/zip/DataFormatException.java: Ditto
* java/util/zip/ZipException.java: Ditto

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

22 years ago2001-10-04 Martin Kahlert <martin.kahlert@infineon.com>
tromey [Fri, 5 Oct 2001 14:23:06 +0000 (14:23 +0000)]
2001-10-04  Martin Kahlert  <martin.kahlert@infineon.com>

* jni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size

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

22 years ago * doc/cppinternals.texi: Update.
neil [Fri, 5 Oct 2001 13:56:00 +0000 (13:56 +0000)]
* doc/cppinternals.texi: Update.

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

22 years ago * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
kenner [Fri, 5 Oct 2001 12:14:22 +0000 (12:14 +0000)]
* config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
to ensure valid SImode constants.

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

22 years agoDaily bump.
gccadmin [Fri, 5 Oct 2001 07:16:47 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-10-05 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 5 Oct 2001 06:51:46 +0000 (06:51 +0000)]
2001-10-05  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Move libg2c.so and libg2c.{l}a to
the same directory at install.

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

22 years agoOops, removed duplicate entries that I had moved into earlier patches.
aoliva [Fri, 5 Oct 2001 04:23:22 +0000 (04:23 +0000)]
Oops, removed duplicate entries that I had moved into earlier patches.

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

22 years ago* Makefile.in (c-decl.o): Depend on tree-inline.h.
aoliva [Fri, 5 Oct 2001 04:20:27 +0000 (04:20 +0000)]
* Makefile.in (c-decl.o): Depend on tree-inline.h.
(c-lang.o): Likewise, as well as insn-config.h and integrate.h.
* c-decl.c: Include tree-inline.h.
(c_expand_body): Call optimize_inline_calls. Determine whether
a function is inlinable upfront, and only clear
DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
* c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
(c_disregard_inline_limits): New function.
(inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
(c_post_options): Enable tree inlining if inlining is enabled.
Don't inline trees when instrumenting functions.
(c_init): Initialize lang_disregard_inline_limits and
lang_cannot_inline_tree_fn.
* tree-inline.c (initialize_inlined_parameters): Handle calls
with fewer arguments than declared parameters, and fewer
parameters than passed arguments.  Don't assume value is a
DECL.
(declare_return_variable): Convert return value back to the
original type, if it was promoted.
(tree_inlinable_function_p): New function.
(inlinable_function_p): Don't look at DECL_INLINE if we're
inlining all functions.  Make it work with a NULL id.
Re-check DECL_UNINLINABLE after language-specific checks.
(varargs_function_p): Move back to cp/tree.c.
* tree-inline.h (tree_inlinable_function_p): Declare it.
(varargs_function_p): Removed declaration.
* integrate.h (function_attribute_inlinable_p): Declare it.
* integrate.c (function_attribute_inlinable_p): Export it.
(save_for_inline): Don't bother to prepare argvec when not
inlining.
* cse.c (check_for_label_ref): Don't check deleted labels.

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

22 years ago* gcc.c-torture/execute/20010122-1.c: Don't assume alloca() is
aoliva [Fri, 5 Oct 2001 04:20:06 +0000 (04:20 +0000)]
* gcc.c-torture/execute/20010122-1.c: Don't assume alloca() is
enough to avoid inlining.

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

22 years ago* Makefile.in (tree-inline.o): Depend on newly-included headers.
aoliva [Fri, 5 Oct 2001 03:48:18 +0000 (03:48 +0000)]
* Makefile.in (tree-inline.o): Depend on newly-included headers.
* tree-inline.c: Include headers needed for the functions moved in.
(struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
(remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
(copy_body, initialize_inlined_parameters): Likewise.
(declare_return_variable, inlinable_function_p): Likewise.
(expand_call_inline, expand_calls_inline): Likewise.
(optimize_inline_calls, clone_body): Likewise.
(walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
(copy_tree_r, remap_save_expr): Likewise.

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

22 years ago* optimize.c (struct inline_data): Moved to ../tree-inline.c.
aoliva [Fri, 5 Oct 2001 03:47:57 +0000 (03:47 +0000)]
* optimize.c (struct inline_data): Moved to ../tree-inline.c.
(INSNS_PER_STMT): Likewise.
(remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
(copy_body, initialize_inlined_parameters): Likewise.
(declare_return_variable, inlinable_function_p): Likewise.
(expand_call_inline, expand_calls_inline): Likewise.
(optimize_inline_calls, clone_body): Likewise.
* tree.c (walk_tree): Moved to ../tree-inline.c.
(walk_tree_without_duplicates): Likewise.
(copy_tree_r, remap_save_expr): Likewise.

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

22 years ago* Makefile.in (OBJS): Added tree-inline.o.
aoliva [Fri, 5 Oct 2001 02:49:16 +0000 (02:49 +0000)]
* Makefile.in (OBJS): Added tree-inline.o.
(c-common.o): Depend on tree-inline.h.
(tree-inline.o): New target.
* c-common.c: Include tree-inline.h.
(c_mark_lang_decl): Don't mark saved_tree.
(c_common_lang_init): Set lang_anon_aggr_type_p.
* c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
(struct c_lang_decl): Moved saved_tree to tree_decl.
* ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
* integrate.h (function_attribute_inlinable_p): Declare it.
* integrate.c (function_attribute_inlinable_p): Export it.
* tree-inline.c: New file.  Define variables declared in...
* tree-inline.h: New file.  Declare functions to be moved to
tree-inline.c.  Define macros and declare types and hooks for
language-specific tree inlining.
(flag_inline_trees): Moved definition from cp/decl2.c.
* tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
(TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
(struct tree_decl): Moved saved_tree from c_lang_decl and
inlined_fns from C++'s lang_decl.

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

22 years ago* Make-lang.in (cp/decl.o, cp/tree.o): Depend on tree-inline.h.
aoliva [Fri, 5 Oct 2001 02:48:47 +0000 (02:48 +0000)]
* Make-lang.in (cp/decl.o, cp/tree.o): Depend on tree-inline.h.
(cp/pt.o, cp/semantics.o, cp/optimize.o): Likewise.
* cp-tree.h (lang_decl): Moved inlined_fns to tree_decl.
(TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved to ../tree.h.
(flag_inline_trees): Moved declaration to ../tree-inline.h.
(walk_tree): Moved declaration to ../tree-inline.h.
(walk_tree_without_duplicates, copy_tree_r): Likewise.
(remap_save_expr): Likewise.
* decl.c: Include tree-inline.h.
(lang_mark_tree): Don't mark inlined_fns.
* decl2.c (flag_inline_trees): Moved defn to ../tree-inline.c.
* optimize.c: Include tree-inline.h.
(optimize_inline_calls): Move declaration to ../tree.h, as
non-static.
(remap_decl): Use language-independent constructs and hooks.
(remap_block, copy_body_r, declare_return_variable): Likewise.
(inlinable_function_p): Likewise.  Don't test for
DECL_LANG_SPECIFIC before DECL_INLINED_FNS as inlined_fns is
no longer language-specific.
(optimize_inline_calls): Likewise.  Make it non-static.  Moved
call of dump_function to...
(optimize_function): Here...
(clone_body): New function, extracted from...
(maybe_clone_body): ... here.  Build decl_map locally and pass
it on to clone_body.
* pt.c, semantics.c: Include tree-inline.h.
* tree.c: Likewise.
(cp_walk_subtrees): New language-specific hook for tree inlining.
(cp_cannot_inline_tree_fn, cp_add_pending_fn_decls,
cp_is_overload_p, cp_auto_var_in_fn_p,
cp_copy_res_decl_for_inlining): Likewise.
(walk_tree): Move language-specific constructs into...
(cp_walk_subtrees): this new function.
(copy_tree_r): Use language-independent constructs and hooks.
(init_tree): Initialize tree inlining hooks.
(remap_save_expr): Adjust prototype so that the declaration
does not require the definition of splay_tree.

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

22 years ago * java/lang/reflect/Modifier.java: Merge with Classpath
mark [Fri, 5 Oct 2001 00:16:03 +0000 (00:16 +0000)]
* java/lang/reflect/Modifier.java: Merge with Classpath

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

22 years ago * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
ljrittle [Thu, 4 Oct 2001 22:11:47 +0000 (22:11 +0000)]
* Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.

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

22 years ago2001-10-04 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 4 Oct 2001 20:10:46 +0000 (20:10 +0000)]
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Describe DR #22, and a workaround.
* docs/html/faq/index.txt:  Regenerate.

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

22 years ago2001-10-04 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 4 Oct 2001 20:03:22 +0000 (20:03 +0000)]
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
* docs/html/17_intro/license.html:  New file.  Explain the licenses
in use.

* docs/html/configopts.html:  Link to license.html.
* 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/howto.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/ext/sgiexts.html:  Likewise.
* docs/html/faq/index.html:  Likewise.  New question, linking to
the new license.html.

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

22 years ago2001-10-04 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 4 Oct 2001 19:54:54 +0000 (19:54 +0000)]
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
* 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/howto.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.  Spacing fix.

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

22 years ago2001-10-04 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
toon [Thu, 4 Oct 2001 19:49:54 +0000 (19:49 +0000)]
2001-10-04  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* lib/g77.exp: set libg2c_dir correctly.

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

22 years ago * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
bosch [Thu, 4 Oct 2001 19:30:04 +0000 (19:30 +0000)]
* sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
Arg is int, not FILE *, in dummy version of functions.

* adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
Arg is int, not FILE *.

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

22 years ago * 3lsoccon.ads: Added file, missed with initial check ins.
bosch [Thu, 4 Oct 2001 17:50:42 +0000 (17:50 +0000)]
* 3lsoccon.ads: Added file, missed with initial check ins.

* 4lintnam.ads: Fix header format.
Change Linux to GNU/Linux.

* 5iosinte.adb: Change Linux to GNU/Linux.

* 5iosinte.ads: Change Linux to GNU/Linux.

* 5itaprop.adb: Change Linux to GNU/Linux.

* 5itaspri.ads: Change Linux to GNU/Linux.
Update copyright notice.

* 5lintman.adb: Change Linux to GNU/Linux.

* 5lml-tgt.adb: Change Linux to GNU/Linux.

* 5losinte.ads: Change Linux to GNU/Linux.

* 5lsystem.ads: Change Linux to GNU/Linux.

* 5qosinte.adb: Change Linux to GNU/Linux.

* 5qosinte.ads: Change Linux to GNU/Linux.

* 5qparame.ads: Change Linux to GNU/Linux.

* 5qtaprop.adb: Change Linux to GNU/Linux.

* 5qtaspri.ads: Change Linux to GNU/Linux.
Add 2001 to copyright notice.

* 5vintman.ads: Change Linux to GNU/Linux.
Fix header format.  Add 2001 to copyright notice.

* g-soccon.ads: Change Linux to GNU/Linux.

* g-trasym.ads: Change Linux to GNU/Linux.
Add 2001 to copyright notice.

* memtrack.adb: Change Linux to GNU/Linux.

* s-intman.ads: Change Linux to GNU/Linux.
Add 2001 to copyright notice.  Fix header format.

* s-stache.adb: Change Linux to GNU/Linux.

* adaint.c: Change Linux to GNU/Linux.

* cio.c: Change Linux to GNU/Linux.

* cstreams.c: Change Linux to GNU/Linux.

* init.c: Change Linux to GNU/Linux.

* gmem.c: Change Linux to GNU/Linux.

* tracebak.c: Change Linux to GNU/Linux.

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

22 years ago * doc/cppinternals.texi: Update.
neil [Thu, 4 Oct 2001 12:22:03 +0000 (12:22 +0000)]
* doc/cppinternals.texi: Update.

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

22 years ago2001-10-04 Eric Christopher <echristo@redhat.com>
echristo [Thu, 4 Oct 2001 08:38:41 +0000 (08:38 +0000)]
2001-10-04  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (init_cumulative_args): Remember to set
cum->prototype.
* config.gcc: Redo linux configuration. Add target_cpu_default
of soft-float to all mipsisa32 combinations and tx39.
* config/mips/linux.h: Remove include of mips.h.

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

22 years agoDaily bump.
gccadmin [Thu, 4 Oct 2001 07:38:12 +0000 (07:38 +0000)]
Daily bump.

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

22 years ago * java/io/SequenceInputStream.java: Merge with Classpath
mark [Thu, 4 Oct 2001 05:34:47 +0000 (05:34 +0000)]
* java/io/SequenceInputStream.java: Merge with Classpath
* java/io/StringBufferInputStream.java: Ditto
* java/util/Collections.java: Remerge with Classpath

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

22 years ago2001-10-03 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 4 Oct 2001 02:58:39 +0000 (02:58 +0000)]
2001-10-03  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_assignment): Use lvalue's original TYPE when
building the final COMPOUND_EXPR.
(try_reference_assignconv): Fixed leading comment.

( http://gcc.gnu.org/ml/java-patches/2001-q4/msg00027.html )

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

22 years ago * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
ljrittle [Thu, 4 Oct 2001 02:20:29 +0000 (02:20 +0000)]
    * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
        HOST_LDFLAGS and HOST_CPPFLAGS.

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

22 years ago2001-10-03 Ziemowit Laski <zlaski@apple.com>
shebs [Wed, 3 Oct 2001 22:05:57 +0000 (22:05 +0000)]
2001-10-03  Ziemowit Laski  <zlaski@apple.com>

        * c-parse.in (objc_inherit_code, objc_pq_context,
        objc_public_flag): Make static.
        (objc_interface_context, objc_implementation_context,
        objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
        global tree array in objc/objc-act.[ch].
        (methoddef): Remove unnecessary code.

        * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
        Hoist struct definitions to objc-act.h.
        (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
        cat_count): Place declaration in objc-act.h.
        (objc_tree_index): Move enumeration to objc-act.h.
        (objc_global_trees): Place declaration and macro accessors in
        objc-act.h.
        (implementation_context): Remove duplicate; use
        objc_implementation_context instead:
        (method_context): Remove duplicate; use objc_method_context
        instead.
        (objc_ellipsis_node, objc_method_prototype_template,
        implemented_classes, function_type): Move global vars to
        objc_global_trees.
        (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
        (build_message_expr): Move actual construction of ObjC message
        send nodes to finish_message_expr.
        (finish_message_expr): New routine, contains code formerly in
        build_message_expr.
        * objc/objc-act.h (finish_message_expr): New prototype.
        (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
        declarations; these vars are now part of objc_global_trees.
        (objc_tree_index, objc_global_trees): Move definitions from
        objc-act.c.
        * objc/objc-tree.def: Update copyright info.

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

22 years ago * include/bits/stl_threads.h (_Atomic_swap): New function.
ljrittle [Wed, 3 Oct 2001 21:19:31 +0000 (21:19 +0000)]
    * include/bits/stl_threads.h (_Atomic_swap): New function.
    (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
    * testsuite/ext/rope.cc: New file.

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

22 years ago * java/lang/ref/natReference.cc (add_to_hash): Set n->next before
tromey [Wed, 3 Oct 2001 16:47:02 +0000 (16:47 +0000)]
* java/lang/ref/natReference.cc (add_to_hash): Set n->next before
setting *link.

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

22 years ago * dwarf2asm.c (unaligned_integer_asm_op): Abort if
wehle [Wed, 3 Oct 2001 16:23:57 +0000 (16:23 +0000)]
* dwarf2asm.c (unaligned_integer_asm_op): Abort if
op is NULL.
* sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
only if TARGET_ARCH64.

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

22 years ago * rtti.c (get_tinfo_decl): Call typeinfo_in_lib_p with the type used
danglin [Wed, 3 Oct 2001 15:18:25 +0000 (15:18 +0000)]
* rtti.c (get_tinfo_decl): Call typeinfo_in_lib_p with the type used
to build the declaration instead of the declaration itself.

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

22 years ago * gij.cc (version): Use GCJVERSION.
bryce [Wed, 3 Oct 2001 11:42:28 +0000 (11:42 +0000)]
* gij.cc (version): Use GCJVERSION.

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

22 years ago * resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout.
bryce [Wed, 3 Oct 2001 07:54:34 +0000 (07:54 +0000)]
* resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout.

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

22 years agoDaily bump.
gccadmin [Wed, 3 Oct 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-10-03 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 3 Oct 2001 06:10:50 +0000 (06:10 +0000)]
2001-10-03  Toon Moene  <toon@moene.indiv.nluug.nl>

gcc/f/
* Make-lang.in: Remove reference to FORTRAN_INIT.
* g77spec.c: Add reference to FORTRAN_INIT.

libf2c/
* Makefile.in: Add "AR" reference, change
from frtbegin.o to libfrtbegin.a.
* libF77/Makefile.in: Ditto.

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

22 years ago * misc.c (insert_default_attributes): Add dummy version.
bosch [Tue, 2 Oct 2001 23:33:26 +0000 (23:33 +0000)]
* misc.c (insert_default_attributes): Add dummy version.

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

22 years agoFix some problems with previous checkin
bernds [Tue, 2 Oct 2001 23:15:55 +0000 (23:15 +0000)]
Fix some problems with previous checkin

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

22 years ago * MAINTAINERS (Various maintainers: Ada front end): Added myself.
billingd [Tue, 2 Oct 2001 22:57:35 +0000 (22:57 +0000)]
* MAINTAINERS (Various maintainers: Ada front end): Added myself.

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

22 years ago * Makefile.am (core_java_source_files): add InheritableThreadLocal
mark [Tue, 2 Oct 2001 22:49:59 +0000 (22:49 +0000)]
* Makefile.am (core_java_source_files): add InheritableThreadLocal
* Makefile.in: regenerate
* gcj/javaprims.h: ditto
* java/lang/InheritableThreadLocal.java: new class from Classpath
* java/lang/Thread.java Thread (Thread, ThreadGroup, Runnable, String):
call InheritableThreadLocal.newChildThread()

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

22 years ago * gcc.dg/cpp/macro11.c: New test.
neil [Tue, 2 Oct 2001 22:30:15 +0000 (22:30 +0000)]
* gcc.dg/cpp/macro11.c: New test.

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

22 years ago * MAINTAINERS (Various maintainers: Ada front end): Added myself.
bosch [Tue, 2 Oct 2001 21:32:12 +0000 (21:32 +0000)]
* MAINTAINERS (Various maintainers: Ada front end): Added myself.

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

22 years ago * Makefile.am: Add new classes
mark [Tue, 2 Oct 2001 20:59:31 +0000 (20:59 +0000)]
* Makefile.am: Add new classes
(core_java_source_files): CharSequence
(ordinary_java_source_files): Authenticator, PasswordAuthentication
* Makefile.in: regenerate
* gcj/javaprims.h: ditto
* java/lang/CharSequence: new class from Classpath
* java/lang/String.java: implements CharSequence
(subSequence (int,int)): new method
* java/lang/SubString.java: implements CharSequence
(subSequence (int,int)): new method
remerge comments with Classpath
* java/net/Authenticator.java: new class from Classpath
* java/net/PasswordAuthentication.java: ditto

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

22 years ago2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 2 Oct 2001 18:44:50 +0000 (18:44 +0000)]
2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>

* config/locale/time_members_gnu.h: Remove.
* config/locale/time_members_generic.h: Remove.
* config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.cc: Same.
* include/bits/locale_facets.h: Add data members.
(__timepunct::_M_put_helper): Change signature.
(__timepunct::_M_date_formats): Same.
(__timepunct::_M_time_formats): Same.
(__timepunct::_M_ampm): Add.
(__timepunct::_M_date_time_formats): Add.
(time_get::_M_extract_via_format): Add.
(time_get::_M_extract_time): Change to...
(time_get::_M_extract_num): ... this, modify signature.
* include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
(time_get::do_get_time): Fix.
(time_get::do_get_date): Fix.

* acinclude.m4: Remove CTIME_H.
* aclocal.m4: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* configure: Regenerate.

* testsuite/22_locale/time_get_members_char.cc: Fix.
* testsuite/22_locale/time_get_members_wchar_t.cc: Add.
* testsuite/22_locale/time_put_members_wchar_t.cc: Add.

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

22 years ago2001-10-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 2 Oct 2001 16:54:26 +0000 (16:54 +0000)]
2001-10-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* libF77/Makefile.in: Make .lo the target of compilation.
* libI77/Makefile.in: Ditto.
* libU77/Makefile.in: Ditto.

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

22 years ago * decl2.c (cxx_decode_option): Add 'else'.
jason [Tue, 2 Oct 2001 15:44:55 +0000 (15:44 +0000)]
    * decl2.c (cxx_decode_option): Add 'else'.

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

22 years ago * spew.c (end_input): No longer static.
jason [Tue, 2 Oct 2001 15:43:44 +0000 (15:43 +0000)]
    * spew.c (end_input): No longer static.
        * cp-tree.h: Declare it.
        * parse.y (datadef): Add "error END_OF_SAVED_INPUT" expansion.

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:57:59 +0000 (14:57 +0000)]
New Language: Ada

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:52:00 +0000 (14:52 +0000)]
New Language: Ada

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

22 years ago * gcj/javaprims.h: Rebuilt class list.
tromey [Tue, 2 Oct 2001 14:31:47 +0000 (14:31 +0000)]
* gcj/javaprims.h: Rebuilt class list.
* boehm.cc (_Jv_GCRegisterDisappearingLink): New function.
(_Jv_GCCanReclaimSoftReference): New function.
* include/jvm.h (_Jv_GCRegisterDisappearingLink): Declare.
(_Jv_GCCanReclaimSoftReference): Declare.
* java/lang/ref/Reference.java (referent): Now a RawData.
(create): Renamed from `created'.  Added object argument.
(Reference): Don't initialize `referent' here.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added new file.
* java/lang/ref/natReference.cc: New file.

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:30:19 +0000 (14:30 +0000)]
New Language: Ada

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:23:52 +0000 (14:23 +0000)]
New Language: Ada

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:18:40 +0000 (14:18 +0000)]
New Language: Ada

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:08:34 +0000 (14:08 +0000)]
New Language: Ada

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 13:55:47 +0000 (13:55 +0000)]
New Language: Ada

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 13:46:42 +0000 (13:46 +0000)]
New Language: Ada

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

22 years ago * prims.cc (_Jv_NewMultiArrayUnchecked): New method.
tromey [Tue, 2 Oct 2001 13:44:32 +0000 (13:44 +0000)]
* prims.cc (_Jv_NewMultiArrayUnchecked): New method.
(_Jv_NewMultiArray): Use it.  Check each array dimension.
(_Jv_NewMultiArray): Likewise.
* java/lang/reflect/natMethod.cc (can_widen): Nothing promotes to
`char'.
* java/lang/reflect/natArray.cc (newInstance): Throw
IllegalArgumentException if there are no dimensions.

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

22 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 13:35:49 +0000 (13:35 +0000)]
New Language: Ada

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

22 years ago * cpphash.h: Update comments.
neil [Tue, 2 Oct 2001 12:57:24 +0000 (12:57 +0000)]
* cpphash.h: Update comments.
(cpp_context): Update.
(spec_nodes): Remove n__Pragma.
* cppinit.c (cpp_create_reader): Update.
(builtin_array): Add _Pragma.
* cpplib.h: Update comments.
(NODE_DISABLED, BT_PRAGMA): New.
(cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
* cppmacro.c (struct cpp_macro): Remove disabled.
(builtin_macro): Return int, handle _Pragma, push the new token
on the context stack.
(funlike_invocation_p): Unconstify, update.
(enter_macro_context): Handle builtins here.
(replace_args, push_token_context, push_ptoken_context):
Update for prototype changes.
(_cpp_pop_context): Update.
(cpp_get_token): Don't handle buitins, nor _Pragma here.
(cpp_sys_macro_p): Update.
(_cpp_free_definition): Clear disabled flag.
(_cpp_create_definition): Upate.
* cppmain.c: Update comments.

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

22 years agoNew language: Ada
kenner [Tue, 2 Oct 2001 12:35:48 +0000 (12:35 +0000)]
New language: Ada

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

22 years ago * doc/invoke.texi (i386 Options): Document x86-64 options.
hubicka [Tue, 2 Oct 2001 10:59:42 +0000 (10:59 +0000)]
* doc/invoke.texi (i386 Options): Document x86-64 options.
(i386 and x86-64 Options): Rename i386 options section.

* config/i386/i386.h (TARGET_UNWIND_INFO): New.
(TARGET_SWITCHES): Add -munwind-info.
(MASK_NO_UNWIND_INFO): New.
(NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
biarch compilation.
(ASM_OUTPUT_DOUBLE_INT): New.

* config/i386/linux64.h: New spec file for Linux x86-64 support.
* config.gcc: Fix tm_file settings for x86-64.
* config/i386/x86-64.h: New file with OS independent x86-64
definitions.
* config/i386/biarch64.h: New file used to configure compiler
to biarch/64bit compilation.

* config/i386/i386.c: (override_options): Set flags default
for 64bit compilation.

* i386.c (legitimize_pic_address): Add missing bits of 64bit support.
(ix86_expand_int_movcc): Optimize DImode conditional moves with
constants on x86_64.
(ix86_attr_length_immediate_default): Support MODE_DI.
* i386.md (fixdi splitter): Add missing "&& 1" in splitter
condition.
(indirect_jump, tablejump): Turn into expander.

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

22 years ago * c-common.c (c_format_attribute_table): Make format and
jsm28 [Tue, 2 Oct 2001 07:19:47 +0000 (07:19 +0000)]
* c-common.c (c_format_attribute_table): Make format and
format_arg attributes apply to function types rather than to
decls.
(is_valid_printf_arglist): Construct an attribute list and pass
that to check_function_format rather than a name.
* c-common.h (check_function_format): Adjust prototype.
* c-decl.c (duplicate_decls): Preserve attributes from type of
built-in decl when allowing for harmless conflict in types.
* c-format.c (record_function_format,
record_international_format, function_format_list,
international_format_info, international_format_list): Remove.
(function_format_info): Remove next, name and assembler_name.
Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
(decode_format_attr): New.
(handle_format_attribute): Handle receiving a type rather than a
decl.  Call decode_format_attr.  Store format information in a
function_format_info.
(handle_format_arg_attribute): Correct comment.  Handle receiving
a type rather than a decl.  Use unsigned HOST_WIDE_INT for
arg_num.
(check_format_info_recurse, check_format_info_main): Take argument
numbers as unsigned HOST_WIDE_INT.
(check_function_format): Take a list of attributes from the
function type rather than a name or assembler name.  Check for
format attributes in that list and the attributes on the type of
the current function rather than looking through
function_format_list.
(check_format_info): Use unsigned HOST_WIDE_INT for argument
numbers.
(check_format_info_recurse): Take format_arg attributes from the
type of the function calls rather than using
international_format_list.  Allow for multiple format_arg
attributes.
* c-typeck.c (build_function_call): Pass type attributes to
check_function_format rather than name or assembler name.  Don't
require there to be a name or assembler name to check formats.

cp:
* call.c (build_over_call), typeck.c (build_function_call_real):
Pass type attributes to check_function_format rather than name or
assembler name.  Don't require there to be a name or assembler
name to check formats.

testsuite:
* g++.dg/warn/format2.C, gcc.dg/format/attr-7.c,
gcc.dg/format/multattr-1.c, gcc.dg/format/multattr-2.c,
gcc.dg/format/multattr-3.c: New tests.
* gcc.dg/format/attr-3.c: Update expected error texts.  Remove
tests for format attributes on function pointers being rejected.

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