kazu [Sat, 11 Oct 2003 06:35:53 +0000 (06:35 +0000)]
* config/m68k/m68k-protos.h: Remove the prototype for
finalize_pic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72332
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 11 Oct 2003 06:27:35 +0000 (06:27 +0000)]
* config/m68k/m68k.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72331
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 05:02:29 +0000 (05:02 +0000)]
* config/m68k/m68k-protos.h (use_return_insn): Change return type from
int to bool.
* config/m68k/m68k.c (struct m68k_frame): Add funcdef_no member.
(current_frame): New global var.
(m68k_compute_frame_layout): Cache computations in current_frame.
(m68k_initial_elimination_offset): Use values from current_frame
instead of recomputing them.
(use_return_insn): Likewise.
(m68k_output_function_prologue): Likewise.
(m68k_output_function_epilogue): Likewise.
* config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Fold __PIC__ handling
inside the block for __pic__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72330
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 04:53:13 +0000 (04:53 +0000)]
* config/m68k/m68k.c (m68k_frame): Move before protos referencing it.
(m68k_save_reg): Add boolean parameter `interrupt_handler'.
(m68k_interrupt_function_p): New function.
(m68k_handle_fndecl_attribute): Ditto.
(m68k_compute_frame_layout): Ditto.
(m68k_attribute_table): Define back-end specific attributes.
(m68k_output_function_epilogue): Emit RTE instruction for interrupt
functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72329
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 04:23:20 +0000 (04:23 +0000)]
* config/m68k/t-uclinux: New target Makefile fragment.
* config/m68k/uclinux.h: New target macro file.
* config.gcc (m68k-*-uclinux): New target definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72328
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 03:53:05 +0000 (03:53 +0000)]
* builtins.c (builtin_mathfn_code): Generalize to check whether
the call is to any built-in function by comparing the call's
argument list against the builtin decl's function type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72327
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 11 Oct 2003 03:49:54 +0000 (03:49 +0000)]
* cse.c (constant_pool_entries_regcost): New global variable to
hold the register cost component of constant_pool_entries_cost.
(fold_rtx): Calculate constant_pool_entries_regcost at the same
time as constant_pool_entries_cost.
(cse_insn): Set both src_folded_cost and src_folded_regcost from
constant_pool_entries_cost and constant_pool_entries_regcost.
(cse_main): Initialize constant_pool_entries_regcost to zero.
* optabs.c (expand_unop): Attach a REG_EQUAL note describing
the semantics of the sequence of bit operations used to negate
a floating-point value.
(expand_abs_nojump): Likewise attach a REG_EQUAL note describing
the semantics of the bit operations used to abs a floating point
value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72326
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 03:45:07 +0000 (03:45 +0000)]
* crossconfig.m4 (*-uclinux*): New target.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72325
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 03:06:45 +0000 (03:06 +0000)]
* config/m68k/lb1sf68.asm: Add __PIC__ and __ID_SHARED_LIBRARY__
support.
* config/m68k/m68k-none.h (ASM_SPEC): Pass --pcrel to assembler on
-fpic, -fPIC, -msep-data and -mid-shared-library.
* config/m68k/m68k.c (m68k_library_id_string): New global variable.
(override_options): Add -msep-data and -mshared-library-id support.
(m68k_output_function_prologue): Generate code to load A5 for
TARGET_ID_SHARED_LIBRARY and TARGET_SEP_DATA.
(m68k_output_mi_thunk): Emit indirect jump on TARGET_ID_SHARED_LIBRARY.
(m68k_output_pic_call): New function.
* gcc/config/m68k/m68k.h (TARGET_SEP_DATA): New target flag.
(TARGET_ID_SHARED_LIBRARY): Ditto.
(TARGET_SWITCHES): Add switches for -mid-shared-library and -msep-data.
* gcc/config/m68k/m68k.md (call): Call m68k_output_pic_call().
(call_value): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72324
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 03:01:56 +0000 (03:01 +0000)]
* config/m68k/m68k.c (m68k_frame): Move before protos referencing it.
(m68k_save_reg): Add boolean parameter `interrupt_handler'.
(m68k_interrupt_function_p): New function.
(m68k_handle_fndecl_attribute): Ditto.
(m68k_compute_frame_layout): Ditto.
(m68k_attribute_table): Define back-end specific attributes.
(m68k_output_function_epilogue): Emit RTE instruction for interrupt
functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72323
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 11 Oct 2003 02:57:01 +0000 (02:57 +0000)]
* config.guess: Update to 2003-10-07 version.
* config.sub: Update to 2003-10-07 version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72322
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 11 Oct 2003 00:18:02 +0000 (00:18 +0000)]
* gengenrtl.c (find_formats, genheader): Make i an unsigned
int, remove cast of NUM_RTX_CODE.
* machmode.h: Make the HAVE_MACHINE_MODES #ifdef encompass the
entire file. Remove the #ifs on GET_MODE_MASK etc and
GET_MODE_WIDER_MODE etc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72321
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 11 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72319
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 22:44:41 +0000 (22:44 +0000)]
* config/ia64/ia64.c (ia64_vms_init_libfuncs): New function.
(ia64_output_function_prologue): Only write .prologue if --with-gnu-as.
(ia64_initialize_trampoline): If not using GAS, declare trampoline
as global.
* config/ia64/ia64.h (ASM_APP_ON, ASM_APP_OFF): Add vers for not GAS.
(ASM_OUTPUT_DEBUG_LABEL): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72316
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Fri, 10 Oct 2003 21:28:56 +0000 (21:28 +0000)]
2003-10-10 Eric Christopher <echristo@redhat.com>
* lcm.c (optimize_mode_switching): Change NORMAL_MODE
to MODE_ENTRY and MODE_EXIT. Add MODE_AFTER for insns
that set mode.
* config/sh/sh.h (MODE_ENTRY): New macro.
(MODE_EXIT): Ditto.
(MODE_AFTER): Ditto.
* config/sh/sh.md: Change for MODE_AFTER. Add
fp_set attribute.
* doc/tm.texi: Document MODE_AFTER, MODE_ENTRY, and MODE_EXIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72315
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 10 Oct 2003 20:46:58 +0000 (20:46 +0000)]
* genmodes.c, mode-classes.def: New files.
* machmode.def: Rewritten to genmodes.c interface.
* Makefile.in (extra_modes_file): New substitution variable.
(MACHMODE_H): No longer includes machmode.def or
@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
(OBJS-common): Add insn-modes.o.
(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
genmodes$(build_exeext).
(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
(s-genrtl): Don't depend on $(RTL_BASE_H).
(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
or $(RTL_BASE_H); just rtl.def.
* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
real.h. Give fake definition of CONST_DOUBLE_FORMAT and
substitute definition of NUM_RTX_CODE. Add casts to avoid
warnings.
* machmode.h: Include insn-modes.h, not machmode.def. Include
mode-classes.def to define enum mode_class. Tweak definitions
of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
(inner_mode_array): Renamed mode_inner.
(mode_base_align): New.
* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
mode_unit_size, mode_wider_mode, mode_mask_array,
inner_mode_array, class_narrowest_mode): Delete definitions.
* stor-layout.c (get_mode_alignment): Use mode_base_align.
* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
No need to define BITS_PER_UNIT.
* stor-layout.c (compute_record_mode): Don't force BLKmode if
field is zero-length BLKmode.
* expr.c (expand_expr, case COMPONENT_REF): Handle case of BLKmode
zero-size references.
* combine.c (distribute_links): Properly test for REG being set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72314
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 10 Oct 2003 20:33:07 +0000 (20:33 +0000)]
* genmodes.c, mode-classes.def: New files.
* machmode.def: Rewritten to genmodes.c interface.
* Makefile.in (extra_modes_file): New substitution variable.
(MACHMODE_H): No longer includes machmode.def or
@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
(OBJS-common): Add insn-modes.o.
(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
genmodes$(build_exeext).
(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
(s-genrtl): Don't depend on $(RTL_BASE_H).
(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
or $(RTL_BASE_H); just rtl.def.
* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
real.h. Give fake definition of CONST_DOUBLE_FORMAT and
substitute definition of NUM_RTX_CODE. Add casts to avoid
warnings.
* machmode.h: Include insn-modes.h, not machmode.def. Include
mode-classes.def to define enum mode_class. Tweak definitions
of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
(inner_mode_array): Renamed mode_inner.
(mode_base_align): New.
* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
mode_unit_size, mode_wider_mode, mode_mask_array,
inner_mode_array, class_narrowest_mode): Delete definitions.
* stor-layout.c (get_mode_alignment): Use mode_base_align.
* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
No need to define BITS_PER_UNIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72313
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 10 Oct 2003 19:48:20 +0000 (19:48 +0000)]
* gcc.c-torture/compile/
20031010-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72312
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 19:21:12 +0000 (19:21 +0000)]
* stor-layout.c (compute_record_mode): Don't force BLKmode if
field is zero-length BLKmode.
* expr.c (expand_expr, case COMPONENT_REF): Handle case of BLKmode
zero-size references.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72311
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 19:02:51 +0000 (19:02 +0000)]
* combine.c (distribute_links): Properly test for REG being set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72310
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 10 Oct 2003 18:25:26 +0000 (18:25 +0000)]
* config/alpha/alpha.c (alpha_expand_block_mode): Don't use
gen_lowpart and company except for REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72309
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 10 Oct 2003 18:12:00 +0000 (18:12 +0000)]
* gcc.c-torture/execute/va-arg-24.c: Correct, and rename to...
* gcc.c-torture/execute/va-arg-25.c: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72307
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 10 Oct 2003 17:46:47 +0000 (17:46 +0000)]
Fix uses of old-style date format in ChangeLog (Jan Hubicka, twice).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72306
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 10 Oct 2003 17:39:21 +0000 (17:39 +0000)]
* pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72305
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 10 Oct 2003 17:37:26 +0000 (17:37 +0000)]
* config.gcc (mips*-*-netbsd*): Remove content-free line.
Also fixed old-style ChangeLog date to be new-style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72304
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 10 Oct 2003 17:10:47 +0000 (17:10 +0000)]
2003-10-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
Avoid unnecessarily calling __builtin_alloca and dealing
explicitly with width() smaller than zero.
(operator<<(basic_ostream&, char), operator<<(basic_ostream&,
const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
const char*), operator<<(basic_ostream<char, _Traits>&,
const char*), operator<<(basic_ostream, const basic_string&)):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72302
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 10 Oct 2003 17:04:46 +0000 (17:04 +0000)]
Fri Oct 10 18:54:39 CEST 2003 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
* gcov-io.h: Check BITS_PER_UNIT when defining gcov_unsigned_t,
gcov_position_t and gcov_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72301
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Fri, 10 Oct 2003 06:03:08 +0000 (06:03 +0000)]
* configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72294
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 10 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72291
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 9 Oct 2003 23:50:46 +0000 (23:50 +0000)]
* config/h8300/h8300.md (define_asm_attributes): Specify
the length of an asm insn more precisely.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72289
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 9 Oct 2003 22:58:20 +0000 (22:58 +0000)]
* config/mips/iris6.h (SUBTARGET_CPP_SPEC): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72288
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 9 Oct 2003 21:17:11 +0000 (21:17 +0000)]
2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Make more *_type_info bits visible.
Move new/delete bits back into GLIBCXX space.
* include/bits/locale_classes.h: Move _M_id out of line, so that
locale::id::_S_highwater can be removed from the export list.
* src/locale.cc (locale::id::_M_id): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72287
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Thu, 9 Oct 2003 20:21:11 +0000 (20:21 +0000)]
* config/xtensa/xtensa.c (xtensa_dbx_register_number): Change first
FP register number to 48 and MAC16 accumulator to 0x210.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72283
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Thu, 9 Oct 2003 19:22:38 +0000 (19:22 +0000)]
2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
SPARC64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72282
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 9 Oct 2003 19:10:56 +0000 (19:10 +0000)]
2003-10-09 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11844
* config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
to conform to the requirements of 22.2.1.
* config/os/bsd/freebsd/ctype_base.h: Likewise.
* config/os/djgpp/ctype_base.h: Likewise.
* config/os/generic/ctype_base.h: Likewise.
* config/os/gnu-linux/ctype_base.h: Likewise.
* config/os/hpux/ctype_base.h: Likewise.
* config/os/irix/irix6.5/ctype_base.h: Likewise.
* config/os/solaris/solaris2.6/ctype_base.h: Likewise.
* config/os/solaris/solaris2.7/ctype_base.h: Likewise.
* testsuite/22_locale/ctype/11844.cc: New.
* config/locale/generic/ctype_members.cc (do_is):
Generically, use a bitmasksize of 15 (instead of 10), since
we don't know the numerical encoding of the various categories
in the underlying /usr/include/ctype.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72281
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 9 Oct 2003 18:08:50 +0000 (18:08 +0000)]
* g++.dg/ext/attrib8.C: Only run it on x86 targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72280
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 9 Oct 2003 18:01:08 +0000 (18:01 +0000)]
2003-10-09 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SelectorImpl.java (register):
Use ServerSocketChannelSelectionKey for server socket channels,
removed unneeded comments.
* gnu/java/nio/ServerSocketChannelImpl.java
(ServerSocketChannelImpl): Made class public final.
(impl): New member variable.
(ServerSocketChannelImpl): Initialize member variables correctly.
(initServerSocket): New method.
(getNativeFD): Likewise.
* gnu/java/nio/ServerSocketChannelSelectionKey.java,
gnu/java/nio/natServerSocketChannelImpl.cc: New files.
* Makefile.am (ordinary_java_source_files):
Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
(nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
* Makefile.in: Regenrated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72277
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 9 Oct 2003 17:34:10 +0000 (17:34 +0000)]
2003-10-09 Michael Koch <konqueror@gmx.de>
* java/nio/channels/spi/AbstractSelectableChannel.java
(registered): Made private.
(blocking): Likewise.
(LOCK): Likewise.
(provider): Likewise.
(keys): Made it a private LinkedList.
(AbstractSelectableChannel): Initialize keys.
(isRegistered): New implementation.
(locate): Rewritten.
(register): Rewritten.
* java/nio/channels/spi/AbstractSelectionKey.java
(ok): Removed.
(cancelled): New member variable.
(cancel): Rewritten.
(isValid): Rewritten.
* java/nio/channels/spi/AbstractSelector.java:
Some methods moved.
(closed): Make private.
(provider): Likewise.
(cancelledKeys): New member variable.
(AbstractSelector): Initialize cancelledKeys.
(cancelKey): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72275
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 9 Oct 2003 16:53:54 +0000 (16:53 +0000)]
2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
* src/string-inst.cc: Prune.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2003-10-09 Petur Runolfsson <peturr02@ru.is>
* src/io-inst.cc: Don't include iostream.
* include/bits/ios_base.h (ios_base::failure): Use string.
* src/Makefile.am: Add ios_failure.cc.
* src/Makefile.in: Regenerate.
* src/ios.cc: Move ios_base::failure definitions to...
* src/ios_failure.cc: ...here. New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72272
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 9 Oct 2003 16:24:55 +0000 (16:24 +0000)]
* java/lang/ClassLoader.java (setSigners): Implemented.
* boehm.cc (_Jv_MarkObj): Mark `signers' field.
* java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
Initialize new fields.
* java/lang/Class.java (getSigners): Now native.
(setSigners): Declare.
* java/lang/natClass.cc (getSigners): New method.
(getSigners): Likewise.
* java/lang/Class.h (Class::signers): New field.
(Class::setSigners): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72271
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 9 Oct 2003 16:21:56 +0000 (16:21 +0000)]
* decl.c (java_init_decl_processing): Declare signers field.
* class.c (make_class_data): Set signers field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72270
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Thu, 9 Oct 2003 16:17:46 +0000 (16:17 +0000)]
* config.gcc: Remove redundant thread_file setting clauses for
various *-*-linux* targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72269
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 9 Oct 2003 16:11:40 +0000 (16:11 +0000)]
2003-10-09 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9874
* include/bits/fstream.tcc (basic_filebuf::seekoff):
Move code needed for both seekoff and seekpos...
(basic_filebuf::_M_seek): ...here. New function.
(basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
* include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
* testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72268
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 9 Oct 2003 15:20:25 +0000 (15:20 +0000)]
2003-10-09 Michael Koch <konqueror@gmx.de>
* java/rmi/server/RMIClassLoader.java:
Removed unused imports, little reformatings.
(getClassLoader): New method, implementation was part of old loadCLass
method.
(loadClass): Simplified by moving functionality to new method and
reworking the code a bit.
(getClassAnnotation): Merged documentation from classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72267
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 9 Oct 2003 13:13:52 +0000 (13:13 +0000)]
* config/h8300/h8300.md (define_asm_attributes): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72264
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 9 Oct 2003 13:13:05 +0000 (13:13 +0000)]
2003-10-09 Michael Koch <konqueror@gmx.de>
* java/math/BigInteger.java
(add): Removed unused local variable len.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72263
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 9 Oct 2003 12:57:30 +0000 (12:57 +0000)]
* optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note
to the comparison, as emit_libcall_block calls copy_rtx on equiv.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72262
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Thu, 9 Oct 2003 09:08:37 +0000 (09:08 +0000)]
* haifa-sched.c (ok_for_early_schedule): New function.
(early_queue_to_ready): New function.
(schedule_block): Allow early removal of insns from Q.
(schedule_insn): Update INSN_TICK in case of premature
issue.
* common.opt (sched_stalled_insns): New flag.
(sched_stalled_insns_dep): New flag.
* flags.h: Same above flags.
* opts.c: Same as above.
* toplev.c: Same as above.
* target.h (targetm.sched.is_costly_dependence): New
hook.
* target-def.h: Same as above.
* config/rs6000/rs6000.h: (rs6000_sched_costly_dep):
Support new flag -msched-costly-dep.
(DEFAULT_SCHED_COSTLY_DEP): Define.
* config/rs6000/rs6000.c:
(rs6000_is_costly_dependence): New function.
(is_load_insn, is_store_insn): New functions.
(is_load_insn1, is_store_insn1, is_mem_ref): New
functions.
* doc/invoke.texi (-fsched-stalled-insns-dep)
(-fsched-stalled-insns, -msched-costly-dep): Document
options.
* doc/tm.texi (is_costly_dependence): Define new
scheduler target hook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72261
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 9 Oct 2003 08:39:34 +0000 (08:39 +0000)]
PR c++/6392
* cp/tree.c (build_cplus_array_type): Handle all quals the same.
(cp_build_qualified_type_real): Look through arrays first.
* c-common.c (c_build_qualified_type): Look through arrays first.
(c_apply_type_quals_to_decl): Look through arrays.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72260
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 9 Oct 2003 08:38:46 +0000 (08:38 +0000)]
PR c++/6392
* cp/tree.c (build_cplus_array_type): Handle all quals the same.
(cp_build_qualified_type_real): Look through arrays first.
* c-common.c (c_build_qualified_type): Look through arrays first.
(c_apply_type_quals_to_decl): Look through arrays.
* c-common.c (c_apply_type_quals_to_decl): Unset TREE_READONLY for
types with constructors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72259
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 9 Oct 2003 07:16:14 +0000 (07:16 +0000)]
tweak whitespace
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72256
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 9 Oct 2003 05:44:57 +0000 (05:44 +0000)]
* stmt.c (resolve_asm_operand_names): Call check_unique_operand_names
here.
(expand_asm_operands): Not here.
(parse_input_constraint): No longer static.
* tree.h: Declare it.
* coverage.c (build_ctr_info_value): Use build_decl to make a
VAR_DECL.
(create_coverage): Likewise.
java/
* parse.y (patch_assignment): Use make_node to create a BLOCK.
* parse.h (BUILD_PTR_FROM_NAME): Use make_node to create a
POINTER_TYPE.
cp/
* tree.c (build_cplus_new): Use build_decl to create a VAR_DECL.
(build_target_expr_with_type): Likewise.
* pt.c (instantiate_class_template): Sanity check that our
enclosing class has been instantiated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72255
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Thu, 9 Oct 2003 04:21:51 +0000 (04:21 +0000)]
* config/sh/t-linux (SHLIB_LINK): Override to use a linker script
libgcc_s.so.
(SHLIB_INSTALL): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72254
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Thu, 9 Oct 2003 03:24:16 +0000 (03:24 +0000)]
* doc/install.texi: Remove reference to removed 'pthreads' thread
option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72253
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Thu, 9 Oct 2003 00:26:29 +0000 (00:26 +0000)]
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
modality check.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
Initialize insets to use latest insets.
* gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
field.
(postConfigureEvent): Update latestInsets field when insets
change. Remove call to setSize. Move validate call outside of
if blocks.
(setVisible): Call setBounds before showing window.
(nativeSetVisible): New native method.
* java/awt/Window.java (show): Show visible owned windows.
(hide): Hide visible owned windows.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(awt_event_handler): Implement modality using GTK grabs.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
(global_gtk_window_group): New global variable.
(gtkInit): Initialize global_gtk_window_group.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
Clamp width and height values to at least 1. Add this window to
the global GTK window group.
(setVisible): Rename to nativeSetVisible.
(setup_window): Remove function.
(setSize): Clamp width and height values to at least 1.
(nativeSetBounds): Likewise.
(gdk_window_get_root_geometry): Remove function.
* jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
and setup_window declarations. Declare global_gtk_window_group.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72252
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 9 Oct 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72250
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 8 Oct 2003 23:55:55 +0000 (23:55 +0000)]
2003-10-08 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md ("abssi2_isel"): Add early clobber to
operand 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72247
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 8 Oct 2003 23:38:45 +0000 (23:38 +0000)]
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkButtonPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
(gtkSetFont): Handle BOLD and ITALIC style specifiers.
(gtkWidgetSetForeground): New method.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
(setBackground, setForeground): Implement.
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(gtkSetFont): Handle BOLD and ITALIC style specifiers.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
Position PangoLayout relative to text's baseline.
* jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
* java/awt/FlowLayout.java (layoutContainer): Fix offset problem
for CENTER and RIGHT alignments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72246
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 8 Oct 2003 21:32:50 +0000 (21:32 +0000)]
* config.gcc: Don't accept --enable-threads=pthreads. Clean
up related case statements.
* configure.in: Don't accept --enable-threads=pthreads,
decosf1, mach, or os2 (none of which work anyway). Alphabetize
supported thread files in case clause.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72244
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 8 Oct 2003 21:28:40 +0000 (21:28 +0000)]
Move ChangeLog entries for config/ subdir into config/ChangeLog, where
they belong. Thanks to Kelley Cook <kcook34@ford.com>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72243
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 8 Oct 2003 21:16:01 +0000 (21:16 +0000)]
* libjava.mauve/xfails: Removed some tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72242
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 8 Oct 2003 21:09:18 +0000 (21:09 +0000)]
* function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'
definition to above SPARC_STACK_BOUNDARY_HACK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72241
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 8 Oct 2003 21:01:50 +0000 (21:01 +0000)]
2003-10-08 Michael Koch <konqueror@gmx.de>
* java/security/Security.java: Reformated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72240
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 8 Oct 2003 20:48:11 +0000 (20:48 +0000)]
2003-10-08 Michael Koch <konqueror@gmx.de>
* java/text/SimpleDateFormat.java
(compileFormat): Replace Character.isLetter() test with
Character.isLowerCase() || Character.isUpperCase().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72239
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 8 Oct 2003 19:00:21 +0000 (19:00 +0000)]
* java/lang/StrictMath.java (toDegrees): Multiply before
dividing.
(toRadians): Likewise.
2003-10-08 C. Brian Jones <cbj@gnu.org>
* java/lang/Math.java
(toRadians): multiply before dividing to reduce decimal error
(toDegrees): ditto
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72238
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 8 Oct 2003 18:13:53 +0000 (18:13 +0000)]
* c-pretty-print.c (pp_c_postfix_expression)
<COMPOUND_LITERAL_EXPR>: Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72236
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 8 Oct 2003 18:12:36 +0000 (18:12 +0000)]
* mklibgcc.in: Don't hide undefined or typeless symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72235
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 8 Oct 2003 17:55:41 +0000 (17:55 +0000)]
PR optimization/12142
* cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
uses of the register in the SET_SRC. Remove unnecessary argument.
* pa.c (legitimize_pic_address): Before reload, use a scratch register
for the intermediate result in loading the address of a SYMBOL_REF.
Set the MEM_NOTRAP_P flag for the MEM. Add a REG_EQUAL to the insn
which loads the SYMBOL_REF address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72234
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 8 Oct 2003 16:28:30 +0000 (16:28 +0000)]
2003-10-08 Michael Koch <konqueror@gmx.de>
* gnu/gcj/protocol/core/Connection.java,
gnu/gcj/protocol/core/CoreInputStream.java,
gnu/gcj/protocol/core/Handler.java,
gnu/gcj/protocol/core/natCoreInputStream.cc,
gnu/gcj/protocol/file/Connection.java,
gnu/gcj/protocol/file/Handler.java,
gnu/gcj/protocol/gcjlib/Connection.java,
gnu/gcj/protocol/gcjlib/Handler.java,
gnu/gcj/protocol/http/Connection.java,
gnu/gcj/protocol/http/Handler.java,
gnu/gcj/protocol/jar/Connection.java,
gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
* gnu/java/net/protocol/core/Connection.java,
gnu/java/net/protocol/core/CoreInputStream.java,
gnu/java/net/protocol/core/Handler.java,
gnu/java/net/protocol/core/natCoreInputStream.cc,
gnu/java/net/protocol/file/Connection.java,
gnu/java/net/protocol/file/Handler.java,
gnu/java/net/protocol/gcjlib/Connection.java,
gnu/java/net/protocol/gcjlib/Handler.java,
gnu/java/net/protocol/http/Connection.java,
gnu/java/net/protocol/http/Handler.java,
gnu/java/net/protocol/jar/Connection.java,
gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
* gnu/gcj/runtime/FirstThread.java,
java/net/URL.java: Use moved protocol handlers.
* Makefile.am
(ordinary_java_source_files): Moved files.
(nat_source_files): Likewise.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72233
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 8 Oct 2003 16:03:06 +0000 (16:03 +0000)]
2003-10-08 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SocketChannelImpl.java
(read): Write only read data to buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72232
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Wed, 8 Oct 2003 15:49:33 +0000 (15:49 +0000)]
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
out.
* jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
(JCL_free): Attach "unused" attribute to env parameter.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
parameters.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
(initNativeState): Pass 0 as info argument to
gtk_selection_add_target.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
(setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
unused method implementations.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(awt_event_handler): Add break statement after default label.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
(drawPixels): Remove unused variable i.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
(setEnabled): Remove method implementation.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(accel_attach): Call _gtk_accel_group_attach with G_OBJECT
argument.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
unused function.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(menu_pos): Assign TRUE to push_in.
(setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
argument.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
(create): Remove unused variable layout.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
Pass window_widget, rather than window, to
gtk_widget_set_size_request.
* jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
structure initialization with NULL values.
* jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72231
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 8 Oct 2003 15:30:44 +0000 (15:30 +0000)]
2003-10-08 Michael Koch <konqueror@gmx.de>
* java/util/LinkedList.java:
Removed whitespace to match classpath's version again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72230
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 8 Oct 2003 15:30:21 +0000 (15:30 +0000)]
2003-10-08 Michael Koch <konqueror@gmx.de>
* java/util/prefs/Preferences.java
(defaultFactoryClass): Fixed class name.
(getFactory): Create instance of class returned by Class.forName(),
reformated code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72229
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 8 Oct 2003 15:29:52 +0000 (15:29 +0000)]
2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
* javax/swing/table/AbstractTableModel.java
(getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
helped stop pulling my hair on this +1 then -1 tricky thing!
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72228
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 8 Oct 2003 14:20:42 +0000 (14:20 +0000)]
2003-10-08 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc: More minor cosmetic
changes and const-ifications of some variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72226
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 8 Oct 2003 12:29:27 +0000 (12:29 +0000)]
PR bootstrap/12490
* scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant
to define the size of the extern_C_braces array. Set it to 200.
(scan_decls): Abort when extern_C_braces_length is out-of-bounds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72224
138bc75d-0d04-0410-961f-
82ee72b054a4
carlo [Wed, 8 Oct 2003 12:24:08 +0000 (12:24 +0000)]
* Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand
a space after the -o option. flex 2.5.31 understands both, with
and without the space. Removed that space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72223
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 8 Oct 2003 08:27:29 +0000 (08:27 +0000)]
* config/mips/mips.c (mips_frame_info): Add cprestore_size field.
(compute_frame_size): Initialize it. Remove the .cprestore slot
from args_size.
(mips_output_function_prologue): Simplify accordingly.
(mips_debugger_offset): Change the mips16 frame pointer offset from
current_function_outgoing_args to cfun->machine->frame.args_size.
(mips_initial_elimination_offset): Likewise.
(mips_expand_prologue): Likewise.
(mips_expand_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72222
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 8 Oct 2003 08:26:10 +0000 (08:26 +0000)]
* config/mips/mips.h (EXTRA_CONSTRAINT): Add 'W' constraint.
(EXTRA_MEMORY_CONSTRAINT): Define.
(CAN_ELIMINATE): Remove lwu workaround.
* config/mips/mips.md (*zero_extendsidi2_mem): Enable for mips16 too.
Use a 'W' constraint for the source operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72221
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 8 Oct 2003 08:01:50 +0000 (08:01 +0000)]
* genopinit.c (main): Output code to declare undefined
variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72220
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 8 Oct 2003 07:22:50 +0000 (07:22 +0000)]
Fix pathname in last delta.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72219
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 8 Oct 2003 07:20:22 +0000 (07:20 +0000)]
* testsuite/gcc.c-torture/compile/mipscop-[1-4].c: Disable for mips16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72218
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Wed, 8 Oct 2003 01:06:13 +0000 (01:06 +0000)]
2003-10-08 Giovanni Bajo <giovannibajo@libero.it>
* g++.dg/parse/error2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72216
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Wed, 8 Oct 2003 00:42:56 +0000 (00:42 +0000)]
* cp_tree.h: Added TFF_NO_FUNCTION_ARGUMENTS.
* error.c (dump_function_decl): Use it to skip the dump of the
arguments.
(dump_expr): When dumping a declaration found within an
expression, always set TFF_NO_FUNCTION_ARGUMENTS
in the flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72215
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 8 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72213
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Tue, 7 Oct 2003 23:54:11 +0000 (23:54 +0000)]
PR c++/11097
* g++.dg/other/error5.C: Modify the error message.
* g++.dg/lookup/using8.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72211
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 7 Oct 2003 23:54:10 +0000 (23:54 +0000)]
2003-10-07 Kelley Cook <kcook@gcc.gnu.org>
* gengtype-lex.l: Remove -Wtraditional cruft.
* Makefile.in (gengtype-lex.c): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72210
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 7 Oct 2003 23:39:32 +0000 (23:39 +0000)]
Remove accidentally committed piece of patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72209
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Tue, 7 Oct 2003 22:39:21 +0000 (22:39 +0000)]
PR c++/11097
* pt.c (tsubst_decl): Substitute also the DECL_NAME node of
USING_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72208
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 7 Oct 2003 22:14:07 +0000 (22:14 +0000)]
* cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72207
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 7 Oct 2003 22:10:37 +0000 (22:10 +0000)]
PR c++/12519
* c-semantics.c (genrtl_cleanup_stmt): Ignore the CLEANUP_DECL if
it isn't a decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72206
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Tue, 7 Oct 2003 21:33:29 +0000 (21:33 +0000)]
2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
Remove unused parameters.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
Likewise.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(keyevent_state_to_awt_mods): Export function.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
(getCaretPosition): Fix TextArea case.
(textcomponent_commit_cb): Get exact event time and modifier
state.
* jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72202
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Tue, 7 Oct 2003 21:14:14 +0000 (21:14 +0000)]
2003-10-07 Alexandre Oliva <aoliva@redhat.com>
* gcc.c (cpp_options): Only pass -fworking-directory for -g* if
not overridden.
Fixes PR bootstrap/12173.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72201
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 7 Oct 2003 20:06:37 +0000 (20:06 +0000)]
* errors.c: Don't include coretypes.h or tm.h.
(trim_filename): Use IS_DIR_SEPARATOR.
* Makefile.in: Update dependencies of errors.o and
$(BUILD_PREFIX_1)errors.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72200
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 7 Oct 2003 19:48:23 +0000 (19:48 +0000)]
2003-10-07 Geoffrey Keating <geoffk@apple.com>
* function.c (pad_to_arg_alignment): Take STACK_POINTER_OFFSET into
account when aligning arguments.
* calls.c (STACK_POINTER_OFFSET): Move default from here ...
* defaults.h (STACK_POINTER_OFFSET): ... to here.
* config/sparc/sparc.h (STACK_BOUNDARY): Add comment about how
it's wrong when TARGET_ARCH64 && TARGET_STACK_BIAS.
(SPARC_STACK_BOUNDARY_HACK): Define.
* config/rs6000/rs6000.c (function_arg): On non-SVR4 systems,
arrange for vector parameters to varargs functions to be passed
in both memory and GPRs when appropriate.
(rs6000_va_arg): Vector arguments passed in memory are 16-byte
aligned.
Index: testsuite/ChangeLog
2003-10-07 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-abi-2.c: New file.
* gcc.c-torture/execute/va-arg-24.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72199
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 7 Oct 2003 19:24:53 +0000 (19:24 +0000)]
Correct ChangeLog entry for last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72198
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 7 Oct 2003 19:23:08 +0000 (19:23 +0000)]
* hooks.c (hook_bool_tree_true): New.
(hook_rtx_tree_int_null): New.
(hook_rtx_rtx_null): Use NULL, not 0.
* hooks.h: Add 'extern' to everything.
(hook_bool_tree_true): New.
(hook_rtx_tree_int_null): New.
* targhooks.c (hook_bool_CUMULATIVE_ARGS_true): New.
* targhooks.h (hook_bool_CUMULATIVE_ARGS_true): New.
* config/rs6000/rs6000-protos.h (setup_incoming_varargs): Remove
prototype.
* config/rs6000/rs6000.c (rs6000_return_in_memory): New.
(setup_incoming_varargs): Prototype.
(TARGET_PROMOTE_FUNCTION_ARGS): Define.
(TARGET_PROMOTE_FUNCTION_RETURN): Define.
(TARGET_STRUCT_VALUE_RTX): Define.
(TARGET_RETURN_IN_MEMORY): Define.
(TARGET_SETUP_INCOMING_VARARGS): Define.
(TARGET_STRICT_ARGUMENT_NAMING): Define.
(TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Define.
(init_cumulative_args): Use rs6000_return_in_memory.
(setup_incoming_varargs): Make 'static'.
* config/rs6000/rs6000.h (PROMOTE_FUNCTION_ARGS): Delete.
(PROMOTE_FUNCTION_RETURN): Delete.
(STRUCT_VALUE): Delete.
(RETURN_IN_MEMORY): Delete.
(SETUP_INCOMING_VARARGS): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72197
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Tue, 7 Oct 2003 16:56:47 +0000 (16:56 +0000)]
* g++.dg/template/spec10.C: Set exit value to zero on success. Fix
indentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72195
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Tue, 7 Oct 2003 16:28:37 +0000 (16:28 +0000)]
* doc/invoke.texi (Warning Options): Simplify and clarify the
descriptions of -Wnonnull and -Winit-self.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72194
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Tue, 7 Oct 2003 16:07:28 +0000 (16:07 +0000)]
* optabs.c (init_intraclass_conv_libfuncs): Fix order of array
indicees for floating-point conversersion libcalls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72193
138bc75d-0d04-0410-961f-
82ee72b054a4