platform/upstream/gcc.git
21 years agoDaily bump.
GCC Administrator [Sun, 8 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67608

21 years agoAdd commentary.
Richard Henderson [Sat, 7 Jun 2003 23:57:11 +0000 (16:57 -0700)]
Add commentary.

From-SVN: r67606

21 years ago* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
Richard Henderson [Sat, 7 Jun 2003 22:18:13 +0000 (15:18 -0700)]
* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.

From-SVN: r67605

21 years agooffsetof3.C: Use size_t.
Richard Henderson [Sat, 7 Jun 2003 21:53:53 +0000 (14:53 -0700)]
offsetof3.C: Use size_t.

        * g++.dg/other/offsetof3.C: Use size_t.
        * g++.dg/other/offsetof4.C: Likewise.

From-SVN: r67603

21 years agobasic-block.h (EDGE_SIBCALL): New.
Richard Henderson [Sat, 7 Jun 2003 21:30:49 +0000 (14:30 -0700)]
basic-block.h (EDGE_SIBCALL): New.

        * basic-block.h (EDGE_SIBCALL): New.
        (EDGE_ALL_FLAGS): Update.
        * cfg.c (dump_edge_info): Add sibcall name.
        * cfgbuild.c (make_edges): Use EDGE_SIBCALL.
        * cfgrtl.c (purge_dead_edges): Handle sibcalls.

From-SVN: r67602

21 years agomklibgcc.in (lib2funcs): Remove _exit.
Andreas Jaeger [Sat, 7 Jun 2003 18:50:54 +0000 (20:50 +0200)]
mklibgcc.in (lib2funcs): Remove _exit.

        * mklibgcc.in (lib2funcs): Remove _exit.
        * libgcc2.c: Remove L_exit.
        * gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT.

        * system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY.

        * doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY.

From-SVN: r67599

21 years agoSecurity.java (secprops): Initialize.
Mark Wielaard [Sat, 7 Jun 2003 18:38:09 +0000 (18:38 +0000)]
Security.java (secprops): Initialize.

       * java/security/Security.java (secprops): Initialize.
       (loadProviders): Return boolean.
       (static): Check result of loadProvider calls. If necessary
       display WARNING and fallback to Gnu provider.

From-SVN: r67597

21 years agoggc.h: Convert to ISO C90 prototypes.
Andreas Jaeger [Sat, 7 Jun 2003 18:35:35 +0000 (20:35 +0200)]
ggc.h: Convert to ISO C90 prototypes.

* ggc.h: Convert to ISO C90 prototypes.
* ggc-none.c: Likewise.
* ggc-common.c: Likewise.
* ggc-page.c: Likewise.
* ggc-simple.c: Likewise.

From-SVN: r67596

21 years agore PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExcept...
Mark Wielaard [Sat, 7 Jun 2003 18:35:00 +0000 (18:35 +0000)]
re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions)

2002-06-06  James Clark  <jjc@jclark.com>

       Fix for PR libgcj/8738:
       * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
       * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
       * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
       * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
       (write): Always decrease avail when count is increased.
       * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
       and whether output buffer is full before increasing size.

2002-06-06  Mark Wielaard  <mark@klomp dot org>

       * java/io/PrintStream.java (writeChars(char[],int, int)):
       Check converter.havePendingBytes().
       (writeChars(String,int,int)): Likewise.
       * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
       Check converter.havePendingBytes() and flush buffer when stalled.

From-SVN: r67595

21 years agosymbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK.
Andreas Jaeger [Sat, 7 Jun 2003 17:52:49 +0000 (19:52 +0200)]
symbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK.

* symbol.c (ffesymbol_new_): Remove tests for macro
FFECOM_symbolHOOK.
* symbol.h: Likewise.

* storag.c (ffestorag_new): Remove tests for macro
FFECOM_storageHOOK.
* storag.h: Likewise.

* lab.c (ffelab_new): Remove tests for macro FFECOM_labelHOOK.
* lab.h: Likewise.

* global.c: Remove tests for macro FFECOM_globalHOOK.
* global.h (struct _ffeglobal_): Likewise.

* bld.h: Remove tests for macros FFECOM_constantHOOK,
FFECOM_nonterHOOK, FFECOM_globalHOOK, FFECOM_labelHOOK,
FFECOM_storageHOOK, FFECOM_symbolHOOK.
Remove code dependend on FFECOM_itemHOOK.
* bld.c: Likewise.

* com.h (FFECOM_constantHOOK): Remove define.
(FFECOM_nonterHOOK): Remove.
(FFECOM_globalHOOK): Remove.
(FFECOM_labelHOOK): Remove.
(FFECOM_storageHOOK): Remove.
(FFECOM_symbolHOOK): Remove.

* com.c (ffecom_get_external_identifier_): Remove usage of
FFETARGET_isENFORCED_MAIN_NAME.

* bld.c: Remove code dependend on FFEBLD_BLANK_, FFECOM_itemHOOK.
(ffebld_new_accter): Likewise.
(ffebld_new_arrter): Likewise.
(ffebld_new_conter_with_orig): Likewise.
(ffebld_new_item): Likewise.
(ffebld_new_labter): Likewise.
(ffebld_new_labtok): Likewise.
(ffebld_new_none): Likewise.
(ffebld_new_one): Likewise.
(ffebld_new_symter): Likewise.
(ffebld_new_two): Likewise.

From-SVN: r67594

21 years agocrtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
Andreas Jaeger [Sat, 7 Jun 2003 17:30:32 +0000 (19:30 +0200)]
crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.

* crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.

* system.h: Poison INIT_SECTION_PREAMBLE.

From-SVN: r67593

21 years ago* cp/decl.c (xref_tag): Remove undefined macro NONNESTED_CLASSES.
Andreas Jaeger [Sat, 7 Jun 2003 17:28:01 +0000 (19:28 +0200)]
* cp/decl.c (xref_tag): Remove undefined macro NONNESTED_CLASSES.

From-SVN: r67592

21 years agoconfig.gcc (with_cpu handling): Translate sparc64 in $machine to --with-cpu=v9.
Zack Weinberg [Sat, 7 Jun 2003 17:11:48 +0000 (17:11 +0000)]
config.gcc (with_cpu handling): Translate sparc64 in $machine to --with-cpu=v9.

