platform/upstream/linaro-gcc.git
21 years ago * real.c (encode_ieee_extended): Initialize whole array.
hubicka [Thu, 30 Oct 2003 21:01:16 +0000 (21:01 +0000)]
* real.c (encode_ieee_extended): Initialize whole array.
* reg-stack.c (move_for_stack_reg0: Use always XFmode.
* i386-modes.def: Change definitions of TFmode and XFmode.
* i386.c (classify_argument): Rename TFmodes to XFmodes; add new TFmode code.
(construct_container): Allow constructing of TFmode integer containers.
(ix86_return_in_memory):  XFmode is not returned in memory.
(init_ext_80387_constants): Always use XFmode.
(print_operand): Likewise.
(ix86_prepare_fp_compare_regs): Likewise.
(split_to_parts): Deal with TFmode.
(split_long_move): Simplify.
(ix86_init_mmx_sse_builtins): Add __float80, __float128.
(ix86_memory_move_cost): Do not confuse TFmode.
* i386.h (LONG_DOUBLE_TYPE_SIZE): Set to 96.
(IS_STACK_MODE): TFmode is not stack mode.
(HARD_REGNO_NREGS, CLASS_MAX_NREGS): Deal nicely with XFmode.
(VALID_SSE_REG_MODE): Allow TFmode.
(VALID_FP_MODE_P): Disallow TFmode.
(VALID_INT_MODE_P): Allow TFmode in 64bit mode.
* i386.md (TFmode patterns): Kill.
(movtf, motf_rex64): New patterns.

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

21 years ago Jan Hubicka <jh@suse.cz>
zlomek [Thu, 30 Oct 2003 20:18:13 +0000 (20:18 +0000)]
Jan Hubicka <jh@suse.cz>
* vasprintf.c (int_vasprintf): Pass va_list by value.
Use va_copy for copying va_list.
(vasprintf): Pass va_list by value.

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

21 years ago * config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.
rsandifo [Thu, 30 Oct 2003 18:13:43 +0000 (18:13 +0000)]
* config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.

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

21 years ago * config/mips/mips.md (mov_lwl): Use memory_operand where appropriate.
rsandifo [Thu, 30 Oct 2003 18:11:27 +0000 (18:11 +0000)]
* config/mips/mips.md (mov_lwl): Use memory_operand where appropriate.
(mov_lwr, mov_swl, mov_swr): Likewise.
(mov_ldl, mov_ldr, mov_sdl, mov_sdr): Likewise.

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

21 years ago * config/mips/mips.c (mips_global_pointer): Don't try to use $25.
rsandifo [Thu, 30 Oct 2003 18:07:38 +0000 (18:07 +0000)]
* config/mips/mips.c (mips_global_pointer): Don't try to use $25.

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

21 years ago2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Thu, 30 Oct 2003 17:37:33 +0000 (17:37 +0000)]
2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
word wrapping.

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

21 years ago * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
zlomek [Thu, 30 Oct 2003 17:00:51 +0000 (17:00 +0000)]
* hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
instead of increasing n_elements when inserting to deleted slot.

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

21 years ago * config/mips/mips.c (mips_build_builtin_va_list): Use runtime
rth [Thu, 30 Oct 2003 16:48:13 +0000 (16:48 +0000)]
    * config/mips/mips.c (mips_build_builtin_va_list): Use runtime
        test for irix6 rather than preprocessor test.

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

21 years ago * cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.
rth [Thu, 30 Oct 2003 16:36:27 +0000 (16:36 +0000)]
    * cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.

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

21 years agoComplete previous check in.
charlet [Thu, 30 Oct 2003 16:24:40 +0000 (16:24 +0000)]
Complete previous check in.

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

21 years ago * ada/acats/run_all.sh: Do not print PASS messages to stdout, as
charlet [Thu, 30 Oct 2003 16:22:26 +0000 (16:22 +0000)]
* ada/acats/run_all.sh: Do not print PASS messages to stdout, as
done by dejagnu.

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

21 years ago * config/s390/s390.c (struct machine_function): Use save_return_addr_p
uweigand [Thu, 30 Oct 2003 14:11:34 +0000 (14:11 +0000)]
* config/s390/s390.c (struct machine_function): Use save_return_addr_p
as a general flag that the return address register needs to be saved,
not necessarily because of __builtin_return_addr (0).
(s390_split_branches): Remove TEMP_REG and TEMP_USED arguments,
remove special handling of zSeries machines.
(s390_optimize_prolog): Remove TEMP_USED argument, treat the return
register as a regular register on zSeries machines.
(s390_reorg): Adjust calls to s390_split_branches and
s390_optimize_prolog.
(s390_frame_info): On zSeries machines, do not assume the return
register is always used.  Update regs_ever_live with current data
for the special registers.
(s390_emit_epilogue): Use save_return_addr_p to determine whether
the return register was saved.
* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Do not mark
RETURN_REGNUM fixed on zSeries machines.
(REG_ALLOC_ORDER): Use RETURN_REGNUM last.
* config/s390/s390.md ("*doloop_si"): Handle branch overflow
via ahi-jgne pair on zSeries machines.
("*doloop_di"): Likewise.
("*doloop_di_long"): Remove.

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

21 years ago * 3vtrasym.adb:
charlet [Thu, 30 Oct 2003 11:50:12 +0000 (11:50 +0000)]
* 3vtrasym.adb:
Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
numbers when symbol name is too long.

