GCC Administrator [Sat, 29 Dec 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48360
Tom Tromey [Sat, 29 Dec 2001 04:31:10 +0000 (04:31 +0000)]
gen-table.pl: Don't process characters after \uffff.
* gen-table.pl: Don't process characters after \uffff. Added
comment pointing to input file.
From-SVN: r48359
Richard Henderson [Sat, 29 Dec 2001 01:19:51 +0000 (17:19 -0800)]
cpu_limits.h: New file.
* config/cpu/ia64/bits/cpu_limits.h: New file.
* config/os/osf/osf5.0/bits/cpu_limits.h: New file.
* configure.target (CPULIMITSH): Use them.
From-SVN: r48358
Stan Shebs [Fri, 28 Dec 2001 23:33:57 +0000 (23:33 +0000)]
objc-torture.exp: Resync with c-torture.exp.
* lib/objc-torture.exp: Resync with c-torture.exp.
* lib/objc.exp: Load standard libraries.
From-SVN: r48357
Stan Shebs [Fri, 28 Dec 2001 23:22:05 +0000 (23:22 +0000)]
objc-act.c (build_module_descriptor): Make sure the init function is not deferred.
* objc/objc-act.c (build_module_descriptor): Make sure the init
function is not deferred.
(build_dispatch_table_initializer): Compute the method encoding if
not already done.
From-SVN: r48356
Kazu Hirata [Fri, 28 Dec 2001 23:03:33 +0000 (23:03 +0000)]
* doc/md.texi: Add @findex define_insn_and_split.
From-SVN: r48355
Kaveh R. Ghazi [Fri, 28 Dec 2001 22:27:29 +0000 (22:27 +0000)]
gen-table.pl: Const-ify output.
* gen-table.pl: Const-ify output. Document the location of a
suitable unicode input file.
* chartables.h: Regenerate.
From-SVN: r48354
Phil Edwards [Fri, 28 Dec 2001 22:23:55 +0000 (22:23 +0000)]
c++config: Move doxygen hook comment...
2001-12-28 Phil Edwards <pme@gcc.gnu.org>
* include/bits/c++config: Move doxygen hook comment...
* docs/doxygen/doxygroups.cc: ...to here.
From-SVN: r48353
Hans Boehm [Fri, 28 Dec 2001 22:15:41 +0000 (14:15 -0800)]
linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
* config/ia64/unwind-ia64.c (uw_init_context_1): Redo sp, psp,
bsp setup. Set pri_unat_loc to something reasonable.
(uw_install_context): Add missing cast.
(unw_access_gr): Fix off-by-1 indexing error.
From-SVN: r48352
Phil Edwards [Fri, 28 Dec 2001 21:57:47 +0000 (21:57 +0000)]
re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors))
2001-12-28 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/2054
* include/bits/stl_algo.h (lower_bound): Relax concept checks.
* testsuite/ext/concept_checks.cc: New file.
From-SVN: r48351
Paolo Carlini [Fri, 28 Dec 2001 18:46:54 +0000 (19:46 +0100)]
stl_algo.h (count returning void, [...]): Move to...
2001-12-28 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (count returning void,
count_if returning void, __random_sample, random_sample,
random_sample_n, __is_heap, is_heap, is_sorted): Move to...
* include/ext/algorithm: ...here, new file.
* include/Makefile.am (ext_headers): Add new file.
* include/Makefile.in: Regenerate.
* testsuite/ext/headers.cc: Include <ext/algorithm>.
From-SVN: r48350
Kazu Hirata [Fri, 28 Dec 2001 18:17:54 +0000 (18:17 +0000)]
except.c: Fix comment formatting.
* except.c: Fix comment formatting.
* flags.h: Likewise.
* flow.c: Likewise.
* predict.c: Likewise.
* simplify-rtx.c: Likewise.
* system.h: Likewise.
* vmsdbg.h: Likewise.
* vmsdbgout.c: Likewise.
From-SVN: r48349
Kazu Hirata [Fri, 28 Dec 2001 18:00:23 +0000 (18:00 +0000)]
* config/h8300/h8300.md: Fix formatting.
From-SVN: r48348
Geoffrey Keating [Fri, 28 Dec 2001 17:57:50 +0000 (17:57 +0000)]
varasm.c (record_constant_1): Correct parameter to recursive call in default case.
* varasm.c (record_constant_1): Correct parameter to recursive
call in default case.
From-SVN: r48347
Richard Kenner [Fri, 28 Dec 2001 16:24:12 +0000 (11:24 -0500)]
Fix whitespace in and around comment.
From-SVN: r48346
Paolo Carlini [Fri, 28 Dec 2001 14:00:18 +0000 (15:00 +0100)]
basic_string.h (insert(__pos, __s, __n)): Optimize by avoiding temporaries and working in-place when possible.
2001-12-28 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h (insert(__pos, __s, __n)):
Optimize by avoiding temporaries and working in-place when possible.
(insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
(insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
* testsuite/21_strings/insert.cc (test02): New testcases.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r48345
Jakub Jelinek [Fri, 28 Dec 2001 09:55:14 +0000 (10:55 +0100)]
sparc.h (ASM_PREFERRED_EH_DATA_FORMAT, [...]): Define.
* config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT,
ASM_OUTPUT_DWARF_PCREL): Define.
* config/sparc/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
* configure.in (HAVE_AS_SPARC_UA_PCREL): Check whether as supports
.uaword %r_disp32() and linker handles it correctly.
* configure, config.in: Rebuilt.
From-SVN: r48344
Jakub Jelinek [Fri, 28 Dec 2001 09:51:20 +0000 (10:51 +0100)]
c-typeck.c (store_init_value): If initializing object with array type of unknown size by a compound literal...
* c-typeck.c (store_init_value): If initializing object with array
type of unknown size by a compound literal, set object's size from
compound literal size.
* doc/extend.texi (Compound Literals): Adjust documentation.
* gcc.dg/gnu89-init-1.c: Adjust for the new behaviour, add some
additional tests.
From-SVN: r48343
Richard Henderson [Fri, 28 Dec 2001 09:23:05 +0000 (01:23 -0800)]
real.c (etoe113, toe113): Ifndef INTEL_EXTENDED_IEEE_FORMAT.
* real.c (etoe113, toe113): Ifndef INTEL_EXTENDED_IEEE_FORMAT.
(endian): Clear word 3 for INTEL_EXTENDED_IEEE_FORMAT.
(etartdouble): Invoke etoe64 for INTEL_EXTENDED_IEEE_FORMAT.
* real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Don't special case
INTEL_EXTENDED_IEEE_FORMAT.
From-SVN: r48342
GCC Administrator [Fri, 28 Dec 2001 08:16:10 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48340
Geoffrey Keating [Fri, 28 Dec 2001 07:52:44 +0000 (07:52 +0000)]
combine.c (try_combine): Mask off sign bits when combining stores to the low and high parts of a...
* combine.c (try_combine): Mask off sign bits when combining
stores to the low and high parts of a two-word value.
From-SVN: r48339
Geoffrey Keating [Fri, 28 Dec 2001 07:51:59 +0000 (07:51 +0000)]
expr.c (expand_expr): Don't mark memory for non-constants as constant.
* expr.c (expand_expr): Don't mark memory for non-constants as
constant.
From-SVN: r48338
Richard Kenner [Fri, 28 Dec 2001 01:46:22 +0000 (01:46 +0000)]
integrate.c (copy_rtx_and_substitute, case MEM): If inlining and not for LHS, clear RTX_UNCHANGING_P.
* integrate.c (copy_rtx_and_substitute, case MEM): If inlining
and not for LHS, clear RTX_UNCHANGING_P.
From-SVN: r48337
Philipp Thomas [Fri, 28 Dec 2001 00:09:47 +0000 (00:09 +0000)]
cppfiles.c (stack_include_files): Don't translate <stdin>.
From-SVN: r48336
Roger Sayle [Thu, 27 Dec 2001 23:34:31 +0000 (23:34 +0000)]
re PR rtl-optimization/3508 (builtin memcmp() could be optimised)
* builtins.c (expand_builtin_memcmp): Optimize memcmp built-in
when all arguments are known constant. Fixes PR opt/3508.
* gcc.c-torture/execute/string-opt-16.c: New testcase.
From-SVN: r48335
Kazu Hirata [Thu, 27 Dec 2001 22:43:59 +0000 (22:43 +0000)]
* config/h8300/h8300.md (two anonymous patterns): Remove.
From-SVN: r48334
Richard Henderson [Thu, 27 Dec 2001 22:19:59 +0000 (14:19 -0800)]
haifa-sched.c (reemit_other_notes): New.
* haifa-sched.c (reemit_other_notes): New.
(schedule_block): Use it.
* sched-ebb.c (schedule_ebbs): Call remove_unnecessary_notes.
* sched-rgn.c (schedule_insns): Likewise.
* cfglayout.c (remove_scope_notes): Handle removing note at
the end of the insn chain.
* function.c (debug_find_var_in_block_tree): New.
* gcc.dg/debug-1.c, gcc.dg/debug-2.c: New.
From-SVN: r48333
Phil Edwards [Thu, 27 Dec 2001 21:51:28 +0000 (21:51 +0000)]
testsuite_hooks.h (gnu_counting_struct): Add.
2001-12-27 Phil Edwards <pme@gcc.gnu.org>
* testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
* testsuite/23_containers/deque_ctor.cc: New file.
From-SVN: r48332
Hans-Peter Nilsson [Thu, 27 Dec 2001 21:10:43 +0000 (21:10 +0000)]
Fix typo in 2001-12-26 entry
From-SVN: r48331
Alan Modra [Thu, 27 Dec 2001 17:59:21 +0000 (17:59 +0000)]
linux64.h (ASM_DECLARE_FUNCTION_NAME): Simplify.
2001-12-27 Alan Modra <amodra@bigpond.net.au>
David Edelsohn <edelsohn@gnu.org>
* config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Simplify.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r48330
Jakub Jelinek [Thu, 27 Dec 2001 17:22:00 +0000 (18:22 +0100)]
toplev.c (independent_decode_option): Re-add -aux-info option handling.
* toplev.c (independent_decode_option): Re-add -aux-info option
handling.
From-SVN: r48329
Richard Kenner [Thu, 27 Dec 2001 14:57:17 +0000 (14:57 +0000)]
integrate.c (copy_insn_notes): Don't adjust REG_EH_REGION note if special value.
* integrate.c (copy_insn_notes): Don't adjust REG_EH_REGION note
if special value.
From-SVN: r48328
Paolo Carlini [Thu, 27 Dec 2001 12:13:23 +0000 (13:13 +0100)]
locale_facets.tcc (collate::do_transform): Adjust implicit typename.
2001-12-27 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (collate::do_transform):
Adjust implicit typename.
* config/locale/messages_members_generic.h (messages::open,
messages::do_open, messages::do_get): Adjust implicit typename.
* config/locale/messages_members_gnu.h (messages::open,
messages::do_open, messages::do_get): Adjust Implicit typename.
* config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
messages::do_open, messages::do_get): Adjust implicit typename.
From-SVN: r48327
GCC Administrator [Thu, 27 Dec 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48325
Phil Edwards [Thu, 27 Dec 2001 07:26:00 +0000 (07:26 +0000)]
re PR libstdc++/3829 (missing template instantiations)
2001-12-27 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/3829
* src/misc-inst.cc: Many additional I/O-related instantiations.
* testsuite/27_io/instantiations.cc: New file.
From-SVN: r48324
Kaveh Ghazi [Thu, 27 Dec 2001 03:37:11 +0000 (03:37 +0000)]
Fix typo in ChangeLog
From-SVN: r48323
Kaveh R. Ghazi [Thu, 27 Dec 2001 03:35:21 +0000 (03:35 +0000)]
collect2.c (is_ctor_dtor): Const-ify.
* collect2.c (is_ctor_dtor): Const-ify.
* m88k-protos.c (output_file_start): Likewise.
* m88k.c (m88k_lang_independent_options, output_options,
output_file_start): Likewise.
* fix-header.c (files_to_ignore, std_include_entry, include_entry,
std_include_table, main): Likewise.
* protoize.c (longopts): Likewise.
* regclass.c (int_reg_class_contents): Likewise.
* toplev.c (dump_file, f_options, W_options): Make static.
(lang_independent_options, f_options, W_options): Const-ify.
* tree-dump.c (dump_file_info): Likewise.
* unroll.c (_factor): Make static.
java:
* chartables.h: Const-ify.
* gjavah.c (options): Likewise.
* jcf-dump.c (options): Likewise.
* jv-scan.c (options): Likewise.
* lex.c (java_start_char_p, java_part_char_p): Likewise.
* parse.y (binop_lookup): Likewise.
From-SVN: r48322
Richard Kenner [Wed, 26 Dec 2001 23:10:56 +0000 (23:10 +0000)]
* config/alpha/alpha.c (alpha_align_insns): Remove warning.
From-SVN: r48321
Richard Kenner [Wed, 26 Dec 2001 23:03:42 +0000 (23:03 +0000)]
sparc.md (call struct patterns): Show starting at two words long.
* config/sparc/sparc.md (call struct patterns): Show starting
at two words long.
From-SVN: r48320
David Edelsohn [Wed, 26 Dec 2001 22:53:46 +0000 (22:53 +0000)]
rs6000.h (ASM_CPU_SPEC, [...]): Add mcpu=405.
* rs6000.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add mcpu=405.
* sysv4.h (CPP_SYSV_SPEC, CPP_OS_VXWORKS_SPEC): Add mcpu=405.
From-SVN: r48319
Benjamin Kosnik [Wed, 26 Dec 2001 21:56:17 +0000 (21:56 +0000)]
insert_iterator.cc (test02): Add.
2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
* testsuite/24_iterators/insert_iterator.cc (test02): Add.
* testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
* testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
* testsuite/24_iterators/reverse_iterator.cc (test02): Add.
* include/bits/stl_iterator.h (reverse_iterator): Uglify member
current to _M_current.
(back_insert_iterator): Ulify member container to _M_container.
(front_insert_iterator): Same.
(insert_iterator): Same.
From-SVN: r48318
Nathan Sidwell [Wed, 26 Dec 2001 20:33:37 +0000 (20:33 +0000)]
re PR c++/196 (problem with: namespace N { class N {...}; })
cp:
PR c++/196
* cp/parse.y (bad_parm): Better diagnostic when given a SCOPE_REF.
testsuite:
* g++.dg/eh/ctor1.C: New test.
* g++.dg/other/error2.C: New test.
From-SVN: r48317
DJ Delorie [Wed, 26 Dec 2001 19:54:44 +0000 (14:54 -0500)]
function.c (expand_main_function): Make sure stack adjustments happen before sjlj exception setup.
* function.c (expand_main_function): Make sure stack adjustments
happen before sjlj exception setup.
From-SVN: r48316
David Edelsohn [Wed, 26 Dec 2001 18:02:17 +0000 (18:02 +0000)]
rs6000.md (indirect_jump): Prefer CTR over LR.
* rs6000.md (indirect_jump): Prefer CTR over LR.
* xcoff.h (ASM_DECLARE_FUNCTION_NAME): Handle weak function.
From-SVN: r48315
GCC Administrator [Wed, 26 Dec 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48313
Richard Kenner [Tue, 25 Dec 2001 17:11:35 +0000 (17:11 +0000)]
* dwarf2out.c: Reformatting and minor code rearrangement.
From-SVN: r48312
Gabriel Dos Reis [Tue, 25 Dec 2001 13:53:56 +0000 (13:53 +0000)]
std_limits.h (__glibcpp_xxx_is_modulo): New macros for signed types; default value is true.
* include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
macros for signed types; default value is true.
(numeric_limits<>::is_modulo): Get value from corresponding
__glibcpp_xxx_is_modulo macro.
From-SVN: r48311
GCC Administrator [Tue, 25 Dec 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48309
Nathan Sidwell [Mon, 24 Dec 2001 20:52:36 +0000 (20:52 +0000)]
re PR c++/160 (Reference variables not initialized correctly in constructor initializer list using , operator)
cp:
PR c++/160
* typeck.c (build_modify_expr): Remove old unreachable code & tidy
up. Don't stabilize_references when initializing a reference.
testsuite:
* g++.dg/other/init2.C: New test.
From-SVN: r48307
Douglas B Rupp [Mon, 24 Dec 2001 17:51:40 +0000 (12:51 -0500)]
configure.in (uintptr_t): Use AC_CHECK_TYPE.
* configure.in (uintptr_t): Use AC_CHECK_TYPE.
* configure: Regenerated.
From-SVN: r48306
Douglas B Rupp [Mon, 24 Dec 2001 17:37:36 +0000 (12:37 -0500)]
configure.in (quoted_stage_prefix_set_by_configure): Generate.
* configure.in (quoted_stage_prefix_set_by_configure): Generate.
* configure: Regenerated.
* Makefile.in (SUBDIR_FLAGS_TO_PASS): Use
quoted_stage_prefix_set_by_configure.
From-SVN: r48305
Richard Kenner [Mon, 24 Dec 2001 15:44:45 +0000 (15:44 +0000)]
rtl.h (in_expr_list_p): New declaration.
* rtl.h (in_expr_list_p): New declaration.
* rtlanal.c (in_expr_list_p): New function.
* cfgcleanup.c: Reformatting and minor code rearrangement.
* cfglayout.c, cfgloop.c, cfgrtl.c: Likewise.
From-SVN: r48304
Richard Kenner [Mon, 24 Dec 2001 14:38:56 +0000 (09:38 -0500)]
Remove bogus blank line
From-SVN: r48303
Richard Henderson [Mon, 24 Dec 2001 08:45:59 +0000 (00:45 -0800)]
re PR debug/5163 (Internal compiler error in add_abstract_origin_attribute, at dwarf2out.c:9296)
PR c/5163:
* c-decl.c (duplicate_decls): As needed, set DECL_INLINE when
we have a function body associated. Minor cleanups.
(grokdeclarator): Do not set DECL_INLINE without a function body.
* gcc.dg/
20011223-1.c: New.
* gcc.dg/inline-1.c: New.
From-SVN: r48302
GCC Administrator [Mon, 24 Dec 2001 08:16:39 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48301
Richard Henderson [Mon, 24 Dec 2001 06:15:31 +0000 (22:15 -0800)]
stmt.c (resolve_operand_names): Handle operand modifiers.
* stmt.c (resolve_operand_names): Handle operand modifiers.
* gcc.dg/asm-4.c: Test operand modifiers.
From-SVN: r48299
Richard Henderson [Mon, 24 Dec 2001 05:57:02 +0000 (21:57 -0800)]
stmt.c (parse_input_constraint): Break out from ...
* stmt.c (parse_input_constraint): Break out from ...
(expand_asm_operands): ... here. Loop over the operands twice,
the first time only calling mark_addressable. Correct and simplify
the conditions for spilling an output operand to memory.
From-SVN: r48298
Richard Henderson [Mon, 24 Dec 2001 04:00:51 +0000 (20:00 -0800)]
* config/alpha/alpha.c (call_operand) [OSF]: Disallow virtual regs.
From-SVN: r48297
Richard Henderson [Mon, 24 Dec 2001 03:37:08 +0000 (19:37 -0800)]
* gcc.c-torture/execute/
20011219-1.c (main): Make "i" a long.
From-SVN: r48296
Richard Henderson [Mon, 24 Dec 2001 03:08:23 +0000 (19:08 -0800)]
alpha.md (UNSPEC_SIBCALL): New.
* config/alpha/alpha.md (UNSPEC_SIBCALL): New.
(sibcall, sibcall_value, sibcall_osf_1_er, sibcall_osf_1): Use it.
(sibcall_value_osf_1_er, sibcall_value_osf_1): Likewise.
From-SVN: r48295
Richard Henderson [Mon, 24 Dec 2001 01:47:10 +0000 (17:47 -0800)]
utils.c (end_subprog_body): Push GC context around rest_of_compilation for nested functions.
* utils.c (end_subprog_body): Push GC context around
rest_of_compilation for nested functions.
From-SVN: r48294
Jeff Law [Mon, 24 Dec 2001 01:45:29 +0000 (18:45 -0700)]
os_defines.h: Do not include <_sys/inttypes.h>.
* config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
Twiddle return types for strtoll and strtoull to avoid using
intmax_t and uintmax-t.
From-SVN: r48293
Joseph Myers [Sun, 23 Dec 2001 23:49:32 +0000 (23:49 +0000)]
re PR c/2454 (Test Program
A0376972.c fails with gcc-
20010320, works with gcc-2.95.3)
* c-typeck.c (c_start_case): Don't strip conversions from the
controlling expression. Partially fixes PR c/2454.
testsuite:
* gcc.c-torture/execute/
20011223-1.c: New test.
From-SVN: r48292
Joseph Myers [Sun, 23 Dec 2001 23:33:14 +0000 (23:33 +0000)]
Makefile.in (USER_H): Remove proto.h.
* Makefile.in (USER_H): Remove proto.h.
* config.gcc (c*-convex-*): Set extra_headers=proto.h.
From-SVN: r48291
Kaveh R. Ghazi [Sun, 23 Dec 2001 16:07:16 +0000 (16:07 +0000)]
arc.c (arc_hard_regno_mode_ok): Const-ify.
* arc.c (arc_hard_regno_mode_ok): Const-ify.
* arc.h (arc_hard_regno_mode_ok): Likewise.
* i386.c (x86_64_reg_class_name): Make static.
* m68k.c (regno_reg_class): Const-ify.
* m68k.h (regno_reg_class): Likewise.
* mcore.c (reg_class_from_letter): Likewise.
* mcore.h (reg_class_from_letter): Likewise.
* sh.c (reg_class_from_letter, ashiftrt_insns, shift_insns,
ext_shift_insns, ext_shift_amounts): Likewise.
* sh.h (reg_class_from_letter): Likewise.
* sparc.c (hard_regno_mode_classes, hard_32bit_mode_classes,
hard_64bit_mode_classes): Likewise.
* sparc.h (hard_regno_mode_classes): Likewise.
* gcc.c (modify_target): Make static.
* gengenrtl.c (defs, formats): Likewise.
* reload1.c (elim_table_1, init_elim_table): Const-ify.
* tradcpp.c (directive, directive_table, handle_directive,
skip_if_group, run_directive): Likewise.
cp:
* decl2.c (lang_f_options): Const-ify.
f:
* com.c (ffecom_gfrt_volatile_, ffecom_gfrt_complex_,
ffecom_gfrt_const_, ffecom_gfrt_type_): Const-ify.
java:
* Make-lang.in (keyword.h): Pass -C to gperf to const-ify
the static arrays that are output.
* jvspec.c (jvgenmain_spec): Make static.
* keyword.gperf (struct java_keyword, java_keyword): Const-ify.
* keyword.h: Regenerate.
* lang.c (string_option, process_option_with_no, lang_f_options,
lang_W_options): Const-ify.
* lex.c (java_lex): Likewise.
From-SVN: r48290
Richard Henderson [Sun, 23 Dec 2001 13:22:17 +0000 (05:22 -0800)]
* 5nosinte.ads: Get definition of "int" from Interfaces.C.
From-SVN: r48288
Richard Henderson [Sun, 23 Dec 2001 13:02:18 +0000 (05:02 -0800)]
calls.c (expand_call): Don't turn off ECF_LIBCALL_BLOCK for an invalid result register...
* calls.c (expand_call): Don't turn off ECF_LIBCALL_BLOCK for
an invalid result register; do end the sequence properly.
(emit_library_call_value_1): Likewise.
From-SVN: r48287
Florian Weimer [Sun, 23 Dec 2001 11:23:14 +0000 (12:23 +0100)]
gnat-style.texi (Declarations and Types): Remove ancient style rule which was mandated by code generation issues.
* gnat-style.texi (Declarations and Types): Remove ancient style
rule which was mandated by code generation issues.
From-SVN: r48286
Florian Weimer [Sun, 23 Dec 2001 11:09:54 +0000 (12:09 +0100)]
gnat-style.texi (header): Add @dircategory, @direntry.
* gnat-style.texi (header): Add @dircategory, @direntry.
(title page): Remove date.
(general) Add @./@: where approriate, and two spaces after the
full stop at the end of a sentence. Use @samp markup when
referring concrete lexical entities (keywords, attribute names
etc.), and @syntax for ARM grammar elements. Use @r for English
text in comments. Use @emph for emphasis. Change "if-statements"
etc. to "if statements" (without @samp). Break long lines. Make
casing of section names consistent.
(Identifiers): Use @samp markup for variable names.
(Comments): Use @samp markup for comment characters. Line-end
comments may follow any Ada code, not just statements. Fix
misspelling of "Integer" as "integer".
(Loop statements): Do not use variable name "I", use "J".
(Subprogram Declarations): Document alignment.
(Subprogram Bodies, Block statements): Document empty line before
"begin".
From-SVN: r48285
GCC Administrator [Sun, 23 Dec 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48283
Aldy Hernandez [Sun, 23 Dec 2001 06:58:48 +0000 (06:58 +0000)]
rs6000.h (rs6000_builtins): Add vsldoi variants.
* config/rs6000/rs6000.h (rs6000_builtins): Add vsldoi variants.
* config/rs6000/rs6000.md ("altivec_vsldoi_*"): Same.
* config/rs6000/rs6000.c: Clean up some spacing and indentation.
(altivec_init_builtins): Add tree types for builtins with 4 bit
literals.
(bdesc_3arg): Add vsldoi variants.
From-SVN: r48282
Kaveh R. Ghazi [Sun, 23 Dec 2001 04:59:13 +0000 (04:59 +0000)]
1750a.h (datalbl, jmplbl): Declare array size explicitly.
* 1750a.h (datalbl, jmplbl): Declare array size explicitly.
* a29k.h (a29k_debug_reg_map): Likewise.
* arc.h (arc_regno_reg_class): Likewise.
* c4x-protos.h (c4x_regclass_map, c4x_caller_save_map): Likewise.
* convex.h (regno_reg_class, reg_class_from_letter): Likewise.
* d30v.h (regno_reg_class, reg_class_from_letter): Likewise.
* i386.h (regclass_map): Likewise.
* m32r.h (m32r_hard_regno_mode_ok, m32r_punct_chars): Likewise.
* mcore.h (regno_reg_class): Likewise.
* mips.h (mips_print_operand_punct, mips_char_to_class):
Likewise.
* ns32k.h (regclass_map): Likewise.
* pj.h (pj_debugreg_renumber_vec): Likewise.
* s390.h (regclass_map): Likewise.
* sh.h (regno_reg_class): Likewise.
* sparc.h (sparc_regno_reg_class): Likewise.
* hard-reg-set.h (reg_class_contents): Likewise.
* machmode.h (class_narrowest_mode): Likewise.
f:
* bld.c (ffebld_arity_op_): Declare array size explicitly.
* bld.h (ffebld_arity_op_): Likewise.
From-SVN: r48281
David Edelsohn [Sun, 23 Dec 2001 02:16:02 +0000 (02:16 +0000)]
loop.c (scan_loop, [...]): Do not overlook hard registers when computing statistics.
* loop.c (scan_loop, move_movables, count_one_set): Do not
overlook hard registers when computing statistics.
From-SVN: r48280
Jan Hubicka [Sun, 23 Dec 2001 00:10:43 +0000 (01:10 +0100)]
calls.c (ECF_LIBCALL_BLOCK): New constant.
* calls.c (ECF_LIBCALL_BLOCK): New constant.
(emit_call_1, initialize_argument_information,
precompute_arguments, expand_call,
emit_library_call_value_1): Use ECF_LIBCALL_BLOCK
instead of ECF_PURE | ECF_CONST. Honnor LCT_CONST/LCT_PURE.
From-SVN: r48279
Richard Henderson [Sat, 22 Dec 2001 21:13:44 +0000 (13:13 -0800)]
* configure.target (CPULIMITSH): Fix typo in alpha case.
From-SVN: r48278
Joseph Myers [Sat, 22 Dec 2001 21:07:33 +0000 (21:07 +0000)]
config.gcc (extra_headers): Move settings to math-68881.h and ppc-asm.h to common code for CPU types.
* config.gcc (extra_headers): Move settings to math-68881.h and
ppc-asm.h to common code for CPU types. Use math-68881.h on all
m68k targets.
(header_files): Remove unused setting.
From-SVN: r48277
Kaveh R. Ghazi [Sat, 22 Dec 2001 20:55:04 +0000 (20:55 +0000)]
elxsi.c: Include "hard-reg-set.h" and/or don't declare `call_used_regs' explicitly.
* elxsi.c: Include "hard-reg-set.h" and/or don't declare
`call_used_regs' explicitly.
* i860.c: Likewise.
* m68k.c: Likewise.
* ns32k.c: Likewise.
* pa.c: Likewise.
* vax.c: Likewise.
* we32k.c: Likewise.
From-SVN: r48276
Jan Hubicka [Sat, 22 Dec 2001 19:07:28 +0000 (20:07 +0100)]
i386.h (TARGET_CPU_DEFAULT_pentium_mmx): New.
* i386.h (TARGET_CPU_DEFAULT_pentium_mmx): New.
(TARGET_CPU_DEFAULT_*): Renumber.
From-SVN: r48273
John Wehle [Sat, 22 Dec 2001 17:23:52 +0000 (17:23 +0000)]
rtl.h (subreg_lsb): Declare.
* rtl.h (subreg_lsb): Declare.
* rtlanal.c (subreg_lsb): Implement.
From-SVN: r48272
Jeff Law [Sat, 22 Dec 2001 16:51:55 +0000 (09:51 -0700)]
os_defines.h: Update to avoid #defines for strtoll and strtoull.
* config/os/hpux/bits/os_defines.h: Update to avoid #defines
for strtoll and strtoull.
From-SVN: r48271
Richard Kenner [Sat, 22 Dec 2001 15:51:07 +0000 (15:51 +0000)]
* cfg.c, cfganal.c, cfgbuild.c: Reformatting and minor cleanups.
From-SVN: r48270
Richard Kenner [Sat, 22 Dec 2001 15:37:09 +0000 (15:37 +0000)]
* predict.c: Reformatting and minor cleanups.
From-SVN: r48269
Richard Kenner [Sat, 22 Dec 2001 15:06:55 +0000 (15:06 +0000)]
expr.c (expand_expr, [...]): Handling taking address of SAVE_EXPR.
* expr.c (expand_expr, case ADDR_EXPR): Handling taking address of
SAVE_EXPR.
* function.c (gen_mem_addressof): Add missing tests for SAVE_EXPR.
(put_addressof_into_stack): Clarify code in setting of used_p.
From-SVN: r48268
Richard Kenner [Sat, 22 Dec 2001 14:46:58 +0000 (14:46 +0000)]
calls.c (flags_from_decl_or_type): Move ECF_SP_DEPRESSED here.
* calls.c (flags_from_decl_or_type): Move ECF_SP_DEPRESSED here.
(expand_call): Delete from here.
Do pending stack adjustments if ECF_SP_DEPRESSED.
From-SVN: r48267
Richard Kenner [Sat, 22 Dec 2001 14:31:27 +0000 (14:31 +0000)]
dwarf2out.c (save_rtx): Deleted.
* dwarf2out.c (save_rtx): Deleted.
(mem_loc_descriptor): Do equivalent operation.
(add_const_value_attribute, case CONST): Likewise.
(add_name_and_src_coords_attributes): Likewise.
From-SVN: r48266
Florian Weimer [Sat, 22 Dec 2001 11:58:51 +0000 (12:58 +0100)]
make.adb (Add_Switch): Make Generic_Position a procedure.
* make.adb (Add_Switch): Make Generic_Position a procedure. The
function approach did not work well because of a side effect (the
function call could reallocate the table which was being indexed
using its result). Fixes ada/4851.
From-SVN: r48265
GCC Administrator [Sat, 22 Dec 2001 08:16:10 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48263
Kazu Hirata [Sat, 22 Dec 2001 02:41:38 +0000 (02:41 +0000)]
* config/h8300/h8300.h: Fix comment formatting.
From-SVN: r48262
Richard Henderson [Sat, 22 Dec 2001 00:52:30 +0000 (16:52 -0800)]
boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Merge into ..
* boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Merge into ..
(get_boehm_type_descriptor): ... here. Arrange for the
TREE_TYPE to get set properly.
From-SVN: r48261
Jeff Law [Sat, 22 Dec 2001 00:42:46 +0000 (17:42 -0700)]
os_defines.h: Include <sys/_inttypes.h.
* config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
Define strtoll and strtoull. Provide prototypes for
__strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
unconditionally.
From-SVN: r48260
Jeff Law [Sat, 22 Dec 2001 00:39:43 +0000 (17:39 -0700)]
* src/locale-inst.cc: Include <bits/std_cstdlib.h>
From-SVN: r48259
Jeff Law [Sat, 22 Dec 2001 00:32:47 +0000 (17:32 -0700)]
* configure.target: Fix typo in hpux case.
From-SVN: r48258
Jeff Law [Sat, 22 Dec 2001 00:28:16 +0000 (17:28 -0700)]
pa.h (CPP_SPEC): If not in ANSI mode, define _INCLUDE_LONGLONG.
* pa.h (CPP_SPEC): If not in ANSI mode, define _INCLUDE_LONGLONG.
(CPLUSPLUS_CPP_SPEC): Define _INCLUDE_LONGLONG.
From-SVN: r48257
Tom Tromey [Fri, 21 Dec 2001 22:51:41 +0000 (22:51 +0000)]
ObjectInputStream.java (enableResolveObject): Use correct security check.
* java/io/ObjectInputStream.java (enableResolveObject): Use
correct security check.
* java/io/ObjectOutputStream.java (enableReplaceObject): Use
correct security check.
From-SVN: r48256
Tom Tromey [Fri, 21 Dec 2001 21:59:27 +0000 (21:59 +0000)]
re PR java/5165 (Loading class fields with a ConstantValue attribute)
Fix for PR java/5165:
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
Convert any constant string field to a String; not just final
fields.
From-SVN: r48255
Robert Lipe [Fri, 21 Dec 2001 20:54:21 +0000 (20:54 +0000)]
* system.h (PREFETCH): Explictly undefine.
From-SVN: r48254
Tom Tromey [Fri, 21 Dec 2001 19:47:50 +0000 (19:47 +0000)]
re PR libgcj/2428 (Classloader is not set)
Fix for PR libgcj/2428:
* java/lang/natClass.cc: Include RuntimePermission.h.
(getClassLoader): Define.
* java/lang/Class.h (Class.getClassLoader): Only declare.
From-SVN: r48253
Richard Henderson [Fri, 21 Dec 2001 19:44:06 +0000 (11:44 -0800)]
class.c (compile_resource_file): Set TREE_PUBLIC on the constructor only if the target requires collect2.
* class.c (compile_resource_file): Set TREE_PUBLIC on the constructor
only if the target requires collect2.
From-SVN: r48252
Richard Henderson [Fri, 21 Dec 2001 19:26:08 +0000 (11:26 -0800)]
* class.c (build_class_ref): Mark _Jv_fooClass DECL_EXTERNAL.
From-SVN: r48251
Tom Tromey [Fri, 21 Dec 2001 19:18:52 +0000 (19:18 +0000)]
reverted erroneous checking -- sorry about that
From-SVN: r48250