* config.gcc (with_cpu handling): Translate sparc64 in
$machine to --with-cpu=v9.
* config/alpha/alpha.c
(TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition.
(alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK.

* target.h: New hook asm_out.file_end.
* target.h: Update to match.  New hook macro TARGET_ASM_FILE_END.
* toplev.c (compile_file: Use targetm.asm_out.file_end.
* system.h: Poison ASM_FILE_END.
* varasm.c (file_end_indicate_exec_stack): New.
* output.h: Prototype it.
* doc/tm.texi: Document TARGET_ASM_FILE_END and
file_end_indicate_exec_stack.  Delete references to attasm.h.

* config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end.
(ASM_FILE_END): Delete; move code...
* config/darwin.c (darwin_file_end): Here; new function.
* config/darwin-protos.h: Prototype it.
* config/alpha/alpha.c (unicosmk_asm_file_end): Make static,
rename unicosmk_file_end.
* config/arm/aof.h (ASM_FILE_END): Delete; move code...
* config/arm/arm.c (aof_file_end): ... here; new static function.
Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER.
Make aof_dump_imports and aof_dump_pic_table static.
* config/avr/avr.c (asm_file_end): Rename avr_file_end, make static.
Set TARGET_ASM_FILE_END to avr_file_end.
* config/c4x/c4x.c (c4x_file_end): Make static.  Take no arguments.
Set TARGET_ASM_FILE_END to c4x_file_end.
* config/h8300/h8300.c (asm_file_end): Rename h8300_file_end,
make static. Take no arguments.  Set TARGET_ASM_FILE_END to
h8300_file_end.
* config/i370/i370.h (ASM_FILE_END): Delete; move code...
* config/i370/i370.c (i370_file_end): ... here; new static function.
Set TARGET_ASM_FILE_END to i370_file_end.
 * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end.
 Take no arguments.  Call file_end_indicate_exec_stack if
 NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END.
* config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
Define NEED_INDICATE_EXEC_STACK to 0.
* config/i386/linux.h, config/i386/linux64.h: Redefine
NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END.
* config/i386/winnt.c (i386_pe_asm_file_end): Rename to
i386_pe_file_end.  Take no arguments.  Use ix86_file_end.
* config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to
ia64_hpux_file_end, make static.  Take no arguments.
* config/ip2k/ip2k.c (asm_file_start, asm_file_end,
commands_in_prologues, commands_in_epilogues): Delete.
(function_epilogue): Update to match.
* config/mips/mips.c (mips_asm_file_end): Rename mips_file_end,
make static.  Take no arguments.
(iris6_asm_file_end): Rename iris6_file_end, make static, use
mips_file_end, take no arguments.
Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as
appropriate.
* config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end,
make static, take no arguments. Set TARGET_ASM_FILE_END to
mmix_file_end.
* config/pa/pa.c (output_deferred_plabels): Make static, take
no arguments.  Set TARGET_ASM_FILE_END to output_deferred_plabels.
* config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it.
(ASM_FILE_END): Delete; move code...
* config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here;
new static function.

* config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h
* config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h:
Don't set ASM_FILE_END.
* config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h
* config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h
* config/sparc/linux64.h: Set TARGET_ASM_FILE_END to
file_end_indicate_exec_stack; don't set ASM_FILE_END.
* config/alpha/unicosmk.h, config/i386/cygming.h
* config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
* config/arm/arm-protos.h, config/alpha/alpha-protos.h
* config/avr/avr-protos.h, config/c4x/c4x-protos.h
* config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
* config/ip2k/ip2k-protos.h, config/mips/mips-protos.h
* config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update.

From-SVN: r67591

21 years agoi386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified.
Jan Hubicka [Sat, 7 Jun 2003 16:32:58 +0000 (18:32 +0200)]
i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified.

* i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
specified.

From-SVN: r67590

21 years agocopy-file.exp: New.
H.J. Lu [Sat, 7 Jun 2003 14:55:56 +0000 (14:55 +0000)]
copy-file.exp: New.

2003-06-07  H.J. Lu <hongjiu.lu@intel.com>

* lib/copy-file.exp: New. Implement gcc_copy_files.

* lib/dg-pch.exp: Load copy-file.exp
(dg-pch): Use gcc_copy_files instead of "file copy".

From-SVN: r67588

21 years ago2003-06-07 Michael Koch <konqueror@gmx.de>
Michael Koch [Sat, 7 Jun 2003 14:30:32 +0000 (14:30 +0000)]
2003-06-07  Michael Koch  <konqueror@gmx.de>

* include/posix.h
(O_DSYNC): Define O_DSYNC on platforms not
supporting O_FSYNC (newlib).

From-SVN: r67587

21 years agoMakefile.in (stageprofile_build): Kill redundant target.
Jan Hubicka [Sat, 7 Jun 2003 13:23:09 +0000 (15:23 +0200)]
Makefile.in (stageprofile_build): Kill redundant target.

* Makefile.in (stageprofile_build): Kill redundant target.
* i386.c (mdep_reorg): Don't pad jumps for Athlon.

From-SVN: r67586

21 years agotm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.
Andreas Jaeger [Sat, 7 Jun 2003 11:46:11 +0000 (13:46 +0200)]
tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.

* doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.

* config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/i386/i386.h: Likewise.
* config/ip2k/ip2k.h: Likewise.

From-SVN: r67585

21 years agoMakefile.in (OJBS, c-opts.o): Update.
Neil Booth [Sat, 7 Jun 2003 11:10:46 +0000 (11:10 +0000)]
Makefile.in (OJBS, c-opts.o): Update.

* Makefile.in (OJBS, c-opts.o): Update.
(c-options.c, c-options.h): Rename options.h and options.c.
(options.h): Rename options_.h.
(opts.o): New.
* c-common.h (c_common_handle_option): Replace c_common_decode_option.
(c_common_init_options): Update prototype.
* c-lang.c (c_init_options): Update prototype.
(LANG_HOOKS_HANDLE_OPTION): Override.
(LANG_HOOKS_DECODE_OPTION): Drop.
* c-opts.c: Include opts.h and options.h instead of c-options.h
and c-options.c.
(lang_flags): Move to file scope.
(find_opt, c_common_decode_option): Remove.
(CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE,
CL_REJECT_NEGATIVE): Move to opts.h.
(missing_arg): Update prototype.
(c_common_init_options): Update for new prototype.
(c_common_handle_options): Filenames are passed as N_OPTS.
* hooks.c (hook_int_void_0): New.
* hooks.h (hook_int_void_0): New.
* langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default.
(LANG_HOOKS_HANDLE_OPTION): Default to NULL for now.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (init_options): Update.
(handle_option): New.
* opts.c, opts.h: New files.
* opts.sh: Update c file to include opts.h and options.h.
* toplev.c: Include opts.h; change options.h to options_.h.
(parse_options_and_default_flags): Get lang_mask, use
handle_option for language-specific handling.
* objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
(LANG_HOOKS_HANDLE_OPTION): Override.
(objc_init_options): Update.
ada:
* misc.c (gnat_init_options): Update.
cp:
* cp-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
(LANG_HOOKS_HANDLE_OPTION): Override.
* cp-tree.h (cxx_init_options): Update.
* lex.c (cxx_init_options): Update.
f:
* com.c (ffe_init_options): Update.
java:
* lang.c (java_init_options): Update.

From-SVN: r67584

21 years agoForgot to indicate PR number on last checkin.
Jim Wilson [Sat, 7 Jun 2003 07:39:39 +0000 (00:39 -0700)]
Forgot to indicate PR number on last checkin.

From-SVN: r67583

21 years agore PR other/7031 (program-suffix not respected in make install)
Magnus Kreth [Sat, 7 Jun 2003 07:38:32 +0000 (07:38 +0000)]
re PR other/7031 (program-suffix not respected in make install)

PR other/7031
* Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of
gcov.

Co-Authored-By: Thibaud Gaillard <thibaud.gaillard@nto.atmel.com>
From-SVN: r67582

21 years agoconfigure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in section names.
Kelley Cook [Sat, 7 Jun 2003 07:28:15 +0000 (07:28 +0000)]
configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in section names.

* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
section names.
* configure: Regenerate.

From-SVN: r67580

21 years ago* config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
Alan Modra [Sat, 7 Jun 2003 06:11:18 +0000 (06:11 +0000)]
* config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.

From-SVN: r67578

21 years agore PR inline-asm/10890 (ICE in merge_assigned_reloads building Linux 2.4.2x sched.c)
James E Wilson [Sat, 7 Jun 2003 05:33:00 +0000 (22:33 -0700)]
re PR inline-asm/10890 (ICE in merge_assigned_reloads building Linux 2.4.2x sched.c)

PR inline-asm/10890
* reload1.c (merge_assigned_reloads): Abort only if two reloads have
different in fields.

From-SVN: r67577

21 years agoconfigure.in: Make $(target_subdir) correspond with top level usage.
Nathanael Nerode [Sat, 7 Jun 2003 02:51:06 +0000 (02:51 +0000)]
configure.in: Make $(target_subdir) correspond with top level usage.

* configure.in: Make $(target_subdir) correspond with top level usage.
* Makefile.in: Likewise.
* configure: Regenerate.

From-SVN: r67575

21 years agoDaily bump.
GCC Administrator [Sat, 7 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67573

21 years agoweak.exp: Simplify.
Mark Mitchell [Fri, 6 Jun 2003 21:34:41 +0000 (21:34 +0000)]
weak.exp: Simplify.

* gcc.dg/weak/weak.exp: Simplify.
* gcc.dg/weak/typeof-2.c: Use dg-require-weak.
* gcc.dg/weak/weak-1.c: Likewise.
* gcc.dg/weak/weak-2.c: Likewise.
* gcc.dg/weak/weak-3.c: Likewise.
* gcc.dg/weak/weak-4.c: Likewise.
* gcc.dg/weak/weak-5.c: Likewise.
* gcc.dg/weak/weak-6.c: Likewise.
* gcc.dg/weak/weak-7.c: Likewise.
* gcc.dg/weak/weak-8.c: Likewise.
* gcc.dg/weak/weak-9.c: Likewise.

From-SVN: r67571

21 years agopa.h (ASM_OUTPUT_SKIP, [...]): Cast `SIZE' and `ALIGNED' parameters to unsigned HOST_...
John David Anglin [Fri, 6 Jun 2003 21:10:59 +0000 (21:10 +0000)]
pa.h (ASM_OUTPUT_SKIP, [...]): Cast `SIZE' and `ALIGNED' parameters to unsigned HOST_WIDE_INT.

* pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to
unsigned HOST_WIDE_INT.
* pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL):
Likewise.
* pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
Likewise.

From-SVN: r67570

21 years agoinstall.texi (Prerequisites): New section documenting tools and packages necessary...
Kaveh R. Ghazi [Fri, 6 Jun 2003 18:08:37 +0000 (18:08 +0000)]
install.texi (Prerequisites): New section documenting tools and packages necessary prior to building and/or...

* doc/install.texi (Prerequisites): New section documenting
tools and packages necessary prior to building and/or
modifying GCC.
* doc/install.texi2html: Also generate prerequisites.html.

From-SVN: r67562

21 years ago2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
Nathan Myers [Fri, 6 Jun 2003 17:19:56 +0000 (17:19 +0000)]
2003-06-06  Nathan Myers  <ncm-nospam@cantrip.org>

* include/bits/stl_iterator.h
(reverse_iterator::reverse_iterator()): Apply DR235: default
constructor default-initializes data member.  Instantiated on a
pointer type, the member has to end up equal to zero.

From-SVN: r67559

21 years agore PR target/11052 ([arm] noce_process_if_block() can loose REG_INC notes)
Richard Earnshaw [Fri, 6 Jun 2003 17:19:06 +0000 (17:19 +0000)]
re PR target/11052 ([arm] noce_process_if_block() can loose REG_INC notes)

PR target/11052
* ifcvt.c (noce_process_if_block): Fail if the destination has
side-effects.

gcc.c-torture/execute/20030606-1.c: New.

From-SVN: r67558

21 years agostmt.c (resolve_asm_operand_names): Rename from resolve_operand_names.
Jason Merrill [Fri, 6 Jun 2003 17:03:32 +0000 (13:03 -0400)]
stmt.c (resolve_asm_operand_names): Rename from resolve_operand_names.

        * stmt.c (resolve_asm_operand_names): Rename from
        resolve_operand_names.  No longer static.  Avoid needless copying.
        Don't build array of constraints.
        (expand_asm_operands): Build it here.
        * tree.h: Declare resolve_asm_operand_names.

        * stmt.c (expand_decl): Put artificial vars into registers even
        when not optimizing, and don't mark the regs as user vars.

From-SVN: r67556

21 years agosh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode of the generated register.
J"orn Rennecke [Fri, 6 Jun 2003 16:49:47 +0000 (16:49 +0000)]
sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode of the generated register.

* sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
of the generated register.

From-SVN: r67555

21 years ago* config.gcc: Add a missing sparc64 case.
Daniel Jacobowitz [Fri, 6 Jun 2003 16:23:21 +0000 (16:23 +0000)]
* config.gcc: Add a missing sparc64 case.

From-SVN: r67554

21 years agobuiltins-2.c: Correct check-in of incorrect version.
Roger Sayle [Fri, 6 Jun 2003 16:15:50 +0000 (16:15 +0000)]
builtins-2.c: Correct check-in of incorrect version.

        * gcc.dg/builtins-2.c: Correct check-in of incorrect version.
        * gcc.dg/builtins-19.c: Likewise. Sorry.

From-SVN: r67553

21 years agostl_alloc.h: Cleanups.
Benjamin Kosnik [Fri, 6 Jun 2003 15:50:28 +0000 (15:50 +0000)]
stl_alloc.h: Cleanups.

2003-06-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_alloc.h: Cleanups.
* include/ext/functional: Same.
* include/ext/hash_map: Same.
* include/ext/hash_set: Same.
* include/ext/iterator: Same.
* include/ext/memory: Same.
* include/ext/numeric: Same.
* include/ext/rb_tree: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stdio_filebuf.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/stl_rope.h: Move to...
* include/ext/rope: ...here.
* include/ext/stl_hash_fun.h: Move to...
* include/ext/hash_fun.h: ...here.
* include/ext/stl_hashtable.h: Move to...
* include/ext/hashtable.h: ...here.
* include/backward/hashtable.h: Reflect new names.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerated.

From-SVN: r67551

21 years agomklibgcc.in: Propagate .note.GNU-stack section if needed into the .hidden assembly...
Jakub Jelinek [Fri, 6 Jun 2003 14:30:31 +0000 (16:30 +0200)]
mklibgcc.in: Propagate .note.GNU-stack section if needed into the .hidden assembly stubs.

* mklibgcc.in: Propagate .note.GNU-stack section if needed into
the .hidden assembly stubs.

From-SVN: r67545

21 years agoApply the right patch.
H.J. Lu [Fri, 6 Jun 2003 14:06:41 +0000 (07:06 -0700)]
Apply the right patch.

From-SVN: r67544

21 years agoconfig.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-* and x86_64-*-*.
H.J. Lu [Fri, 6 Jun 2003 13:52:17 +0000 (13:52 +0000)]
config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-* and x86_64-*-*.

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
and x86_64-*-*.

* config/i386/mmintrin.h: Update version and add alternate
intrinsic names.
* config/i386/xmmintrin.h: Likewise.

* config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
intrinsics to ...
* config/i386/emmintrin.h: Here. New file.

From-SVN: r67543

21 years agoToolkit.java (getDefaultToolkit): Add exception cause to AWTError.
Mark Wielaard [Fri, 6 Jun 2003 13:12:47 +0000 (13:12 +0000)]
Toolkit.java (getDefaultToolkit): Add exception cause to AWTError.

       * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
       AWTError.

From-SVN: r67542

21 years agofold-const.c (fold <ABS_EXPR>): Re-fold the result of folding fabs(-x) into fabs(x).
Roger Sayle [Fri, 6 Jun 2003 12:36:26 +0000 (12:36 +0000)]
fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding fabs(-x) into fabs(x).

* fold-const.c (fold <ABS_EXPR>):  Re-fold the result of folding
fabs(-x) into fabs(x).  Use tree_expr_nonnegative_p to determine
when the ABS_EXPR (fabs or abs) is not required.
   (tree_expr_nonnegative_p): Move the logic that sqrt and exp are
always nonnegative from fold to here.  Additionally, cabs and fabs
are always non-negative, and pow and atan are non-negative if
their first argument is non-negative.

* builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}.
Evaluate cabs of a constant at compile-time.  Convert cabs of a
non-complex argument into fabs.  Convert cabs(z) into
sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or
-funsafe-math-optimizations or -ffast-math.
(fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR.
Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs.

* gcc.dg/builtins-2.c: Add some more tests.
* gcc.dg/builtins-18.c: New test case.
* gcc.dg/builtins-19.c: New test case.

From-SVN: r67541

21 years agouninit-C.c: Only test TImode on 64-bit platforms.
Roger Sayle [Fri, 6 Jun 2003 12:29:13 +0000 (12:29 +0000)]
uninit-C.c: Only test TImode on 64-bit platforms.

* gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms.

Co-Authored-By: James E Wilson <wilson@tuliptree.org>
From-SVN: r67540

21 years ago* sourcebuild.texi (Front End Directory): Document new hooks.
Jan Hubicka [Fri, 6 Jun 2003 11:24:47 +0000 (13:24 +0200)]
* sourcebuild.texi (Front End Directory): Document new hooks.

From-SVN: r67539

21 years agostring-4.c (main_test): Allow some mempcpy/stpcpy calls not to be optimized into...
Jakub Jelinek [Fri, 6 Jun 2003 10:11:06 +0000 (12:11 +0200)]
string-4.c (main_test): Allow some mempcpy/stpcpy calls not to be optimized into something else.

* gcc.c-torture/execute/builtins/string-4.c (main_test): Allow some
mempcpy/stpcpy calls not to be optimized into something else.
* gcc.c-torture/execute/string-opt-3.c: Moved to...
* gcc.c-torture/execute/builtins/string-7.c: ...here.
* gcc.c-torture/execute/builtins/string-7-lib.c: New.

From-SVN: r67538

21 years agore PR libgcj/6181 (Mauve Introspector.jdk11: getBeanInfo fail for AWT classes)
Mark Wielaard [Fri, 6 Jun 2003 10:03:30 +0000 (10:03 +0000)]
re PR libgcj/6181 (Mauve Introspector.jdk11: getBeanInfo fail for AWT classes)

        * libjava.mauve/mauve.exp (test_mauve): Add -wno-deprecated to GCJ.

        PR libgcj/6181:
        * libjava.mauve/xfails: Remove getBeanInfo() failures.

        PR libgcj/6293:
        * libjava.mauve/xfails: Remove PipedStream.close() failure.

From-SVN: r67536

21 years agofunction.c (FLOOR_ROUND, CEIL_ROUND): Fix.
Jan Hubicka [Fri, 6 Jun 2003 09:24:26 +0000 (11:24 +0200)]
function.c (FLOOR_ROUND, CEIL_ROUND): Fix.

* function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
* i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic stack frames.
(pro_epilogue_adjust_stack_rex64_2): New pattern

* cfghooks.h, cfghooks.c: New files.
* Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h.
(OBJS): Add cfghooks.o.
(cfghooks.o): New rule.
* basic-block.h (split_edge): Rename to rtl_split_edge.
(verify_flow_info): Rename to rtl_verify_flow_info.
(cfghooks.h): Included here.
* cfgrtl.c (split_edge): Renamed rtl_split_edge.
(verify_flow_info): Renamed rtl_verify_flow_info.
* toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks.

* basic-block.h (split_block, split_edge, flow_delete_block,
redirect_edge_and_branch, redirect_edge_and_branch_force): Delete.
(flow_delete_block_noexpunge):  Return void.
* cfg.c (verify_flow_info): New function.
* cfgcleanup.c (try_simplify_condjump, outgoing_edges_match,
try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks):
Use delete_block.
* cfglayout.c (function_footer): Rename to...
(cfg_layout_function_footer): ... this variable
(unlink_insn_chain): Make global.
(fixup_reorder_chain, record_effective_endpoints): Update.
(cleanup_unconditional_jumps): Use delete_block.
(cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c
(cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force.
(cfg_layout_initialize, cfg_layout_finalize): Update hooks.
* cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block):  Delete.
(cfg_layout_function_footer): Declare.
* cfgloopmanip (split_loop_bb): Do not update RBI.
(remove_bbs): Use delete_block.
(loop_reidrect_edge, loop_delete_branch_edge): Use
redirect_edge_and_branch.
(create_preheader): Use split_block and redirect_edge_and_branch_force.
(split_edge_with): Likewise.
* cfgrtl.c: Include cfglayout.h
(split_edge): Rename to ...
(rtl_split_edge) ... this one; make local.
(redirect_edge_and_branch): Rename to ...
(rtl_redirect_edge_and_branch) ... this one; make local.
(redirect_edge_and_branch_force): Rename to ...
(rtl_redirect_edge_and_branch_force) ... this one; make local.
(cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New.
(cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from
cfglayout.c; update to directly call RTL counterparts.
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions.
* ifcvt.c (find_cond_trap): Use delete_block.
(find_if_case_1): Use delete_block.
(find_if_case_2): Use delete_block.
* rtl.h (unlink_insn_chain): Declare.
* toplev.c (rtl_reigster_cfg_hooks): New.

From-SVN: r67535

21 years ago* recog.c (peephole2_optimize): Revert last change.
Richard Henderson [Fri, 6 Jun 2003 07:06:21 +0000 (00:06 -0700)]
* recog.c (peephole2_optimize): Revert last change.

From-SVN: r67533

21 years agorecog.c (peephole2_optimize): Don't split block unless can_throw_internal.
Richard Henderson [Fri, 6 Jun 2003 07:00:23 +0000 (00:00 -0700)]
recog.c (peephole2_optimize): Don't split block unless can_throw_internal.

        * recog.c (peephole2_optimize): Don't split block unless
        can_throw_internal.

From-SVN: r67532

21 years agoBasicOptionPaneUI.java: More compile fixes from my stupid work yesterday.
Michael Koch [Fri, 6 Jun 2003 06:21:02 +0000 (06:21 +0000)]
BasicOptionPaneUI.java: More compile fixes from my stupid work yesterday.

2003-06-06  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes from my stupid work yesterday.

From-SVN: r67531

21 years agoh8300.c (get_shift_alg): Correct the syntax of rotxl.
Kazu Hirata [Fri, 6 Jun 2003 05:28:07 +0000 (05:28 +0000)]
h8300.c (get_shift_alg): Correct the syntax of rotxl.

* config/h8300/h8300.c (get_shift_alg): Correct the syntax of
rotxl.
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
Likewise.

From-SVN: r67530

21 years agoMake-lang.in (ada/b_gnatb.o-warn): Remove.
Matt Kraai [Fri, 6 Jun 2003 04:50:08 +0000 (04:50 +0000)]
Make-lang.in (ada/b_gnatb.o-warn): Remove.

* Make-lang.in (ada/b_gnatb.o-warn): Remove.
* bindgen.adb (Gen_Main_C): Mark ensure_reference with
__attribute__ ((__unused__)).

From-SVN: r67529

21 years agore PR rtl-optimization/4490 (ICE with -m128bit-long-double)
Kelley Cook [Fri, 6 Jun 2003 04:33:03 +0000 (04:33 +0000)]
re PR rtl-optimization/4490 (ICE with -m128bit-long-double)

PR optimization/4490
* config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
* doc/invoke.texi (m96bit-long-double, m128bit-long-double):  Reword
documentation to accurately reflect what these options do.

From-SVN: r67528

21 years agolinux.h (STARTFILE_SPEC): Handle -pie.
Kaz Kojima [Fri, 6 Jun 2003 03:41:38 +0000 (03:41 +0000)]
linux.h (STARTFILE_SPEC): Handle -pie.

* config/sh/linux.h (STARTFILE_SPEC): Handle -pie.  Simplify.
(ENDFILE_SPEC): Redefine to handle -pie.

From-SVN: r67527

21 years agow_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.
Matt Kraai [Fri, 6 Jun 2003 03:34:36 +0000 (03:34 +0000)]
w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.

* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.

From-SVN: r67526

21 years agore PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0))
Benjamin Kosnik [Fri, 6 Jun 2003 00:19:17 +0000 (00:19 +0000)]
re PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0))

2003-06-05  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/9024
* include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
* include/bits/stl_algobase.h: Tweak.
* include/std/std_fstream.h: Move _M_buf_size to...
* include/std/std_streambuf.h: ...here. Modify.
* include/bits/streambuf.tcc: Same.
* testsuite/testsuite_hooks.h: Tweak.
* testsuite/testsuite_io.h (constraint_filebuf): New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
* testsuite/data/sgetc.txt: New.
* testsuite/data/sgetn.txt: New.

From-SVN: r67524

21 years agoDaily bump.
GCC Administrator [Fri, 6 Jun 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67522

21 years ago* Makefile.in (qmtest-g++): Use target_alias, not target.
Phil Edwards [Fri, 6 Jun 2003 00:01:32 +0000 (00:01 +0000)]
* Makefile.in (qmtest-g++): Use target_alias, not target.

From-SVN: r67520

21 years ago* gcc.dg/format/asm_fprintf-1.c: New test.
Kaveh R. Ghazi [Thu, 5 Jun 2003 23:57:14 +0000 (23:57 +0000)]
* gcc.dg/format/asm_fprintf-1.c: New test.

From-SVN: r67519

21 years agore PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth...
Paolo Carlini [Thu, 5 Jun 2003 23:25:05 +0000 (01:25 +0200)]
re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument)

2003-06-05  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11095
* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
Deal with width() smaller than zero.
* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
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.
* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc:
New.

From-SVN: r67518

21 years agoposix.h (O_SYNC): Define if not available and a reasonable...
Loren J. Rittle [Thu, 5 Jun 2003 22:37:02 +0000 (22:37 +0000)]
posix.h (O_SYNC): Define if not available and a reasonable...

* libjava/include/posix.h (O_SYNC): Define if not available
and a reasonable, perhaps more conservative, replacement exists.
(O_DSYNC): Likewise.
* java/io/natFileDescriptorPosix.cc (open): Revert last patch.

From-SVN: r67517

21 years agoProperly regenerate configure.
Rainer Orth [Thu, 5 Jun 2003 22:24:36 +0000 (22:24 +0000)]
Properly regenerate configure.

From-SVN: r67516

21 years agoacinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if .gch compilation works.
Rainer Orth [Thu, 5 Jun 2003 22:22:12 +0000 (22:22 +0000)]
acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if .gch compilation works.

* acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
.gch compilation works.
* aclocal.m4, configure: Regenerate.
* testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
initialize PCHFLAGS.

From-SVN: r67515

21 years agogcc-defs.exp (additional_sources): New variable.
Mark Mitchell [Thu, 5 Jun 2003 22:18:55 +0000 (22:18 +0000)]
gcc-defs.exp (additional_sources): New variable.

* lib/gcc-defs.exp (additional_sources): New variable.
(dg-additional-sources): New function.
(additional_files): New variable.
(dg-additional-files): New function.
(dg-additional-files-options): Likewise.
* lib/gcc-dg.exp (dg-require-weak): New function.
(dg-require-alias): Likewise.
(dg-require-gc-sections): Likewise.
* lib/target-supports.exp (check_alias_available): Remove testfile
parameter.
(check_gc_sections_available): New function.
* lib/g++-dg.exp (dg-gpp-additional-sources): Remove.
(dg-gpp-additional-files): Likewise.
* lib/g++.exp (additional_sources): Remove.
(additional_files): Likewise.
(g++_target_compile): Use dg-additional-files-options.

* gcc.dg/special/special.exp: Add "ecos" tests.  Remove complex
Tcl logic.
* gcc.dg/special/ecos.exp: Remove.
* gcc.dg/special/20000419-2.c: Use dg-require-*.
* gcc.dg/special/alias-1.c: Likewise.
* gcc.dg/special/alias-2.c: Likewise.
* gcc.dg/special/gcsec-1.c: Likewise.
* gcc.dg/special/weak-1.c: Likewise.
* gcc.dg/special/weak-2.c: Likewise.
* gcc.dg/special/wkali-1.c: Likewise.
* gcc.dg/special/wkali-2.c: Likewise.

* g++.dg/special/conpr-2.C: Use dg-additional-*, not
dg-gpp-additional-*.
* g++.dg/special/conpr-3.C: Likewise.
* g++.dg/special/conpr-4.C: Likewise.
* g++.old-deja/g++.abi/vtable3a.C: Likewise.
* g++.old-deja/g++.abi/vtable3b.C: Likewise.
* g++.old-deja/g++.abi/vtable3c.C: Likewise.
* g++.old-deja/g++.abi/vtable3d.C: Likewise.
* g++.old-deja/g++.abi/vtable3e.C: Likewise.
* g++.old-deja/g++.abi/vtable3f.C: Likewise.
* g++.old-deja/g++.abi/vtable3g.C: Likewise.
* g++.old-deja/g++.abi/vtable3h.C: Likewise.
* g++.old-deja/g++.abi/vtable3i.C: Likewise.
* g++.old-deja/g++.abi/vtable3j.C: Likewise.
* g++.old-deja/g++.oliva/linkage1.C: Likewise.
* g++.old-deja/g++.other/comdat1.C: Likewise.
* g++.old-deja/g++.other/comdat2.C: Likewise.
* g++.old-deja/g++.other/comdat3.C: Likewise.
* g++.old-deja/g++.other/ctor1.C: Likewise.
* g++.old-deja/g++.pt/instantiate5.C: Likewise.

From-SVN: r67514

21 years agoBorderUIResource.java, [...]: More compile fixes for latest Border commit.
Michael Koch [Thu, 5 Jun 2003 21:18:31 +0000 (21:18 +0000)]
BorderUIResource.java, [...]: More compile fixes for latest Border commit.

2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes for latest Border commit. I should not commit
something in this heat here ...

From-SVN: r67513

21 years agotoplev.c (push_srcloc): Simplify behavior to save current location and set current...
Per Bothner [Thu, 5 Jun 2003 21:07:08 +0000 (21:07 +0000)]
toplev.c (push_srcloc): Simplify behavior to save current location and set current location to parameters.

* toplev.c (push_srcloc):  Simplify behavior to save current location
and set current location to parameters.
(pop_srcloc):  Simplify semantics.
(lang_dependent_init):  Remove now-useless initial push_srcloc.

From-SVN: r67512

21 years ago2003-06-05 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 5 Jun 2003 20:57:39 +0000 (20:57 +0000)]
2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/border/BevelBorder.java
(BevelBorder): Removed.
* javax/swing/border/EmptyBorder.java:
Reformatted.
(EmptyBorder): Removed.
(getBorderInsets): Dont use l, r, t and b.
* javax/swing/border/EtchedBorder.java
(EtchedBorder): Removed.
* javax/swing/border/LineBorder.java
(LineBorder): Removed.
* javax/swing/border/MatteBorder.java
(MatteBorder): Removed.
* javax/swing/border/TitledBorder.java
(defaultBorder): Use other default for now.
(defaultFont): Likewise.
(defaultColor): Likewise.

From-SVN: r67511

21 years agoBorder.java: New version from classpath.
Michael Koch [Thu, 5 Jun 2003 20:03:26 +0000 (20:03 +0000)]
Border.java: New version from classpath.

2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/border/Border.java:
New version from classpath.

From-SVN: r67508

21 years agoAbstractBorder.java, [...]: New versions from Classpath.
Michael Koch [Thu, 5 Jun 2003 19:59:44 +0000 (19:59 +0000)]
AbstractBorder.java, [...]: New versions from Classpath.

2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/border/AbstractBorder.java,
javax/swing/border/BevelBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/border/EmptyBorder.java,
javax/swing/border/EtchedBorder.java,
javax/swing/border/LineBorder.java,
javax/swing/border/MatteBorder.java,
javax/swing/border/TitledBorder.java:
New versions from Classpath.

From-SVN: r67507

21 years agoButton.java, [...]: New versions from Classpath.
Michael Koch [Thu, 5 Jun 2003 19:58:40 +0000 (19:58 +0000)]
Button.java, [...]: New versions from Classpath.

2003-06-05  Michael Koch  <konqueror@gmx.de>

* java/awt/Button.java,
java/awt/Checkbox.java,
java/awt/CheckboxMenuItem.java,
java/awt/Choice.java,
java/awt/Container.java,
java/awt/Dialog.java,
java/awt/EventQueue.java,
java/awt/FileDialog.java,
java/awt/Frame.java,
java/awt/Label.java,
java/awt/List.java,
java/awt/Menu.java,
java/awt/MenuItem.java,
java/awt/Panel.java,
java/awt/PopupMenu.java,
java/awt/Rectangle.java,
java/awt/ScrollPane.java,
java/awt/Scrollbar.java,
java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/Window.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSource.java,
java/awt/dnd/DragSourceContext.java,
java/awt/event/HierarchyEvent.java,
java/awt/event/MouseWheelEvent.java,
java/awt/im/InputContext.java,
java/awt/image/BufferedImage.java,
java/awt/image/ComponentColorModel.java,
java/awt/image/Raster.java,
java/awt/image/WritableRaster.java,
java/awt/peer/ComponentPeer.java,
java/awt/print/PageFormat.java,
java/awt/print/PrinterJob.java:
New versions from Classpath.

From-SVN: r67506

21 years agodwarf2out.c (loc_descriptor_from_tree): Return 0 for language-specific tree codes.
Richard Henderson [Thu, 5 Jun 2003 18:08:12 +0000 (11:08 -0700)]
dwarf2out.c (loc_descriptor_from_tree): Return 0 for language-specific tree codes.

        * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
        language-specific tree codes.

        * gcc.dg/debug/20030605-1.c: New.

From-SVN: r67505

21 years agoSimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly...
Scott Gilbertson [Thu, 5 Jun 2003 17:57:31 +0000 (17:57 +0000)]
SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true).