* g-signal.ads, g-signal.adb: New files

* impunit.adb: (Non_Imp_File_Names): Added "g-signal"

* Makefile.rtl: Introduce GNAT.Signals

* freeze.adb: Minor reformatting

* lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified

* par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
New handling of Id_Check parameter to improve recognition of keywords
used as identifiers.
Update copyright notice to include 2003

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

21 years ago* arm.c (arm_override_options): Revert change of arm_constant_limit
rearnsha [Thu, 30 Oct 2003 10:26:04 +0000 (10:26 +0000)]
* arm.c (arm_override_options): Revert change of arm_constant_limit
when optimizing for size.

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

21 years ago2003-10-30 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 30 Oct 2003 09:03:01 +0000 (09:03 +0000)]
2003-10-30  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
__mod is only assigned, never used its value, remove it.

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

21 years ago * fold-const.c (fold_single_bit_test): Convert the input to the
rth [Thu, 30 Oct 2003 02:26:29 +0000 (02:26 +0000)]
    * fold-const.c (fold_single_bit_test): Convert the input to the
        operational intermediate type.

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

21 years ago * builtins.c (std_build_builtin_va_list): New.
rth [Thu, 30 Oct 2003 02:02:49 +0000 (02:02 +0000)]
* builtins.c (std_build_builtin_va_list): New.
* expr.h (std_build_builtin_va_list): Declare.
* defaults.h (BUILD_VA_LIST_TYPE): New.
* system.h (BUILD_VA_LIST_TYPE): Poison.
* target-def.h (TARGET_BUILD_BUILTIN_VA_LIST): New.
* target.h (struct gcc_target): Add build_builtin_va_list.
* tree.c (build_common_tree_nodes_2): Use it.

* config/alpha/alpha-protos.h, config/alpha/alpha.c,
config/alpha/alpha.h, config/alpha/unicosmk.h,
config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h,
config/i386/i386-protos.h, config/i386/i386.c, config/i386/i386.h,
config/i860/i860-protos.h, config/i860/i860.c, config/i860/i860.h,
config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h,
config/mips/iris6.h, config/mips/mips-protos.h, config/mips/mips.c,
config/mips/mips.h, config/rs6000/rs6000-protos.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h,
config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
config/xtensa/xtensa-protos.h, config/xtensa/xtensa.c,
config/xtensa/xtensa.h: Rename foo_build_va_list to
foo_build_builtin_va_list; make it static.  Define
TARGET_BUILD_BUILTIN_VA_LIST.  Remove BUILD_VA_LIST_TYPE.
Update protos.

* config/i386/i386.c (ix86_expand_carry_flag_compare): Make static.
* config/iq2000/iq2000.h (BUILD_VA_LIST_TYPE): Remove.

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

21 years ago2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Thu, 30 Oct 2003 01:49:39 +0000 (01:49 +0000)]
2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
scrolled window's size request.

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

21 years agoFix problem noticed by Dale Johannesen on the gcc list.
wilson [Thu, 30 Oct 2003 01:40:48 +0000 (01:40 +0000)]
Fix problem noticed by Dale Johannesen on the gcc list.
* recog.c (asm_operand_ok): Add missing break after case 'X'.
Change if statements to else if statements in default case.
(extract_constrain_insn_cached): Fix misspelling of constrain_operands
in comment.
(constrain_operands_cached): Likewise.
(constrain_operands): Change if statements to else if statements in
default case.
* reload.c (find_reloads): Likewise.

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

21 years ago * config/m68k/m68k.c (notice_update_cc): Clear cc status for
rth [Thu, 30 Oct 2003 00:55:15 +0000 (00:55 +0000)]
    * config/m68k/m68k.c (notice_update_cc): Clear cc status for
        shifts and rotates.

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

21 years ago * pa.md: Missed update in previous commit.
danglin [Thu, 30 Oct 2003 00:30:37 +0000 (00:30 +0000)]
* pa.md: Missed update in previous commit.

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

