OSDN Git Service
mrs [Sat, 6 Jan 2001 01:00:23 +0000 (01:00 +0000)]
* varasm.c (assemble_name): Ensure we output the stripped name.
Fixes s35520.C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38739
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 6 Jan 2001 00:59:05 +0000 (00:59 +0000)]
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38738
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 6 Jan 2001 00:57:48 +0000 (00:57 +0000)]
* dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38737
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 6 Jan 2001 00:46:33 +0000 (00:46 +0000)]
Faster __mulsi routine
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38736
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 6 Jan 2001 00:15:29 +0000 (00:15 +0000)]
* cpp.texi: Update for -MQ.
* cppinit.c (cpp_create_reader): Always create pfile->deps.
(cpp_cleanup): Always free pfile->deps.
(initialize_dependency_output): Don't create pfile->deps.
(cpp_handle_option): Similarly.
(OPT_MQ): New.
* gcc.c (cpp_options): Handle -MQ.
(DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
* mkdeps.c (base_name): Remove.
(deps_init): Don't allocate vector space until it's needed.
(deps_free): Only free vectors if allocated.
(deps_add_target, deps_add_dep): Update for initial allocation.
(deps_add_default_target): Don't strip to the base_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38735
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 6 Jan 2001 00:00:35 +0000 (00:00 +0000)]
Implement __builtin_return_address (0)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38734
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 5 Jan 2001 23:41:00 +0000 (23:41 +0000)]
* cpplib.h (struct cpp_reader): Add help_only field.
* cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
(cpp_handle_option): Set pfile->help_only if we see -h,
--help, -target-help, or --version. Print version string but
do not set help_only if we see -v or -version. Make text
printed by -v match that printed by (-)-version.
* cppmain.c (main): Exit after option parsing if
pfile->help_only is true.
* toplev.c (independent_decode_option): Call print_version,
then exit, if we see --version (but not -version).
(print_version): Split lengthy message into two lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38733
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 5 Jan 2001 23:31:43 +0000 (23:31 +0000)]
Use alloca to create temporary string for initialisation before calling
ggc_alloc_string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38732
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 5 Jan 2001 23:30:50 +0000 (23:30 +0000)]
* java/io/PipedReader: Synchronize on "lock" instead of this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38731
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 23:30:02 +0000 (23:30 +0000)]
* rtl.h (print_simple_rtl): New.
* print-rtl.c (print_simple_rtl): New.
(flag_simple): New.
(print_rtx): Disable printing of flags and modes, etc.,
if `flag_simple` nonzero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38730
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 5 Jan 2001 23:23:26 +0000 (23:23 +0000)]
* function.c (fixup_var_refs): Use push_to_full_sequence where
possible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38729
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 5 Jan 2001 22:56:08 +0000 (22:56 +0000)]
Declare flag_reorder_blocks and flag_rename_registers
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38728
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 22:06:56 +0000 (22:06 +0000)]
Note that INSN_PTR may be the note at the beginning of a block
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38726
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 22:06:29 +0000 (22:06 +0000)]
* gcc.c-torture/execute/991228-1.c: Take word endianness into
account.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38725
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 5 Jan 2001 21:13:42 +0000 (21:13 +0000)]
* function.c (reorder_blocks): Make sure the flags are all reset
before using them to mark blocks, else a second invocation will
corrupt the block chain.
(reorder_blocks_0): New, resets the flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38724
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 5 Jan 2001 20:42:30 +0000 (20:42 +0000)]
* cse.c (find_comparison_args): Stop if the argument is known to
be constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38723
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 20:30:40 +0000 (20:30 +0000)]
* config/sh/sh.md (movdf): When splitting load into pair of
registers, don't clobber the register used in the address too
early.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38722
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Fri, 5 Jan 2001 20:25:09 +0000 (20:25 +0000)]
2001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
* varasm.c (mark_constant_pool): Improve initial comments.
(mark_constants): Move marking of constants to mark_constant.
(mark_constant): New function to recursively mark all constants
referred to by a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38721
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 5 Jan 2001 20:15:24 +0000 (20:15 +0000)]
(dbxout_parms): Handle invisible ref where decl is a REG
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38720
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 5 Jan 2001 19:12:21 +0000 (19:12 +0000)]
2001-01-05 Phil Edwards <pme@sources.redhat.com>
* cp/lang-options.h: Bring comment in line with reality.
* f/lang-options.h: Likewise.
* java/lang-options.h: Likewise.
* objc/lang-options.h: Likewise.
* ch/lang-options.h: Likewise.
* f/g77.texi: And update the manual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38719
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Fri, 5 Jan 2001 19:08:46 +0000 (19:08 +0000)]
* config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
* config/avr/avr.c (avr_peep2_scratch_safe): New function.
* config/avr/avr.md (all peepholes that request a scratch register):
Call it, FAIL the peephole if not safe (in interrupt functions).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38718
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 5 Jan 2001 18:48:12 +0000 (18:48 +0000)]
* ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38717
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 5 Jan 2001 18:24:08 +0000 (18:24 +0000)]
* builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
Define.
* builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
BUILT_IN_CREAL and BUILT_IN_CIMAG.
* c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
(expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
BUILT_IN_CIMAG.
* extend.texi: Document these builtins.
testsuite:
* gcc.c-torture/execute/builtin-complex-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38716
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Fri, 5 Jan 2001 17:22:30 +0000 (17:22 +0000)]
VECTOR_TYPE fixes for aliasing, and dwarf2 output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38715
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 5 Jan 2001 16:35:36 +0000 (16:35 +0000)]
cp:
* parse.y (template_datadef): Check for error_mark_node.
testsuite:
* g++.old-deja/g++.pt/crash62.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38714
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Fri, 5 Jan 2001 16:28:58 +0000 (16:28 +0000)]
fix exit and atexit calls for vax-*-bsd systems
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38713
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 5 Jan 2001 16:15:59 +0000 (16:15 +0000)]
* arm.md (ldmsi_postinc): Avoid use of match_dup between input and
output operands. Use arm_hard_register_operand for operand 4.
(stmsi_postinc): Similarly.
(ldmsi): Use arm_hard_register_operand for opernand 2.
(stmsi): Similarly.
* arm.c (arm_hard_register_operand): New function.
* arm-protos.h (arm_hard_register_operand): Prototype it.
* arm.h (HARD_REGNO_RENAME_OK): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38712
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 5 Jan 2001 15:34:39 +0000 (15:34 +0000)]
* simplify-rtx.c (cfc_args): add "unordered" field.
(check_fold_consts): Set unordered field.
(simplify_relational_operation): Simplify the unordered
comparisons.
* reg-stack.c (swap_rtx_condition): Ensure that the transformation
is valid.
* emit-rtl.c (try_split): Fix code to mark labels.
* jump.c (mark_jump_label): Make global.
* rtl.h (mark_jump_label): Declare.
* predict.c (estimate_probability): Handle unordred comparisons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38711
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 5 Jan 2001 11:41:27 +0000 (11:41 +0000)]
cp:
* cp-tree.def (DEFAULT_ARG): Make `x' class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38710
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 5 Jan 2001 08:45:11 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38709
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 5 Jan 2001 08:23:51 +0000 (08:23 +0000)]
* java/io/PipedInputStream: Rewrote to be simpler and more correct.
* java/io/PipedOutputStream: Updated to match new PipedInputStream.
* java/io/PipedReader: New implementation based on new
PipedInputStream.
* java/io/PipedWriter: Updated to match new PipedOutputStream.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38708
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 5 Jan 2001 07:50:24 +0000 (07:50 +0000)]
* cpp.texi: Update for -MP. Clarify behaviour of -MT.
* cppinit.c (initialize_dependency_output): Update.
(cpp_finish): Output dummy targets for -MP.
(OPT_MP): New.
(cpp_handle_option): Handle -MP. Don't quote -MT options.
* cpplib.h (struct cpp_options): Add deps_phony_targets.
* gcc.c (cpp_options): Update to handle -MP.
* mkdeps.c (deps_add_target, deps_add_default_target): Update
to quote only the default target.
(deps_phony_targets): Insert a preceding newline. Rename from
deps_dummy_targets for consistency.
* mkdeps.h: Update
java:
* lang.c (lang_decode_option): Change -MA to -MP.
* jcf-depend.c (jcf_dependency_add_target, jcf_dependency_set_target):
Update to new prototype; do quote targets.
(jcf_dependency_write): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38707
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 07:38:47 +0000 (07:38 +0000)]
* calls.c (emit_library_call_value_1): Support
INIT_CUMULATIVE_LIBCALL_ARGS.
* tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38706
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 5 Jan 2001 05:58:23 +0000 (05:58 +0000)]
* c-decl.c (finish_struct): Detect flexible array members
used in an inappropriate context.
* c-typeck.c (really_start_incremental_init): Special case
constructor_max_index for zero length arrays.
(pop_init_level): Allow initialization of flexible array
members. Deprecate initialization of zero length arrays.
Don't issue missing initializer warning for flexible array
members or zero length arrays.
(process_init_element): Don't dereference null DECL_SIZE.
* varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
Don't abort for empty constructors. Use size_binop
(output_constructor): Add commentary regarding zero length
array futures. Abort if we try to initialize an array of
unspecified length with a non-empty constructor in the middle
of a structure.
* extend.texi (Zero Length): Update and clarify documentation
on static initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38705
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 5 Jan 2001 05:56:00 +0000 (05:56 +0000)]
* gcc.dg/
20000926-1.c: Update expected warnings.
* gcc.dg/array-2.c: Likewise.
* gcc.dg/array-4.c: Also validate flexible array members.
* gcc.dg/c99-flex-array-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38704
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 04:09:02 +0000 (04:09 +0000)]
* config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
with more than 32767 words of local storage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38703
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 03:58:12 +0000 (03:58 +0000)]
* config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
for 'abs', 'labs', and 'fabs'.
(c4x_expand_builtin): Likewise.
* config/c4x/c4x.h (enum c4x_builtins): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38702
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 03:46:12 +0000 (03:46 +0000)]
* config/sh/sh.md (prget, prset): New insn types.
(return delay slot): Dont' allow prset.
(call, sfunc delay slot): Don't allow prget.
(movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
for prset and prget.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38701
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 03:25:58 +0000 (03:25 +0000)]
* loop.h (struct loop_reg): New.
(struct loop_regs): Change to use array of `struct loop_reg'.
* loop.c: Replace assortment of varrays with single regs array.
(count_one_set): Delete may_not_move array argument
and use regs array instead. All caller's changed.
(count_loop_regs_set): Delete may_not_move and single_usage
arguments and use regs array instead. All caller's changed.
(find_single_use_in_loop): Replace usage array argument with pointer
to regs structure. All caller's changed.
(loop_optimize): Delete `moved_once' array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38700
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 5 Jan 2001 02:51:18 +0000 (02:51 +0000)]
* loop.c (prescan_loop): Set loop_info->has_nonconst_call.
Use it instead of loop_info->has_call for scanning loop mems.
(check_dbra_loop): Replace loop_info->has_call test with
loop_info->has_nonconst_call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38699
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 5 Jan 2001 01:58:04 +0000 (01:58 +0000)]
* config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
for TARGET_SH3E.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38698
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 5 Jan 2001 00:31:45 +0000 (00:31 +0000)]
* java/lang/Thread.java: Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38697
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 5 Jan 2001 00:03:35 +0000 (00:03 +0000)]
* fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
testsuite:
* gcc.c-torture/compile/
20001222-1.x: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38696
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 4 Jan 2001 23:53:54 +0000 (23:53 +0000)]
* c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
(flag_short_double, flag_short_wchar): Define.
(c_common_nodes_and_builtins): Create many tree nodes shared
between C and C++ here instead of in cp/decl.c and ...
* c-decl.c (init_decl_processing): ... here.
(SIZE_TYPE, WCHAR_TYPE): Don't define.
(flag_short_double, flag_short_wchar): Don't define.
(record_builtin_type): New function.
(build_void_list_node): New function.
* c-common.h (flag_short_double, flag_short_wchar,
record_builtin_type, build_void_list_node): Declare.
cp:
* decl.c (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Don't define.
(record_builtin_type): Make non-static.
(flag_short_double): Don't declare.
(init_decl_processing): Remove the creation of many tree nodes now
in c_common_nodes_and_builtins.
(build_void_list_node): New function.
* decl2.c (flag_short_double, flag_short_wchar): Don't define.
* cp-tree.h (flag_short_wchar): Don't declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38695
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 4 Jan 2001 23:28:00 +0000 (23:28 +0000)]
* integrate.c (expand_inline_function): Don't put a virtual
register into the reg map.
* function.c (fixup_var_refs_1): If force_operand didn't put
the address into the target, move it there.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38694
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 4 Jan 2001 21:57:30 +0000 (21:57 +0000)]
2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
* testsuite/17_intro/header_cwctype.cc (main): New file.
* src/Makefile.am (base_headers): Change.
* include/bits/std_string.h: And here.
* include/bits/string.tcc: Tweaks, move to...
* include/bits/basic_string.tcc: ...Here.
* src/string-inst.cc: Simplify, just instantiate the whole class,
not member-by-member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38693
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 4 Jan 2001 21:18:27 +0000 (21:18 +0000)]
Special-case tree_decl/tree_list allocations.
* ggc-page.c (OBJECT_PER_PAGE): Reimplement.
(OBJECT_SIZE): New macro.
(NUM_EXTRA_ORDER): Likewise.
(extra_order_size_table): New variable.
(NUM_ORDERS): New macro.
(objects_per_page_table): New variable.
(object_size_table): New variable.
(G.pages): Use NUM_ORDERS to bound the array.
(G.page_tails): Likewise.
(DIV_ROUND_UP): Remove.
(BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
(alloc_page): Use OBJECT_SIZE.
(size_lookup): Don't make it const.
(ggc_alloc): Use OBJECT_SIZE.
(ggc_set_mark): Likewise.
(ggc_get_size): Likewise.
(init_ggc): Set up the object_size_table, objects_per_page_table,
and adjust size_lookup.
(ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
(ggc_pop_context): Use NUM_ORDERS.
(clear_marks): Likewise.
(sweep_pages): Likewise.
(poison_pages): Likewise.
(ggc_print_statistics): Use OBJECT_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38692
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 4 Jan 2001 20:58:20 +0000 (20:58 +0000)]
* varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
Only call array_size_for_constructor if last field and array type
with no upper bound.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38691
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 4 Jan 2001 20:19:48 +0000 (20:19 +0000)]
2001-01-04 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (arm_gen_constant): Prefer to emit constants
from bit 31 downwards, if this requires no more insns.
(count_insns_for_constant): New helper function for above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38690
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 4 Jan 2001 20:10:36 +0000 (20:10 +0000)]
* gencodes.c (output_predicate_decls): Remove empty initializer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38689
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 4 Jan 2001 19:28:56 +0000 (19:28 +0000)]
* call.c (build_conv): Don't use build1 for USER_CONV.
* pt.c (tsubst_copy): Or for PREINCREMENT_EXPR and similar nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38688
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 4 Jan 2001 19:02:01 +0000 (19:02 +0000)]
* gcc.c-torture/execute/built-in-setjmp.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38687
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 4 Jan 2001 19:01:22 +0000 (19:01 +0000)]
* tree.c (copy_node): Remove documentation about obstacks.
(buidl1): Check that nobody tries to build 2-argument nodes this
way.
* call.c (build_conv): Don't use build1 for USER_CONV.
* pt.c (tsubst_copy): Or for PREINCREMENT_EXPR and similar nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38686
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 4 Jan 2001 18:54:14 +0000 (18:54 +0000)]
* sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
fp_high_losum_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38685
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 4 Jan 2001 18:08:22 +0000 (18:08 +0000)]
* gencodes.c (output_predicate_decls): Fill empty initializer
braces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38684
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 4 Jan 2001 17:26:12 +0000 (17:26 +0000)]
* tradcpp.c (deps_file, print_deps_missing_files): New variables.
(main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
or -MM.
(do_include): Handle missing headers like cpp0.
* cppfiles.c (_cpp_execute_include): Don't prefix absolute header
paths with first include pathname. Don't strcat to uninitialized
string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38683
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 4 Jan 2001 14:17:40 +0000 (14:17 +0000)]
Some tidyups for ia64 problems
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38682
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 4 Jan 2001 10:25:55 +0000 (10:25 +0000)]
* cpp.texi: Update for -MT.
* cppinit.c (initialize_dependency_output): Add a default
target if none has been given already.
(no_tgt, OPT_MT): New.
(cpp_handle_option): Handle -MT. Update -M etc.
* cpplib.h (struct cpp_options): Remove deps_target.
* gcc.c (cpp_options): Handle -MT.
* mkdeps.c (struct deps): Move from mkdeps.h.
(deps_calc_target): Rename deps_add_default_target. Add a
default target if none has been specified already.
* mkdeps.h (struct deps): Move to mkdeps.c.
(deps_calc_target): Rename deps_add_default_target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38681
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 4 Jan 2001 08:45:11 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38680
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 4 Jan 2001 04:21:42 +0000 (04:21 +0000)]
2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
* testsuite/17_intro/header_cwctype.cc (main): New file.
* src/Makefile.am (base_headers): Change.
* include/bits/std_string.h: And here.
* include/bits/string.tcc: Tweaks, move to...
* include/bits/basic_string.tcc: ...Here.
* src/string-inst.cc: Simplify, just instantiate the whole class,
not member-by-member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38679
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 4 Jan 2001 01:14:16 +0000 (01:14 +0000)]
* c-decl.c (grokdeclarator): Give zero-length arrays size zero.
Remove dead code.
* c-typeck.c (push_init_level): Move checks for flexible array
members and zero length arrays ...
(pop_init_level): ... here. Silently discard empty initializations.
Remove dead code.
* varasm.c (output_constructor): Update for sizeof change to
zero-length arrays.
* extend.texi (Zero Length): Clarify semantics.
* gcc.dg/940510-1.c: Update expected error wording.
* gcc.dg/array-2.c, gcc.dg/array-3.c, gcc.dg/array-4.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38678
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 23:47:05 +0000 (23:47 +0000)]
* configure.in (tm.h): Include isns-codes.h last.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38677
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 3 Jan 2001 22:52:42 +0000 (22:52 +0000)]
* config/alpha/alpha.md (addvsi3, addvdi3): New.
(negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38676
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 22:45:56 +0000 (22:45 +0000)]
Update the second copyright notice. Point to it from the first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38675
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Wed, 3 Jan 2001 22:26:05 +0000 (22:26 +0000)]
2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* tradcpp.c (main): Make sure finclude() is called with a valid
indepth value while handling -include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38674
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 21:13:29 +0000 (21:13 +0000)]
* gencodes.c (output_predicate_decls): New function.
(main): Call it.
* machmode.h (GET_MODE_MASK): Arrange for it to be defined
even if it is not the first time machmode.h is #included.
* config/sh/sh.c (fpul_operand): Declare MODE argument.
* tm.texi (PREDICATE_CODES): Document predicate declarations.
* gcc.texi (Copyright): Added 2001.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38673
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 3 Jan 2001 20:56:22 +0000 (20:56 +0000)]
* c-common.c (c_common_lang_init): New function. Warn if format
warning options which only have effects when used with -Wformat
are used without -Wformat.
* c-common.h (c_common_lang_init): Declare.
* c-lang.c (lang_init): Call c_common_lang_init.
* objc/objc-act.c (lang_init): Call c_common_lang_init.
cp:
* lex.c (lang_init): Call c_common_lang_init.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38672
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 3 Jan 2001 20:39:09 +0000 (20:39 +0000)]
* configure.in: Check for the mktemp command.
* configure: Regenerate.
* gccbug.in: Use a separate temporary file $TEMP0 for one use of
$TEMP. Create temporary files with mktemp, if available at
configure time; otherwise use set -C. Remove temporary files
before exit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38671
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 3 Jan 2001 20:34:44 +0000 (20:34 +0000)]
* java/awt/ScrollPane.java (setBlockIncrement): Throw error.
(getViewportSize): Insets include scrollbar size.
(doLayout): Finished.
(getScrollPosition): Wrote.
* java/awt/peer/ScrollPanePeer.java (setBlockIncrement): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38670
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 3 Jan 2001 20:18:18 +0000 (20:18 +0000)]
* gcc_update: Add cpp.1 to the list of generated files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38669
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 3 Jan 2001 20:15:01 +0000 (20:15 +0000)]
contrib:
* texi2pod.pl: Handle @option and @env.
gcc:
* configure.in: Require at least texinfo 4.0. Check for whether
Pod::Man is sufficiently recent to regenerate GCC manpages.
* configure: Regenerate.
* Makefile.in (TEXI2POD): Call perl explicitly rather than relying
on #!.
(GENERATED_MANPAGES): Define.
(generated-manpages): New target. Depend on cpp.1 as well as
gcov.1.
(install-man): Depend on $(GENERATED_MANPAGES) (defined by
configure to generated-manpages or empty) rather than on the
manpages directly. Remove execute permission from installed
gcov.1 as well as cpp.1.
* cpp.1, gcov.1: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38668
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Wed, 3 Jan 2001 18:22:23 +0000 (18:22 +0000)]
2001-01-03 Jeffrey Oldham <oldham@codesourcery.com>
* lib/target-supports.exp (check_alias_available): Modified to
indicate aliases not supported if only weak aliases are supported.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38667
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 3 Jan 2001 18:13:43 +0000 (18:13 +0000)]
* snapshot: Update to account for java libraries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38666
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 3 Jan 2001 16:54:46 +0000 (16:54 +0000)]
update copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38665
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 3 Jan 2001 16:48:15 +0000 (16:48 +0000)]
* builtins.c (expand_builtin_strncmp): Use host_integerp and
tree_low_cst. Allow using cmpstrsi in more cases.
testsuite:
* gcc.c-torture/execute/string-opt-8.c: Add more testcases.
Turn on cmpstrsi checks for __pj__ and __i370__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38664
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 3 Jan 2001 15:53:28 +0000 (15:53 +0000)]
2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/bits/c++config (__GLIBCPP__): Bump version number.
* ChangeLog: Start new log for year 2001
* ChangeLog-2000: New file.
* docs/html/configopts.html: Make sure default values are current,
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38663
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 3 Jan 2001 15:50:06 +0000 (15:50 +0000)]
* config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
sized types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38662
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 3 Jan 2001 15:01:16 +0000 (15:01 +0000)]
cp:
* search.c (lookup_fnfields_here): Remove.
(look_for_overrides_r): Use lookup_fnfields_1.
Ignore functions from using declarations.
testsuite:
* g++.old-deja/g++.other/virtual11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38661
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Wed, 3 Jan 2001 15:00:31 +0000 (15:00 +0000)]
Improve alias analysis for ia64
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38660
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 3 Jan 2001 14:39:10 +0000 (14:39 +0000)]
cp:
Implement exceptions specifiers for implicit member functions.
* cp-tree.h (merge_exceptions_specifiers): Declare new function.
* method.c (synthesize_exception_spec): New function.
(locate_dtor, locate_ctor, locate_copy): New functions.
(implicitly_declare_fn): Generate the exception spec too.
* search.c (check_final_overrider): Check artificial functions
too.
* typeck2.c (merge_exception_specifiers): New function.
testsuite:
* g++.old-deja/g++.eh/spec6.C: Remove remaining XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38659
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Wed, 3 Jan 2001 14:29:01 +0000 (14:29 +0000)]
Fix silliness in last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38658
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 14:23:39 +0000 (14:23 +0000)]
* build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
* Makefile.in (HOST_CFLAGS): Mention build-make.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38657
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Wed, 3 Jan 2001 14:08:30 +0000 (14:08 +0000)]
Add extra arg to cse_rtx_varies_p
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38656
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 3 Jan 2001 13:55:47 +0000 (13:55 +0000)]
* config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
as JUMP_INSN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38655
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 3 Jan 2001 12:56:48 +0000 (12:56 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38654
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Wed, 3 Jan 2001 12:26:52 +0000 (12:26 +0000)]
Don't use MEM_ALIAS_SET on a REG
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38653
138bc75d-0d04-0410-961f-
82ee72b054a4
ovidiu [Wed, 3 Jan 2001 08:50:46 +0000 (08:50 +0000)]
Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
* sendmsg.c: Added __objc_msg_forward, a hook that allows external
libraries to provide a function that returns the real forwarding
function. This can alleviate problems __builtin_apply() and
friends have on various platforms. (Solution suggested by Helge
Hess.)
* objc/objc-api.h: Define __objc_msg_forward.
* sendmsg.c: Define gen_rtx_REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38652
138bc75d-0d04-0410-961f-
82ee72b054a4
ovidiu [Wed, 3 Jan 2001 08:49:34 +0000 (08:49 +0000)]
Added __objc_msg_forward, a hook that allows external libraries to
provide a function that returns the real forwarding function. This can
alleviate problems __builtin_apply() and friends have on various
platforms. (Solution suggested by Helge Hess.)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38651
138bc75d-0d04-0410-961f-
82ee72b054a4
ovidiu [Wed, 3 Jan 2001 08:49:02 +0000 (08:49 +0000)]
Added __objc_msg_forward, a hook that allows external libraries to
provide a function that returns the real forwarding function. This can
alleviate problems __builtin_apply() and friends have on various
platforms. (Solution suggested by Helge Hess.)
Define gen_rtx_REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38650
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 3 Jan 2001 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38649
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 3 Jan 2001 06:47:28 +0000 (06:47 +0000)]
* combine.c (simplify_shift_const): Even if we're sign-extracting,
don't discard an ASHIFTRT if we're shifting in a wider mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38648
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 3 Jan 2001 05:42:23 +0000 (05:42 +0000)]
* toplev.c (rest_of_compilation): Don't print basic block information
when CFG isn't up to date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38647
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 3 Jan 2001 04:39:40 +0000 (04:39 +0000)]
* gcc.c-torture/compile/
20010102-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38646
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 3 Jan 2001 04:04:56 +0000 (04:04 +0000)]
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38645
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 3 Jan 2001 04:00:53 +0000 (04:00 +0000)]
* config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
(UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
(UNALIGNED_SHORT_ASM_OP): Define.
(CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38644
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 3 Jan 2001 03:28:51 +0000 (03:28 +0000)]
* init.c (build_default_init): New fn.
(perform_member_init): Split out from here.
(build_new_1): Use it. Simplify initialization logic.
(build_vec_init): Take an array, rather than a pointer and maxindex.
Speed up simple initializations. Don't clean up if we're assigning.
* cp-tree.h: Adjust.
* decl2.c (do_static_initialization): Remove TREE_VEC case.
* parse.y (new_initializer): Return void_zero_node for ().
* typeck.c (build_modify_expr): Handle getting a CONSTRUCTOR.
* typeck2.c (digest_init): Only complain about user-written
CONSTRUCTORs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38643
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Wed, 3 Jan 2001 01:11:18 +0000 (01:11 +0000)]
* decl2.c: (max_tinst_depth): Increase to 50.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38642
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 3 Jan 2001 00:24:04 +0000 (00:24 +0000)]
* class.c (invalidate_class_lookup_cache): Zero the
previous_class_values.
* cp-tree.h (TMPL_PARMS_DEPTH): Use TREE_INT_CST_LOW, not
TREE_INT_CST_HIGH.
(CLASSTYPE_TEMPLATE_LEVEL): Likewise.
* decl.c (free_bindings): New variable.
(push_binding): Don't create a new binding if we have one on the
free list.
(pop_binding): Put old bindings on the free list.
(init_decl_processing): Use size_int, not build_int_2.
Register free_bindings as a GC root.
(cp_make_fname_decl): Use size_int, not build_int_2.
(push_inline_template_parms_recursive): Likewise.
(end_template_parm_list): Likewise.
(for_each_tempalte_parm): Do not use walk_tree_without_duplicates.
(tsubst_template_parms): Use size_int, not build_int_2.
(tsubst): Likewise.
* rtti.c (get_vmi_pseudo_type_info): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38641
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 3 Jan 2001 00:13:33 +0000 (00:13 +0000)]
* fold-const.c (fold_convert): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38640
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 3 Jan 2001 00:07:13 +0000 (00:07 +0000)]
* java/awt/ScrollPane.java: Wrote.
* java/awt/peer/ScrollPanePeer.java (setBlockIncrement): New
method.
* java/awt/Panel.java (Panel()): Fixed.
* java/awt/Component.java (isShowing): Return false if no peer
exists, and true if component is visible and no parent exists.
(getLocationOnScreen): Wrote.
(getPreferredSize): Removed FIXME comment.
(getMinimumSize): Likewise.
(getAlignmentX, getAlignmentY): Wrote.
(list): Wrote.
(requestFocus): Wrote.
(transferFocus): Wrote.
(findNextFocusComponent): New method.
(hasFocus()): Wrote.
(checkImage): Wrote.
(enableEvents): Call setEventMask on the peer.
* java/awt/Container.java (list): Use super.list() to print self.
(findNextFocusComponent): New method.
(setLayout): Call invalidate.
(findComponentAt): Wrote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38639
138bc75d-0d04-0410-961f-
82ee72b054a4