2003-06-05  Scott Gilbertson  <scottg@mantatest.com>

* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
numberFormat.setParseIntegerOnly(true).

From-SVN: r67504

21 years agore PR middle-end/9986 ([HP-UX] [3.4 regression] Incorrect transformation of fputs_unl...
John David Anglin [Thu, 5 Jun 2003 16:47:01 +0000 (16:47 +0000)]
re PR middle-end/9986 ([HP-UX] [3.4 regression] Incorrect transformation of fputs_unlocked to fputc_unlocked)

PR middle-end/9986
* pa.c (pa_init_builtins): Also set implicit_built_in_decls for
BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.

From-SVN: r67500

21 years agore PR other/10810 (gcc-3.3 fails make check: buffer overrun in test_demangle.c)
John David Anglin [Thu, 5 Jun 2003 16:38:22 +0000 (16:38 +0000)]
re PR other/10810 (gcc-3.3 fails make check: buffer overrun in test_demangle.c)

PR other/10810
* test-demangle.c (getline): Fix fence-post error.

From-SVN: r67499

21 years agoinstall.tex: Document profiledbootstrap.
Jan Hubicka [Thu, 5 Jun 2003 16:36:12 +0000 (18:36 +0200)]
install.tex: Document profiledbootstrap.

* install.tex: Document profiledbootstrap.

* Makefile.tpl (profiledbootstrap): New target.
* Makefile.in (profiledbootstrap): New target.

* Makefile.in (clean, distclean): Kill new stages
(POSTSTAGE1_FLAGS_TO_PASS): Break from ...
(STAGE2_FLAGS_TO_PASS): ... this one.
(STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
(stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
(stageprofile_build, stageprofile_copy, stagefeedback_build,
stagefeedback_copy): New.
(restageprofile, restagefeedback, stageprofile-start,
stageprofile, stagefeedback-start): Likewise.

* Make-lang.in:  Add support for stageprofile and stagefeedback

From-SVN: r67498

21 years agooptabs.c (HAVE_conditional_trap): Provide default.
David Miller [Thu, 5 Jun 2003 16:31:49 +0000 (09:31 -0700)]
optabs.c (HAVE_conditional_trap): Provide default.

        * optabs.c (HAVE_conditional_trap): Provide default.
        (gen_conditional_trap): Likewise.
        (init_optabs): Merge init_traps.
        (gen_cond_trap): Use prepare_operand.  Restructure and avoid ifdef.
* gcc.c-torture/compile/20030605-1.c: New.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r67497

21 years agoposix-threads.h: Include <machine/pal.h> on OSF.
Bert Deknuydt [Thu, 5 Jun 2003 15:43:58 +0000 (17:43 +0200)]
posix-threads.h: Include <machine/pal.h> on OSF.

2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>

* include/posix-threads.h: Include <machine/pal.h> on OSF.

From-SVN: r67491

21 years agoFix ChangeLog date of my last entry.
Wolfgang Bangerth [Thu, 5 Jun 2003 14:47:32 +0000 (08:47 -0600)]
Fix ChangeLog date of my last entry.

From-SVN: r67490

21 years agoAdd Dara Hazeghi and Andrew Pinski to Bugzilla-only maintainers. Remove user names...
Wolfgang Bangerth [Thu, 5 Jun 2003 14:44:47 +0000 (08:44 -0600)]
Add Dara Hazeghi and Andrew Pinski to Bugzilla-only maintainers. Remove user names from other bug database only maintainers since bugzilla no longer has user names.

From-SVN: r67489

21 years agocombine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8)) is REG for nonze...
Jan Hubicka [Thu, 5 Jun 2003 13:00:14 +0000 (15:00 +0200)]
combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8)) is REG for nonzero_bits (REG) == 8.

* combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
is REG for nonzero_bits (REG) == 8.

From-SVN: r67488

21 years agoi386.md (align): Fix warning; clarify what to do when no p2align is available.
Jan Hubicka [Thu, 5 Jun 2003 11:25:43 +0000 (13:25 +0200)]
i386.md (align): Fix warning; clarify what to do when no p2align is available.

* i386.md (align): Fix warning; clarify what to do when no p2align
is available.

From-SVN: r67485

21 years agoconfig.gcc (m32r-elf): Revert previous delta.
Nick Clifton [Thu, 5 Jun 2003 09:12:02 +0000 (09:12 +0000)]
config.gcc (m32r-elf): Revert previous delta.

* config.gcc (m32r-elf): Revert previous delta.
* config/m32r/t-m32r (crtinit.o): Fix rule to work with multilibs.
  Remove m32rx specific version.
  (crtfini.o): Likewise.
  (EXTRA_MULTILIB_PARTS): Define.

From-SVN: r67483

21 years agomd.texi (Machine Constraints): Correct the meaning of constraints related to floating...
Eric Botcazou [Thu, 5 Jun 2003 08:36:53 +0000 (10:36 +0200)]
md.texi (Machine Constraints): Correct the meaning of constraints related to floating-point registers on SPARC.

* doc/md.texi (Machine Constraints): Correct the meaning of
constraints related to floating-point registers on SPARC.