21 years agoDaily bump.
gccadmin [Thu, 30 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * config/rs6000/rs6000.md: Remove duplicate pattern.
amodra [Wed, 29 Oct 2003 23:31:54 +0000 (23:31 +0000)]
* config/rs6000/rs6000.md: Remove duplicate pattern.

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

21 years ago * real.c (do_divide): Initialize result with a 0.
hp [Wed, 29 Oct 2003 22:33:54 +0000 (22:33 +0000)]
* real.c (do_divide): Initialize result with a 0.

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

21 years ago * configure.in <enable-checking for valgrind>: Look for
hp [Wed, 29 Oct 2003 22:13:59 +0000 (22:13 +0000)]
* configure.in <enable-checking for valgrind>: Look for
<valgrind/memcheck.h> first.  AC_DEFINE HAVE_VALGRIND_MEMCHECK_H
if it exists.
* configure, config.in: Regenerate.
* ggc-common.c [ENABLE_VALGRIND_CHECKING &&
HAVE_VALGRIND_MEMCHECK_H]: Include <valgrind/memcheck.h>.  Use
#elif for other alternatives.
* ggc-page.c: Ditto.
* ggc-zone.c: Don't assume <valgrind/memcheck.h>; instead copy
include structure from ggc-common.c.

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

21 years ago * pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.
danglin [Wed, 29 Oct 2003 21:44:16 +0000 (21:44 +0000)]
* pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.
(ASM_OUTPUT_ADDR_DIFF_ELT): Use label difference in big switch ELTs.
* pa.c (pa_adjust_insn_length): Check for btable branches using
attribute TYPE_BTABLE_BRANCH.
(pa_reorg): Simplify.
* pa.h (CASE_VECTOR_MODE): Change big switch mode to SImode.
(ASM_OUTPUT_ADDR_VEC_ELT): As above.
(ASM_OUTPUT_ADDR_DIFF_ELT): As above.
* pa.md (btable_branch): New instruction type.
(in_branch_delay, in_nullified_branch_delay, in_call_delay): Disallow
btable branches.
(define_delay): Add btable branches to insn types that may have an
insn in the delay position.
(Z2, Z3): Add btable branch to list.
Simplify unamed pattern set copy pic_label_operand to register.  Add
PA 2.0 variant.
(short_jump): New jump for use in branch tables.
(casesi, casesi0): Revise for new branch table formats.
(casesi32, casesi32p, casesi64p): New casesi patterns.
(indirect_jump): Move.

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

21 years ago * config/rs6000/rs6000.h (UNITS_PER_WORD): Revert to
dje [Wed, 29 Oct 2003 21:02:14 +0000 (21:02 +0000)]
    * config/rs6000/rs6000.h (UNITS_PER_WORD): Revert to
        !TARGET_POWERPC64.
        (UNITS_PER_GPR_WORD): Delete.
        (HARD_REGNO_NREGS): Revert to UNITS_PER_WORD.
        (HARD_REGNO_MODE_OK): Same.
        (CLASS_MAX_NREGS): Same.

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

21 years ago * pa.h (ASM_COMMENT_START): Define.
danglin [Wed, 29 Oct 2003 20:17:50 +0000 (20:17 +0000)]
* pa.h (ASM_COMMENT_START): Define.

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

21 years ago * ada/acats/run_all.sh: Redirect mv output to /dev/null
charlet [Wed, 29 Oct 2003 17:04:38 +0000 (17:04 +0000)]
* ada/acats/run_all.sh: Redirect mv output to /dev/null
Avoid non pure sh syntax. Add more logging.

* ada/acats/norun.lst: Disable cdd2a03, since it is expected to
fail.

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

21 years ago * genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
zack [Wed, 29 Oct 2003 17:01:27 +0000 (17:01 +0000)]
* genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
MODE_FLOAT, and MODE_PARTIAL_INT modes as having one
component, not zero.

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

21 years ago * config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c.
schwab [Wed, 29 Oct 2003 16:21:36 +0000 (16:21 +0000)]
* config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c.

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

21 years ago2003-10-29 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 29 Oct 2003 16:20:34 +0000 (16:20 +0000)]
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_get::do_get_year):
Absolutely avoid dereferencing end iterators.
(time_put::put): Minor clean up.

* include/bits/locale_facets.tcc: Cosmetic reformattings.

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

21 years ago2003-10-29 Sascha Brawer <brawer@dandelis.ch>
mkoch [Wed, 29 Oct 2003 16:17:51 +0000 (16:17 +0000)]
2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

        * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
        * java/awt/geom/QuadCurve2D.java: Likewise.

2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/CubicCurve2D.java: Added documentation.
* java/awt/geom/QuadCurve2D.java: Likewise.

* java/awt/geom/doc-files/QuadCurve2D-4.png,
java/awt/geom/doc-files/QuadCurve2D-5.png,
java/awt/geom/doc-files/CubicCurve2D-4.png,
java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.

2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
(subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
(subdivide(double[],int,double[],int,double[],int)): Implement.

2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/doc-files/CubicCurve2D-1.png,
java/awt/geom/doc-files/CubicCurve2D-2.png,
java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.

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

21 years agoForgot to add one ChangeLog entry from classpath.
mkoch [Wed, 29 Oct 2003 16:11:22 +0000 (16:11 +0000)]
Forgot to add one ChangeLog entry from classpath.

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

21 years ago2003-10-29 Mark Wielaard <mark@klomp.org>
mkoch [Wed, 29 Oct 2003 16:07:59 +0000 (16:07 +0000)]
2003-10-29  Mark Wielaard  <mark@klomp.org>

From Guilhem Lavaux  <guilhem.lavaux@free.fr>
* java/text/DateFormat.java (Field): New public static inner class.
* java/text/Format.java (Field): Likewise.
(formatToCharacterIterator): New method.
* java/text/FormatCharacterIterator.java: New file.

2003-10-29  Mark Wielaard  <mark@klomp.org>

From Guilhem Lavaux  <guilhem.lavaux@free.fr>
* java/util/Currency.java: New file.

2003-10-29  Michael Koch  <konqueror@gmx.de>

* Makefile.am (ordinary_java_source_files): Added
java/text/FormatCharacterIterator.java and java/util/Currency.java.
* Makefile.in: Regenerated.

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

21 years agoAdded a missing word.
ebotcazou [Wed, 29 Oct 2003 15:40:57 +0000 (15:40 +0000)]
Added a missing word.

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

21 years ago * config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
ebotcazou [Wed, 29 Oct 2003 15:36:12 +0000 (15:36 +0000)]
* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
Never return 1 for complex integral modes whose size is lesser or
equal to a word.
(function_arg_pass_by_reference) [TARGET_ARCH64]: Mention CTImode
in the comment.
(function_arg_advance) [TARGET_ARCH64]: Don't special-case complex
modes.
(sparc_va_arg) [TARGET_ARCH64]: Handle any types whose is greater
than 16 bytes by reference.

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

21 years ago2003-10-29 Dalibor Topic <robilad@kaffe.org>
mkoch [Wed, 29 Oct 2003 15:22:01 +0000 (15:22 +0000)]
2003-10-29  Dalibor Topic  <robilad@kaffe.org>

* gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
static methods.

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

21 years ago2003-10-29 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 29 Oct 2003 15:02:40 +0000 (15:02 +0000)]
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

        * include/bits/locale_facets.tcc (num_get::_M_extract_float):