From-SVN: r67481

21 years agore PR target/10663 ([Solaris] New configure check aborts with Sun tools.)
Eric Botcazou [Thu, 5 Jun 2003 07:50:42 +0000 (09:50 +0200)]
re PR target/10663 ([Solaris] New configure check aborts with Sun tools.)

PR target/10663
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
assembler and linker output to /dev/null.
Use a 'sed' construct instead of 'grep -A1'.
* configure: Regenerate.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r67479

21 years ago* bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
Matt Kraai [Thu, 5 Jun 2003 07:11:39 +0000 (07:11 +0000)]
* bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
(Gen_Main_C, Gen_Output_File_C): Generate ISO C.

From-SVN: r67478

21 years agognat_ug.texi (The GNAT Run-Time Library Builder gnatlbr): Remove non-VMS directive.
Matt Kraai [Thu, 5 Jun 2003 06:59:57 +0000 (06:59 +0000)]
gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr): Remove non-VMS directive.

* gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
Remove non-VMS directive.
(Switches for gnatlbr, Optimization Levels): Remove non-VMS
alternatives.
(Examples of gnatls Usage): Remove VMS alternative.

From-SVN: r67477

21 years agocygwin caveat
Christopher Faylor [Thu, 5 Jun 2003 03:54:44 +0000 (03:54 +0000)]
cygwin caveat