Revert the last commit, is incorrect, sorry.

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

21 years ago2003-10-29 Julian Dolby <dolby@us.ibm.com>
mkoch [Wed, 29 Oct 2003 14:54:00 +0000 (14:54 +0000)]
2003-10-29  Julian Dolby  <dolby@us.ibm.com>

* javax/naming/spi/NamingManager.java (getContinuationContext): Call
getObjectInstance() with Object, Name, Context and environment
Hashtable from exception. Call fillInStackTrace() on exception when
rethrown.
* javax/naming/InitialContext.java (lookup(Name)): When a
CannotProceedException is thrown use the ContinuationContext.
(lookup(String)): Likewise.
(close): Clear myProps and defaultInitCtx.

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

21 years agoSomehow this didnt got commited due to full hard disk.
mkoch [Wed, 29 Oct 2003 14:44:51 +0000 (14:44 +0000)]
Somehow this didnt got commited due to full hard disk.

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

21 years ago * config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE,
kenner [Wed, 29 Oct 2003 14:23:45 +0000 (14:23 +0000)]
* config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE,
not TARGET_ILP32.
(ia64_initialize_trampoline): Use globalize_label target call.

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

21 years ago * ada/acats/run_all.sh: Redirect mv output to /dev/null
charlet [Wed, 29 Oct 2003 13:48:35 +0000 (13:48 +0000)]
* ada/acats/run_all.sh: Redirect mv output to /dev/null

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

21 years ago2003-10-29 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 29 Oct 2003 13:34:04 +0000 (13:34 +0000)]
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

* config/locale/generic/c_locale.cc: Add back <cmath>
and <cstdlib>.

* include/bits/locale_facets.tcc
(num_get::_M_extract_float): Clean up.

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

21 years ago2003-10-29 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 29 Oct 2003 12:21:58 +0000 (12:21 +0000)]
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_put::put): Absolutely
avoid dereferencing end iterators; clean up.

* include/bits/locale_facets.tcc (num_get::_M_extract_float,
num_get::_M_extract_int): Minor tweak.

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

21 years ago2003-10-29 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 29 Oct 2003 10:53:19 +0000 (10:53 +0000)]
2003-10-29  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java
(equals): Remove redundant obj == null check.
* java/net/SocketPermission.java
(equals): Likewise.
* java/net/URL.java
(equals): Likewise.
(getURLStreamHandler): Likewise.

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

21 years ago2003-10-29 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 29 Oct 2003 10:33:57 +0000 (10:33 +0000)]
2003-10-29  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/natPlainDatagramSocketImplPosix.cc
(setOption): Directly return if no error occured.
* gnu/java/net/natPlainSocketImplPosix.cc
(setOption): Likewise.

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

21 years ago * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
charlet [Wed, 29 Oct 2003 10:26:16 +0000 (10:26 +0000)]
* 3vtrasym.adb, 5vtraent.ads, sprint.adb,
sem_ch10.adb: Minor reformatting

* exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
(Expand_Assign_Record): Test right hand side for bit unaligned as well

* 3vtrasym.adb:
* 5vtraent.adb:
* 5vtraent.ads:
* tb-alvms.c:
Support for TBK$SYMBOLIZE-based symbolic traceback.

* exp_disp.adb:
Revert previous change, that did not work well when pragma No_Run_Time
was used in conjunction with a run-time other than ZFP.

* make.adb:
(Gnatmake): When there are no Ada mains in attribute Main, disable the
 bind and link steps only is switch -z is not used.

* Makefile.generic: Remove duplicated setting of CC.

* Makefile.prolog: Set CC to gcc by default, to override make's
default (cc).

* einfo.h: Regenerated.

* sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
current body, after compiling subunit.

* itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
when in deleted code, because gigi needs properly ordered freeze
actions to annotate types.

* freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
prevent the premature freezing of record type that contains
subcomponents with a private type that does not yet have a completion.

* sem_ch12.adb:
(Analyze_Package_Instantiation): Check that instances can not be used in
limited with_clauses.

* sem_ch8.adb:
(Analyze_Package_Renaming): Check that limited withed packages cannot
be renamed. Improve text on error messages related to limited
with_clauses.

* einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.

* sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
Update copyright notice.

* sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
(Install_Limited_Context_Clauses): New subprogram that isolates all the
checks required for limited context_clauses and installs the limited
view.
(Install_Limited_Withed_Unit): Complete its documentation.
(Analyze_Context): Check that limited with_clauses are only allowed in
package specs.
(Install_Context): Call Install_Limited_Context_Clauses after the
parents have been installed.
(Install_Limited_Withed_Unit): Add documentation. Mark the installed
package as 'From_With_Type'; this mark indicates that the limited view
is installed. Used to check bad usages of limited with_clauses.
(Build_Limited_Views): Do not add shadow entities to the scope's list
of entities. Do not add real entities to the Non_Limited_Views chain.
Improve error notification.
(Remove_Context_Clauses): Remove context clauses in two phases:
limited views first and regular views later (to maintain the
stack model).
(Remove_Limited_With_Clause): If the package is analyzed then reinstall
its visible entities.

* sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
with any type that Is_Fixed_Point_Type.

* sinfo.ads: Fix documentation for Associated_Node attribute.

* switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
both '-gnatc' and '-gnatt' are specified.

* atree.adb (Initialize): Add initialization for Node_Count (set to
zero).

* decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
do not consider as Pure.

Part of implementation of function-at-a-time:

* trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
(tree_transform): Add new argument to build_component_ref.
(tree_transform, case N_Assignment_Statement): Make and return an
EXPR_STMT.
(tree_transform): If result IS_STMT, set flags and return it.
(gnat_expand_stmt, set_lineno_from_sloc): New functions.

* utils2.c (build_simple_component_ref, build_component_ref): Add new
arg, NO_FOLD_P.
(build_binary_op, case EQ_EXPR): Pass additional arg to it.
(build_allocator): Likewise.

* utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
Add new arg to build_component_ref.
(maybe_unconstrained_array, unchecked_convert): Likewise.

* ada-tree.def (EXPR_STMT): New code.

* ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.

* decl.c (gnat_to_gnu_entity, case object): Add extra arg to
build_component_ref calls.

* misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.

* gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
(build_component_ref): Add new argument, NO_FOLD_P.

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

21 years ago * doc/install.texi (Building): Add a sentence about building Ada
schwab [Wed, 29 Oct 2003 10:14:21 +0000 (10:14 +0000)]
* doc/install.texi (Building): Add a sentence about building Ada
for a canadian cross.

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

21 years ago2003-10-29 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 29 Oct 2003 10:08:05 +0000 (10:08 +0000)]
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc: Remove some unnecessary
includes.
* config/locale/generic/c_locale.cc: Include <cerrno> here.
* config/locale/gnu/c_locale.cc: Likewise.

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

21 years ago * config/ia64/ia64.c (cmptf_libfunc): New static.
zack [Wed, 29 Oct 2003 01:28:09 +0000 (01:28 +0000)]
* config/ia64/ia64.c (cmptf_libfunc): New static.
(ia64_expand_compare): Add logic to open-code calls to
_U_Qfcmp for TFmode comparisons.
(ia64_hpux_init_libfuncs): Initialize cmptf_libfunc.
Set libfuncs for TFmode eq/ne/gt/ge/lt/gt to 0; these should
never be generated anymore.
* config/ia64/ia64.md (cmptf): New expander.

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

21 years ago * ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants.
zack [Wed, 29 Oct 2003 00:55:43 +0000 (00:55 +0000)]
* ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants.
(*sqrt_approx): New instruction pattern for approximate square roots.
(*setf_exp_xf): New instruction pattern for exponentiation.
(*maddxf4_alts_truncsf): New instruction pattern for truncation.
(sqrtsf2_internal_thr): New define_and_split implementing
throughput-optimized inline calculation of SFmode square root.
(sqrtdf2_internal_thr): Likewise for DFmode.
(sqrtxf2_internal_thr): Likewise for XFmode.
(sqrtsf2, sqrtdf2, sqrtxf2): New expanders to choose between
latency- and throughput-optimized square root algorithms.
* ia64.h (MASK_INLINE_SQRT_LAT, MASK_INLINE_SQRT_THR,
TARGET_INLINE_SQRT_LAT, TARGET_INLINE_SQRT_THR, TARGET_INLINE_SQRT):
New macros.
(TARGET_SWITCHES): Add -minline-sqrt-min-latency and
-minline-sqrt-max-throughput.
* ia64.c (ia64_override_options): If both -minline-sqrt-min-latency
and -minline-sqrt-max-throughput are given, notify the user
that both options cannot be used simultaneously.
If -minline-sqrt-min-latency is given, notify the user that
this mode is not yet implemented.
(rtx_needs_barrier): Reformat initial comment to obey
72-character width limit.  Support UNSPEC_SETF_EXP and
UNSPEC_FR_SQRT_RECIP_APPROX.

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

21 years agoDaily bump.
gccadmin [Wed, 29 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
bryce [Tue, 28 Oct 2003 22:45:57 +0000 (22:45 +0000)]
* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
vtable slot for final methods. Add FIXME comment.

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

21 years ago * config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr
amodra [Tue, 28 Oct 2003 22:25:36 +0000 (22:25 +0000)]
* config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr
moves.

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

21 years ago 2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 28 Oct 2003 21:13:39 +0000 (21:13 +0000)]
2003-10-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR libgcj/10610
* gcc.dg/ppc-stackalign-1.c: New test.

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

21 years ago 2003-10-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 28 Oct 2003 19:46:42 +0000 (19:46 +0000)]
2003-10-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR target/11598
PR libgcj/10610
* config/rs6000/sysv4.h (PREFERRED_STACK_BOUNDARY): New macro.

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

21 years agoAdd missing ChangeLog entry for gcc.c-torture/execute/20031020-1.c.
falk [Tue, 28 Oct 2003 18:59:01 +0000 (18:59 +0000)]
Add missing ChangeLog entry for gcc.c-torture/execute/20031020-1.c.

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

21 years ago* approved by aph
fche [Tue, 28 Oct 2003 18:38:07 +0000 (18:38 +0000)]
* approved by aph

2003-10-28  Frank Ch. Eigler  <fche@redhat.com>

* verify.c (verify_jvm_instructions): Don't warn about legal
eh binding regions generated for example by jdk 1.4.1.

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

21 years ago2003-10-28 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 28 Oct 2003 17:09:03 +0000 (17:09 +0000)]
2003-10-28  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc
(money_get<>::do_get(..., string_type&)): Absolutely avoid
dereferencing end iterators; general clean up.

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

21 years ago * ada/acats/run_all.sh:
charlet [Tue, 28 Oct 2003 16:00:20 +0000 (16:00 +0000)]
* ada/acats/run_all.sh:
Only run [a-z]* directories, to filter out e.g. CVS.
Redirect build output to log file.

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

21 years ago * ada/acats/run_all.sh: Change output to be more compliant with
charlet [Tue, 28 Oct 2003 14:19:27 +0000 (14:19 +0000)]
* ada/acats/run_all.sh: Change output to be more compliant with
dejagnu framework.
Create acats.sum and acats.log files under testsuite/ada/acats

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

21 years ago2003-10-28 David S. Miller <davem@redhat.com>
davem [Tue, 28 Oct 2003 14:19:23 +0000 (14:19 +0000)]
2003-10-28  David S. Miller  <davem@redhat.com>

* sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.

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

21 years agoChange output to be more cpliant with dejagnu framework.
charlet [Tue, 28 Oct 2003 14:18:34 +0000 (14:18 +0000)]
Change output to be more cpliant with dejagnu framework.
Create acats.sum and acats.log files under testsuite/ada/acats

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

21 years ago2003-10-28 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 28 Oct 2003 12:23:31 +0000 (12:23 +0000)]
2003-10-28  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_get::_M_extract_num):
Absolutely avoid dereferencing end iterators.
(time_get::_M_extract_name): Likewise.

* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format, case 'e'): Don't try to
be smart wrt returning the right __beg in case of parse
error, time_get::_M_extract_num must be fixed instead.

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

21 years ago* arm.c (arm_output_epilogue): When using a frame pointer, don't emit
rearnsha [Tue, 28 Oct 2003 09:47:45 +0000 (09:47 +0000)]
* arm.c (arm_output_epilogue): When using a frame pointer, don't emit
an extra stack adjustment insn if the stack pointer is already
pointing at the right place.
(use_return_insn): Allow a return insn to be used when we have a
frame pointer if the stack pointer is in the right place.
(output_return_instruction): Handle it.

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

21 years ago * ggc-zone.c (check_cookies): Add missing variable.
aj [Tue, 28 Oct 2003 07:43:11 +0000 (07:43 +0000)]
* ggc-zone.c (check_cookies): Add missing variable.
Add void to prototypes.

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

21 years ago * config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
ghazi [Tue, 28 Oct 2003 03:47:37 +0000 (03:47 +0000)]
* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
* crtstuff.c (__do_global_ctors_1): Move prototype.
* unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when
appropriate.
* unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction):
Mark parameter with __attribute__((unused)).

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

21 years ago * c-decl.c (pushdecl): Clarify comment.
zack [Tue, 28 Oct 2003 01:05:12 +0000 (01:05 +0000)]
* c-decl.c (pushdecl): Clarify comment.

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

21 years agoDaily bump.
gccadmin [Tue, 28 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-10-27 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 27 Oct 2003 23:11:52 +0000 (23:11 +0000)]
2003-10-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12778
* acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

21 years ago2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 27 Oct 2003 21:43:33 +0000 (21:43 +0000)]
2003-10-27  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/17_intro/TODO: Add links.
* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
Uncomment.

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

21 years ago2003-10-27 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 27 Oct 2003 16:21:14 +0000 (16:21 +0000)]
2003-10-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12750
* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format): Deal with code 'e'.
* testsuite/22_locale/time_get/get_date/char/12750.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.

* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format): Tweak to absolutely avoid
dereferencing end iterators.

* include/bits/locale_facets.h (__verify_grouping):
Const-ify second parameter.
* include/bits/locale_facets.tcc (__verify_grouping): Ditto.
* src/locale-inst.cc (__verify_grouping): Ditto.

2003-10-27  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get::_M_extract_float):
Various things: 1- Avoid absolutely end iterator dereferences;
2- Improve performance-wise the code skipping leading zeros;
3- Fix two bugs wrt early bail out in case of parsing errors
(see testcases); 4- General clean up.
(num_get::_M_extract_int): Likewise, except 3-. Additionally,
use __builtin_expect to favor base 10 inputs.
* testsuite/22_locale/num_get/get/char/7.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.

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

21 years ago * doc/install.texi: Update instructions for Ada cross builds
charlet [Mon, 27 Oct 2003 15:35:26 +0000 (15:35 +0000)]
* doc/install.texi: Update instructions for Ada cross builds

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

21 years ago * README.ada: Removed, integrated in ../doc/sourcebuild.texi
charlet [Mon, 27 Oct 2003 14:56:06 +0000 (14:56 +0000)]
* README.ada: Removed, integrated in ../doc/sourcebuild.texi

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