From-SVN: r67476

21 years agoi386.c (struct ix86_address): Add seg.
Richard Henderson [Thu, 5 Jun 2003 00:23:23 +0000 (17:23 -0700)]
i386.c (struct ix86_address): Add seg.

        * config/i386/i386.c (struct ix86_address): Add seg.
        (no_seg_address_operand): New.
        (ix86_decompose_address): Restructure PLUS loop.  Accept one
        UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS.  Adjust ESP swap test
        to test for a regnum, not stack_pointer_rtx.
        (ix86_address_cost): Reduce cost if non-default segment.
        (legitimate_address_p): Remove UNSPEC_TP check.
        (get_thread_pointer): Add to_reg argument.  Don't represent
        the thread pointer as a memory load.
        (legitimize_tls_address): Split out of ...
        (legitimize_address): ... here.
        (print_operand_address): Handle parts.seg.
        (ix86_expand_move): Use legitimize_tls_address.
        (ix86_rtx_costs): Handle UNSPEC_TP.
        * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
        (TARGET_TLS_DIRECT_SEG_REFS): New.
        (TARGET_SWITCHES): Add tls-direct-seg-refs.
        (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
        (PREDICATE_CODES): Add no_seg_address_operand.
        * config/i386/i386.md (lea_1): Use it.
        (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
        (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
        * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
        * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
        * doc/invoke.texi: Add -mtls-direct-seg-refs.

From-SVN: r67475

21 years agoMakefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
Mark Mitchell [Thu, 5 Jun 2003 00:17:16 +0000 (00:17 +0000)]
Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.

* Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
(QMTEST_GPP_TESTS): Use "g++" by default.
(stamp-qmtest): Tweak database creation.
(QMTEST_DIR/context): Update context file format.
(qmtest-g++): Tweak command-line.

* README.QMTEST: Update.

From-SVN: r67474

21 years agoDaily bump.
GCC Administrator [Thu, 5 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67472

21 years agoMakefile.in (varasm.o): Don't set -Wno-error.
Kaveh R. Ghazi [Wed, 4 Jun 2003 23:21:26 +0000 (23:21 +0000)]
Makefile.in (varasm.o): Don't set -Wno-error.

* Makefile.in (varasm.o): Don't set -Wno-error.
* rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.

From-SVN: r67469

21 years agobasic_string.h (_M_fold, [...]): Constify various variables.
Paolo Carlini [Wed, 4 Jun 2003 22:53:05 +0000 (00:53 +0200)]
basic_string.h (_M_fold, [...]): Constify various variables.

2003-06-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
erase(iterator), erase(iterator, iterator), c_str,
compare(const basic_string&)): Constify various variables.
* include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
_S_create, resize, _M_replace, _M_replace_safe,
append(const basic_string&), append(const basic_string&, size_type,
size_type), append(const _CharT*, size_type), append(size_type,
_CharT), operator+(const _CharT*, const basic_string&),
operator+(_CharT, const basic_string&), replace(iterator, iterator,
size_type, _CharT), find(const _CharT*, size_type, size_type),
find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
rfind(_CharT, size_type), compare(size_type, size_type,
const basic_string&), compare(size_type, size_type,
const basic_string&, size_type, size_type), compare(const _CharT*),
compare(size_type, size_type, const _CharT*), compare(size_type,
size_type, const _CharT*, size_type)): Likewise.

From-SVN: r67468

21 years agore PR bootstrap/3163 ([3.3 Only] gcc/aclocal.m4 mmap test fails on UnixWare 7.1.1)
Zack Weinberg [Wed, 4 Jun 2003 22:21:21 +0000 (22:21 +0000)]
re PR bootstrap/3163 ([3.3 Only] gcc/aclocal.m4 mmap test fails on UnixWare 7.1.1)

PR bootstrap/3163
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
(gcc_AC_FUNC_MMAP_BLACKLIST): New.
* configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
and AC_CHECK_FUNCS lists, respectively.  Use
gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
AC_FUNC_MMAP_FILE.
* configure, config.in: Regenerate.

From-SVN: r67467

21 years agodecl.c (grokdeclarator): Error_mark_node in, error_mark_node out.
J"orn Rennecke [Wed, 4 Jun 2003 22:00:22 +0000 (22:00 +0000)]
decl.c (grokdeclarator): Error_mark_node in, error_mark_node out.

gcc/cp:
* decl.c (grokdeclarator): Error_mark_node in, error_mark_node out.

gcc/testsuite/g++.old-deja/g++.oliva:
* template1.C (bar): Remove xfail marker.

From-SVN: r67465

21 years agoaout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
Kaveh R. Ghazi [Wed, 4 Jun 2003 21:18:48 +0000 (21:18 +0000)]
aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.

* arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
* arm.c (arm_output_function_prologue): Fix format specifiers.
* arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
* m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
HOST_WIDE_INT_PRINT_DEC.
* vax.c (vax_output_function_prologue): Fix format specifiers.

From-SVN: r67464

21 years agocse.c (find_best_addr): Consider binary operators even if second argument is not...
Richard Henderson [Wed, 4 Jun 2003 21:05:20 +0000 (14:05 -0700)]
cse.c (find_best_addr): Consider binary operators even if second argument is not CONST_INT.

        * cse.c (find_best_addr): Consider binary operators even if second
        argument is not CONST_INT.

From-SVN: r67463

21 years ago* doc/invoke.texi (max-cse-path-length): Document.
Zdenek Dvorak [Wed, 4 Jun 2003 20:59:56 +0000 (22:59 +0200)]
* doc/invoke.texi (max-cse-path-length): Document.

From-SVN: r67462

21 years ago* config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.
Richard Henderson [Wed, 4 Jun 2003 20:06:34 +0000 (13:06 -0700)]
* config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.

From-SVN: r67461

21 years agodarwin.h (RS6000_OUTPUT_BASENAME): Remove semi-colon at the end of the expression.
Andrew Pinski [Wed, 4 Jun 2003 19:01:54 +0000 (19:01 +0000)]
darwin.h (RS6000_OUTPUT_BASENAME): Remove semi-colon at the end of the expression.

* config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
Remove semi-colon at the end of the expression.

From-SVN: r67459

21 years agoi370.c (mvs_function_name_length): Fix signed/unsigned warnings.
Kaveh R. Ghazi [Wed, 4 Jun 2003 17:53:07 +0000 (17:53 +0000)]
i370.c (mvs_function_name_length): Fix signed/unsigned warnings.

* i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
* i370.h (mvs_function_name_length): Likewise.
* i960.h (CONSTANT_ALIGNMENT): Likewise.
* mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused
variable.

From-SVN: r67458

21 years agoconfig.gcc: Reorganize --with-cpu logic.
Daniel Jacobowitz [Wed, 4 Jun 2003 17:50:44 +0000 (17:50 +0000)]
config.gcc: Reorganize --with-cpu logic.

* config.gcc: Reorganize --with-cpu logic.  Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float.  Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.

* doc/install.texi: Update --with-cpu documentation.  Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.

From-SVN: r67457