21 years ago PR ada/5909:
charlet [Mon, 27 Oct 2003 14:51:26 +0000 (14:51 +0000)]
PR ada/5909:
* doc/sourcebuild.texi: Document Ada test suite.

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

21 years ago * Makefile.generic: Add missing substitution on object_deps handling.
charlet [Mon, 27 Oct 2003 14:27:17 +0000 (14:27 +0000)]
* Makefile.generic: Add missing substitution on object_deps handling.

PR ada/5909:
* Make-lang.in (check-ada): Enable ACATS test suite.

* exp_ch3.adb:
(Freeze_Array_Type): We do not need an initialization routine for types
derived from String or Wide_String. They should be treated the same
as String and Wide_String themselves. This caused problems with the
use of Initialize_Scalars.

* exp_ch5.adb:
(Expand_Assign_Record): Do component-wise assignment of non-byte aligned
composites. This allows use of component clauses that are not byte
aligned.

* sem_prag.adb:
(Analyze_Pragma, case Pack): Generate warning and ignore pack if there
is an attempt to pack an array of atomic objects.

* make.adb, prj-env.adb, prj-env.ads: Minor reformatting

* g-dirope.adb:
(Basename): Check for drive letters in a pathname only on DOS based OS.

* make.adb:
(Gnatmake): When unable to change dir to the object dir, display the
content of the parent dir of the obj dir, to try to understand why this
happens.

* Make-lang.in: Makefile automatically updated

* sem_ch12.adb:
(Inline_Instance_Body): Indicate that the save/restore of use_clauses
should not be done in Save/Restore_Scope_Stack, because it is performed
locally.

* sem_ch8.adb:
(Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
whether use clauses should be removed/restored.

* sem_ch8.ads:
(Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
whether use clauses should be removed/restored.

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

21 years ago * config/m68hc11/m68hc11.c: Convert to ISO C90.
ciceron [Mon, 27 Oct 2003 12:26:19 +0000 (12:26 +0000)]
* config/m68hc11/m68hc11.c: Convert to ISO C90.
* config/m68hc11/m68hc11-protos.h: Likewise.

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

21 years agoAdded my e-mail address.
ebotcazou [Mon, 27 Oct 2003 12:23:02 +0000 (12:23 +0000)]
Added my e-mail address.

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

21 years ago * toplev.c (enum dump_file_index, dump_file): Fix ordering of
hubicka [Mon, 27 Oct 2003 12:05:11 +0000 (12:05 +0000)]
* toplev.c (enum dump_file_index, dump_file):  Fix ordering of
webizer pass dump.

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

21 years ago PR ada/5909:
charlet [Mon, 27 Oct 2003 11:32:59 +0000 (11:32 +0000)]
PR ada/5909:
* README.ada, ada/acats: Import ACATS 2.5 for GCC Ada test suite.

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

21 years agoPR ada/5909:
charlet [Mon, 27 Oct 2003 11:29:00 +0000 (11:29 +0000)]
PR ada/5909:
Import ACATS 2.5 for GCC Ada test suite.

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

21 years ago Reported by Helmer Kraemer <hkraemer@freenet.de>
mark [Mon, 27 Oct 2003 11:02:44 +0000 (11:02 +0000)]
   Reported by Helmer Kraemer <hkraemer@freenet.de>
       * java/util/jar/JarInputStream.java (readManifest): Don't call
       closeEntry().

       * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
       (finish): Use inbufWrite().
       (write(int)): Likewise.
       (write(byte[],int,int)): Likewise.

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

21 years ago * reload1.c (struct elim_table): Change offset, initial_offset and
jakub [Mon, 27 Oct 2003 10:52:48 +0000 (10:52 +0000)]
* reload1.c (struct elim_table): Change offset, initial_offset and
previous_offset fields to HOST_WIDE_INT.
(offsets_at): Change from int to HOST_WIDE_INT.
(reload): Adjust offsets_at initialization.
(eliminate_regs_in_insn): Change type of offset to HOST_WIDE_INT.
(verify_initial_elim_offsets): Change type of t to HOST_WIDE_INT.
* config/i386/i386.c (ix86_compute_frame_layout): Change offset type
to HOST_WIDE_INT.  Don't save regs using mov for huge frame sizes
if TARGET_64BIT.
(pro_epilogue_adjust_stack): New function.
(ix86_expand_prologue, ix86_expand_epilogue): Use it.
* config/i386/i386.md (pro_epilogue_adjust_stack): Remove.
(pro_epilogue_adjust_stack_1): Remove * in front of name.
(pro_epilogue_adjust_stack_rex64): Handle -2147483648 properly.
(pro_epilogue_adjust_stack_rex64_2): New insn.

* config/i386/i386.c (ix86_expand_epilogue): Fix comment typo.

* config/i386/i386.c (ix86_expand_call): Replace 40 with
FIRST_REX_INT_REG + 3 /* R11 */.

* gcc.c-torture/compile/20031023-1.c: New test.
* gcc.c-torture/compile/20031023-2.c: New test.
* gcc.c-torture/compile/20031023-3.c: New test.
* gcc.c-torture/compile/20031023-4.c: New test.

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

21 years ago * config/alpha/alpha.md (attr cannot_copy): New.
rth [Mon, 27 Oct 2003 06:49:41 +0000 (06:49 +0000)]
    * config/alpha/alpha.md (attr cannot_copy): New.
        (call_osf_2_er, call_value_osf_2_er, ldgp_er_1, ldgp_er_2,
        prologue_ldgp_er_2, prologue_ldgp_1): Set it.
        * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Test it.

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

21 years agoRemove incorrect entry
mmitchel [Mon, 27 Oct 2003 06:40:55 +0000 (06:40 +0000)]
Remove incorrect entry

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

21 years ago2003-10-26 Daniel Berlin <dberlin@dberlin.org>
dberlin [Mon, 27 Oct 2003 00:26:52 +0000 (00:26 +0000)]
2003-10-26  Daniel Berlin  <dberlin@dberlin.org>

* ggc-zone.c:  New file, zone allocating collector.
* configure: Accept zone option for --with-gc
* configure.in: Ditto.
* ggc.h (ggc_pch_count_object): Pass bool indicating
stringiness. Update all callers.
(ggc_pch_alloc_object): Ditto.
(ggc_pch_write_object): Ditto.
(ggc_alloc_rtx): Use typed allocation, since all RTX's are of a single
type.
(ggc_alloc_rtvec): Ditto.
(ggc_alloc_tree): Use zone allocation, since some things using this macro
aren't a single typecode.
* ggc-none.c (ggc_alloc_typed): New function.
(ggc_alloc_zone): Ditto.
* ggc-page.c: Ditto on both functions.

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

21 years agoDaily bump.
gccadmin [Mon, 27 Oct 2003 00:16:37 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * config/m68k/m68k.c (m68k_compute_frame_layout): Ensure FPU related
bernie [Sun, 26 Oct 2003 22:19:25 +0000 (22:19 +0000)]
* config/m68k/m68k.c (m68k_compute_frame_layout): Ensure FPU related
frame information is always valid.
(m68k_output_function_prologue): Remove superfluous TARGET_68881
test; fix formatting.

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

21 years ago * config/m68k/m68k.c (m68k_compute_frame_layout): Swap reg_mask and
bernie [Sun, 26 Oct 2003 22:08:07 +0000 (22:08 +0000)]
* config/m68k/m68k.c (m68k_compute_frame_layout): Swap reg_mask and
reg_rev_mask computation.
(m68k_output_function_prologue): Fix usage of current_frame (one typo
and one missing); use reg_rev_mask not reg_mask.
(m68k_output_function_epilogue): Fix usage of current_frame;
use fpu_rev_mask not fpu_mask.

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

21 years ago * config/m68k/m68k.c (m68k_output_function_prologue): Eliminate
bernie [Sun, 26 Oct 2003 22:02:05 +0000 (22:02 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Eliminate
num_saved_regs, use current_frame.reg_no instead.

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

21 years ago * doc/extend.texi (interrupt_handler): Add m68k to the
bernie [Sun, 26 Oct 2003 19:03:43 +0000 (19:03 +0000)]
* doc/extend.texi (interrupt_handler): Add m68k to the
list of processors implementing it.
* doc/invoke.texi (-msep-data): Document new m68k option.
(-mno-sep-data): Likewise.
(-mid-shared-library): Likewise.
(-mno-id-shared-library): Likewise.
(-mshared-library-id): Likewise.

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

21 years ago * unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
aj [Sun, 26 Oct 2003 18:06:11 +0000 (18:06 +0000)]
* unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
comparison.
(_Unwind_SetGR): Likewise.

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

21 years agoAdd ChangeLog mark.
aj [Sun, 26 Oct 2003 16:24:58 +0000 (16:24 +0000)]
Add ChangeLog mark.

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

21 years ago2003-10-26 Ottavio Campana <ottavio@campana.vi.it>
aj [Sun, 26 Oct 2003 16:18:31 +0000 (16:18 +0000)]
2003-10-26  Ottavio Campana <ottavio@campana.vi.it>

* config/i386/mmintrin.h (_mm_set1_pi8): Fix comment.

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

21 years ago * config/m68k/m68k.c (m68k_output_function_prologue): Move front
bernie [Sun, 26 Oct 2003 16:03:21 +0000 (16:03 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Move front
comment from here to...
(m68k_save_reg): ...here. Fix comment formatting.
(m68k_output_function_prologue): Fix comment formatting.
(m68k_output_function_epilogue): Likewise.
(const_method): Likewise.

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

21 years ago * toplev.c (default_get_pch_validity): Guard the use of
kazu [Sun, 26 Oct 2003 15:40:14 +0000 (15:40 +0000)]
* toplev.c (default_get_pch_validity): Guard the use of
target_options with #ifdef TARGET_OPTIONS.
(default_pch_valid_p): Likewise.

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

21 years ago * Makefile.in: Remove duplicated lines.
aj [Sun, 26 Oct 2003 14:53:53 +0000 (14:53 +0000)]
* Makefile.in: Remove duplicated lines.

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

21 years ago * nl.po: Update.
jsm28 [Sun, 26 Oct 2003 11:19:49 +0000 (11:19 +0000)]
* nl.po: Update.

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

21 years ago PR c++/10371
lerdsuwa [Sun, 26 Oct 2003 11:04:36 +0000 (11:04 +0000)]
PR c++/10371
* semantics.c (finish_non_static_data_member): Handle when
both processing_template_decl and qualifying_scope are true.

* g++.dg/lookup/scoped8.C: New test.

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