OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * c-common.c (cb_register_builtins): Use really_no_inline.
hubicka [Sat, 5 Oct 2002 17:44:37 +0000 (17:44 +0000)]
* c-common.c (cb_register_builtins):  Use really_no_inline.

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

21 years ago PR c++/7804
lerdsuwa [Sat, 5 Oct 2002 12:28:16 +0000 (12:28 +0000)]
PR c++/7804
* error.c (dump_expr) [REAL_CST]: Output in decimal format.

* g++.dg/other/warning1.C: New test.

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

21 years ago2002-10-05 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 5 Oct 2002 07:49:08 +0000 (07:49 +0000)]
2002-10-05  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java
(getByAddress): Fixed documentation.
(getByAddress): New method.
* java/net/Inet4Address.java: New file.
* java/net/URL.java
(URL): Documentation added.
(getContent): Documentation added.
(getContent): New stubbed method.
(getQuery): New method.
(openConnection): Documentation added.
(openStream): Documentation added.
(setURLStreamHandlerFactory): Documentation added.
* java/net/URI.java: New stub file.
* Makefile.am
(java_native_source_files): Added java/net/Inet4Address.java,
java/net/Inet6Address.java and java/net/URI.java.
* Makefile.in: Regenerated.

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

21 years agoDaily bump.
gccadmin [Sat, 5 Oct 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
dje [Sat, 5 Oct 2002 04:06:17 +0000 (04:06 +0000)]
    * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
        copied instruction if the note is not loop invariant.

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

21 years ago * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
ljrittle [Fri, 4 Oct 2002 21:16:07 +0000 (21:16 +0000)]
* gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.

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

21 years ago2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
mark [Fri, 4 Oct 2002 20:17:26 +0000 (20:17 +0000)]
2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>

* java/lang/ProtectionDomain.java (linesep): Remove field.
(toString): Use System.getProperty("line.separator").

2002-10-04  Michael Koch  <konqueror@gmx.de>

* java/security/Identity.java: Added serialVersionUID.
* java/security/KeyPair.java: Added serialVersionUID.
* java/security/Provider.java: Added serialVersionUID.
* java/security/SecureRandom.java: Added serialVersionUID.
* java/security/SecureRandomSpi.java: Added serialVersionUID.
* java/security/SignedObject.java: Added serialVersionUID.
* java/security/cert/Certificate.java: Added serialVersionUID.

2002-10-04  Mark Wielaard <mark@klomp.org>

* java/security/Security.java: Use java.home or gnu.classpath.home
to load providers.
(loadProviders): Extra dir argument.
(getProvider): Return null when not found.

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

21 years ago * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld,
sje [Fri, 4 Oct 2002 16:58:11 +0000 (16:58 +0000)]
* doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
and -mhp-ld options to list of options.  Add -mgnu-ld
and -mhp-ld option descriptions.

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

21 years ago * java/lang/Throwable.java: Remerge with Classpath.
mark [Fri, 4 Oct 2002 16:47:36 +0000 (16:47 +0000)]
* java/lang/Throwable.java: Remerge with Classpath.

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

21 years ago * gcc.c-torture/execute/20020720-1.x: XFAIL instead of skipping
sayle [Fri, 4 Oct 2002 16:36:42 +0000 (16:36 +0000)]
* gcc.c-torture/execute/20020720-1.x:  XFAIL instead of skipping
the test on failing platforms.  Mark sparcv9-*-*, sparc64-*-*
and sparc-*-* with -m64 as expected failures.  See PR 8087.

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

21 years ago * fixinc/inclhack.def (hpux11_abs): New.
sje [Fri, 4 Oct 2002 16:13:12 +0000 (16:13 +0000)]
* fixinc/inclhack.def (hpux11_abs):  New.
(stdio_va_list): change __va_list__ to __gnuc_va_list.
* fixinc/fixincl.x: Rebuild.

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

21 years ago * config/i386/i386.h (processor_costs): Add new fields fadd,
sayle [Fri, 4 Oct 2002 16:08:18 +0000 (16:08 +0000)]
* config/i386/i386.h (processor_costs): Add new fields fadd,
fmul, fdiv, fabs, fchs and fsqrt to costs structure.
(RTX_COSTS): Use these fields to determine the RTX costs
of floating point addition/subtraction, multiplication,
division, fabs, negation and square root respectively.
* config/i386/i386.c (size_cost): Provide instruction sizes
for these new fields.
(i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
counts for these new fields for all x86 processor variants.

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

21 years ago2002-10-03 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 4 Oct 2002 15:36:12 +0000 (15:36 +0000)]
2002-10-03  Michael Koch  <konqueror@gmx.de>

* gcj.texi (Standard properties):
Change default of java.awt.toolkit to gnu.awt.gtk.GtkToolkit.

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

21 years ago * mips.c (mips_const_double_ok): Delete unused variable.
ghazi [Fri, 4 Oct 2002 13:50:40 +0000 (13:50 +0000)]
* mips.c (mips_const_double_ok): Delete unused variable.

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

21 years ago * gengtype.c (rtx_next): Change type to int.
ghazi [Fri, 4 Oct 2002 13:41:45 +0000 (13:41 +0000)]
* gengtype.c (rtx_next): Change type to int.

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

21 years ago2002-10-04 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 4 Oct 2002 08:49:26 +0000 (08:49 +0000)]
2002-10-04  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java:
(isMulticastAddress): Added documentation.
(getHostAddress): Added documentation.
(toString): Added documentation.
(getByAddress): Fixed documentation.
(getByName): Added documentation.
(getAllByName): Added documentation.
(getLocalHost): Added documentation.

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

21 years ago2002-10-04 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 4 Oct 2002 08:48:03 +0000 (08:48 +0000)]
2002-10-04  Michael Koch  <konqueror@gmx.de>

* java/beans/beancontext/BeanContextChildSupport.java:
Added serialVersionUID.
* java/text/Collator.java: (compare): Made documentation HTML-aware.
* javax/naming/BinaryRefAddr.java: Added serialVersionUID.
* javax/naming/Name.java: Added serialVersionUID.

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

21 years ago * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
aj [Fri, 4 Oct 2002 08:05:38 +0000 (08:05 +0000)]
* config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.

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

21 years ago * real.h (SIGNIFICAND_BITS): Add one more word.
rth [Fri, 4 Oct 2002 08:01:12 +0000 (08:01 +0000)]
    * real.h (SIGNIFICAND_BITS): Add one more word.
        (CONST_DOUBLE_FORMAT): Accomodate 6 words.
        * real.c (times_pten): New.
        (real_to_decimal, real_from_string): Use it.
        (sticky_rshift_significand): Use & to find modulus.
        (rshift_significand, lshift_significand): Likewise.
        (do_divide): Apply sticky bit after normalization.
        (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.

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

21 years agoDaily bump.
gccadmin [Fri, 4 Oct 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
aj [Fri, 4 Oct 2002 06:08:19 +0000 (06:08 +0000)]
* gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
to unsigned long, adjust printf format string.
(output_mangled_typename): Likewise.

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

21 years ago* config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
thorpej [Fri, 4 Oct 2002 05:23:12 +0000 (05:23 +0000)]
* config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
* config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
(FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
(ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
(PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
* config/vax/elf.h (FUNCTION_PROFILER): Remove.
(VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".

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

21 years ago PR c++/7931
mmitchel [Fri, 4 Oct 2002 05:13:59 +0000 (05:13 +0000)]
  PR c++/7931
* pt.c (for_each_template_parm_r): Handle BASELINKs.

PR c++/7754
* decl2.c (finish_anon_union): Do not expand anonymous unions when
procesing template functions.
* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
type. Call layout_decl.
(tsubst_expr, case DECL_STMT): Handle anonymous unions.

PR c++/7931
* g++.dg/template/ptrmem3.C: New test.

PR c++/7754
* g++.dg/template/union1.C: New test.

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

21 years ago * doc/invoke.texi (-Wabi): Document mangling bug.
mmitchel [Fri, 4 Oct 2002 04:59:39 +0000 (04:59 +0000)]
* doc/invoke.texi (-Wabi): Document mangling bug.

PR c++/8006
* mangle.c (CLASSTYPE_TEMPLATE_ID_P): Handle instances of template
template parameters.
(globals): Add entity and need_abi_warning.
(decl_is_template_id): Use TYPE_TEMPLATE_INFO, not
CLASSTYPE_TEMPLATE_INFO.
(is_std_substitution): Use CLASSTYPE_TI_TEMPLATE, not
TYPE_TI_TEMPLATE.
(write_prefix): Handle typename types correctly.
(write_template_prefix): Handle template template parameters
correctly.
(start_mangling): Add entity parameter.
(finish_mangling): Warn about names whose mangling will change.
(mangle_decl_string): Adjust.
(mangle_type_string): Likewise.
(mangle_special_for_type): Likewise.
(mangle_ctor_vtbl_for_type): Likewise.
(mangle_thunk): Likewise.
(mangle_guard_variable): Likewise.
(mangle_ref_init_variable): Likewise.

PR c++/8006
* g++.dg/abi/mangle9.C: New test.
* g++.dg/abi/mangle10.C: New test.
* g++.dg/abi/mangle11.C: New test.
* g++.dg/abi/mangle12.C: New test.

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

21 years ago * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
amodra [Fri, 4 Oct 2002 03:19:32 +0000 (03:19 +0000)]
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
name for the tbtab label that depends on the function asm name.
Don't output tbtab label unless optional_tbtab.
(output_mi_thunk): Formatting.

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

21 years ago * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
rth [Fri, 4 Oct 2002 02:19:40 +0000 (02:19 +0000)]
    * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
        * config/m68k/m68k.c (override_options): ... here.
        * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
        * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
        * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
        * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.

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

21 years ago * real.h (struct real_value): Use ENUM_BITFIELD.
rth [Fri, 4 Oct 2002 00:50:58 +0000 (00:50 +0000)]
    * real.h (struct real_value): Use ENUM_BITFIELD.

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

21 years ago * config/i960/i960.md (call, call_value): Use emit_call_insn.
rth [Fri, 4 Oct 2002 00:39:27 +0000 (00:39 +0000)]
    * config/i960/i960.md (call, call_value): Use emit_call_insn.

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

21 years ago2002-10-03 Adam Megacz <adam@xwt.org>
megacz [Thu, 3 Oct 2002 22:54:04 +0000 (22:54 +0000)]
2002-10-03  Adam Megacz <adam@xwt.org>

    * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
    some functionality that isn't supported yet on WIN32.

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

21 years ago * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
sje [Thu, 3 Oct 2002 22:33:04 +0000 (22:33 +0000)]
* config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.

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

21 years ago * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
sje [Thu, 3 Oct 2002 21:46:59 +0000 (21:46 +0000)]
* config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
* config/pa/pa.h (MASK_GNU_LD): New.
(TARGET_GNU_LD): New.
(TARGET_SWITCHES): New gnu-ld & no-gnu-ld flags.
* config/pa/pa64-hpux.h (LINK_SPEC): Set based
on gnu-ld and MASK_GNU_LD.

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

21 years ago * i386.c (athlon_cost): Fix the move costs.
hubicka [Thu, 3 Oct 2002 21:37:17 +0000 (21:37 +0000)]
* i386.c (athlon_cost): Fix the move costs.

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

21 years ago * final.c (final): Use symbol name as function name for profiling.
hubicka [Thu, 3 Oct 2002 21:22:12 +0000 (21:22 +0000)]
* final.c (final): Use symbol name as function name for profiling.
* profile.c (get_exec_counts): Likewise.
(branch_prob): Likewise.

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

21 years ago * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
jakub [Thu, 3 Oct 2002 20:39:08 +0000 (20:39 +0000)]
* longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.

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

21 years ago * gcc.c (print_multi_os_directory): New variable.
jakub [Thu, 3 Oct 2002 20:35:14 +0000 (20:35 +0000)]
* gcc.c (print_multi_os_directory): New variable.
(option_map): Support --print-multi-os-directory.
(struct prefix_list): Add os_multilib field.
(multilib_os_dir): New variable.
(static_specs): Add multilib_options.
(find_a_file): Add multilib argument.  Search in GCC or OS multilib
subdirs if non-zero.
(read_specs, execute): Update callers.
(find_file): Likewise.  Don't prefix name with multilib_dir, instead
pass 1 as multilib option.
(display_help): Include --print-multi-os-directory.
(add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
(process_command): Update callers.  Handle --print-multi-os-directory.
(do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
set.
(main): Update find_a_file and add_prefix callers.
Handle print_multi_os_directory.
(struct mdswitchstr): New.
(mdswitches, n_mdswitches): New variables.
(used_arg): Add MULTILIB_DEFAULT switches too if they are not
present on the command line nor their mutually incompatible
switches.
(default_arg): Optimize.
(set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
array.
(print_multilib_info): Only print GCC multilib dir name, not OS
multilib dirname.
* genmultilib: Add osdirnames parameter.  Output multilib_options
variable.  If osdirnames is specified, output dirnames as
dirname:osdirname.
* mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
to compute libgcc_s soname and install path.
* Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
(s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
argument.

* config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
(STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
and -m64.
* config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
(STARTFILE_ARCH_SPEC): Remove.
* config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.

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

21 years ago * predict.c (choose_function_section): Avoid choice for linkonce functions.
hubicka [Thu, 3 Oct 2002 19:43:00 +0000 (19:43 +0000)]
* predict.c (choose_function_section): Avoid choice for linkonce functions.

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

21 years ago2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 3 Oct 2002 19:06:16 +0000 (19:06 +0000)]
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
* Makefile.in: Regenerate.

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

21 years ago2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 3 Oct 2002 18:50:19 +0000 (18:50 +0000)]
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
* Makefile.in: Regenerate.

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

21 years ago * Makefile.in: Rebuilt.
tromey [Thu, 3 Oct 2002 18:22:40 +0000 (18:22 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.

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

21 years ago2002-10-03 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 3 Oct 2002 17:17:39 +0000 (17:17 +0000)]
2002-10-03  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java
(class InetAddress): Removed final keyword.
(equals): Fixed typo.
(getByAddress): New method.

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

21 years agoPR libstdc++/3584
rearnsha [Thu, 3 Oct 2002 15:58:29 +0000 (15:58 +0000)]
PR libstdc++/3584
* config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
ASM sequences that don't give us atomic addition operations.  Instead
just add a comment explaining why it doesn't work.
(__atomic_add): Just use __exchange_and_add.
(__test_and_set, __always_swap): Delete.

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

21 years ago2002-10-03 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 3 Oct 2002 14:40:43 +0000 (14:40 +0000)]
2002-10-03  Michael Koch  <konqueror@gmx.de>

* java/awt/dnd/Autoscroll.java:
New file, merge from Classpath.
* java/awt/dnd/DragSourceAdapter.java:
(dragExit): Fixed typos in argument type.
(dragDropEnd): Fixed typos in argument type.
* java/awt/dnd/DragSourceDropEvent.java:
New file, merge from Classpath.
* java/awt/dnd/DropTarget.java:
Added stubs, merge from Classpath.
* java/awt/dnd/DropTargetAdapter.java:
New file, merge from Classpath.
* java/awt/dnd/DropTargetContext.java:
New file, merge from Classpath.
* java/awt/dnd/DropTargetDragEvent.java:
New file, merge from Classpath.
* java/awt/dnd/DropTargetDropEvent.java:
New file, merge from Classpath.
* java/awt/dnd/DropTargetEvent.java:
New file, merge from Classpath.
* java/awt/dnd/DropTargetListener.java:
New file, merge from Classpath.
* java/awt/dnd/MouseDragGestureRecognizer.java:
New file, merge from Classpath.
* java/awt/dnd/peer/DropTargetContextPeer.java:
New file, merge from Classpath.

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

21 years ago2002-10-03 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 3 Oct 2002 14:30:48 +0000 (14:30 +0000)]
2002-10-03  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramPacket.java
(setLength): Fixed typo and be HTML-aware.
* java/net/InetSocketAddress.java
(InetSocketAddress): Correct initialization of hostname, fixed typo.
(equals): Added comment about equality of InetSocketAddress objects.
* java/net/ServerSocket.java
(accept): Added checks.
(isClosed): New stubbed method.
* java/net/SocketOptions.java: Reindention.
* java/net/SocketPermission
(SocketPermission): Documentation fixed.

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

21 years ago * i386.md (lea to mul peep2): Fix condition.
hubicka [Thu, 3 Oct 2002 13:15:53 +0000 (13:15 +0000)]
* i386.md (lea to mul peep2): Fix condition.

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

21 years ago2002-10-03 Andrew Haley <aph@redhat.com>
aph [Thu, 3 Oct 2002 13:12:01 +0000 (13:12 +0000)]
2002-10-03  Andrew Haley  <aph@redhat.com>

* libjava.lang/Array_3.java (baz): New.
(main): Call baz.

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

21 years ago2002-09-30 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 3 Oct 2002 11:23:33 +0000 (11:23 +0000)]
2002-09-30  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(receive): Check with SecurityManager AFTER the packet is received,
check if connected to multicast address, documentation added.
(send): Only check SecurityManager if connected, check address of
packet to send.
(connect): Implemented, documentation added.
* java/net/Inet6Address.java: New file (not added yet to Makefile.am).
* java/net/InetSocketAddress.java
(whole file): Reindented.
(hostname): New attribute.
(InetSocketAddress): Initialize new attribute.
(getAddress): Documentation added.
(getHostName): Documentation added.
(getPort): Documentation added.
(hashCode): Documentation added.
(isUnresolved): Documentation added.
(toString): Conform to output of JDK 1.4.1, documentation added.
* java/net/MulticastSocket.java
(joinGroup): Removed FIXME, documentation added.
(leaveGroup): Removed FIXME, documentation added.
(send): Documentation added.
* java/net/Socket.java
(inputShutdown): New variable.
(outputShutdown): New variable.
(Socket): Initialize new variables.
(getRemoteSocketAddress): Check if connected.
(shutdownInput): Set new variable.
(shutdownOutput): Set new variable.
(isConnected): New method.
(isClosed): New method.
(isInputShutdown): New method.
(isOutputShutdown): New method.
* java/net/URLStreamHandler.java
(URLStreamHandler): New method.
(openConnection): Added documentation.
(parseURL): Added documentation.
(getHostAddress): New method.
(getDefaultPort): New method.

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

21 years agoDaily bump.
gccadmin [Thu, 3 Oct 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

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

21 years agoAdd forgotten ChangeLog entry.
aj [Thu, 3 Oct 2002 06:59:13 +0000 (06:59 +0000)]
Add forgotten ChangeLog entry.

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

21 years ago * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
danglin [Thu, 3 Oct 2002 04:05:54 +0000 (04:05 +0000)]
* pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
* pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.

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

21 years agoFixed ChangLog entries that went in the wrong place.
austern [Wed, 2 Oct 2002 21:46:13 +0000 (21:46 +0000)]
Fixed ChangLog entries that went in the wrong place.

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

21 years ago * java/rmi/activation/ActivationDesc.java,
tromey [Wed, 2 Oct 2002 21:21:37 +0000 (21:21 +0000)]
* java/rmi/activation/ActivationDesc.java,
java/rmi/activation/ActivationGroupDesc.java,
java/rmi/activation/ActivationGroupID.java,
java/rmi/activation/ActivationID.java: New versions from
Classpath.

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

21 years ago PR opt/7124
rth [Wed, 2 Oct 2002 20:35:49 +0000 (20:35 +0000)]
    PR opt/7124
        * config/i386/i386.c (ix86_register_move_cost): Increase cost
        for secondary_memory_needed pairs.

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

21 years ago2002-10-02 Janis Johnson <janis187@us.ibm.com>
janis [Wed, 2 Oct 2002 20:02:13 +0000 (20:02 +0000)]
2002-10-02  Janis Johnson  <janis187@us.ibm.com>

* MAINTAINERS: Add myself as web pages co-maintainer.

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

21 years ago * class.c (check_field_decls): Changed warning about const member
austern [Wed, 2 Oct 2002 20:02:10 +0000 (20:02 +0000)]
    * class.c (check_field_decls): Changed warning about const member
        variables so that it doesn't get issued for a class aggregate.

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

21 years ago PR c++/7188.
mmitchel [Wed, 2 Oct 2002 20:01:38 +0000 (20:01 +0000)]
PR c++/7188.
* cp-tree.def (CTOR_INITIALIZER): Use one slot, not two.
* cp-tree.h (emit_base_init): Rename to ....
(emit_mem_initializers): ... this.
(expand_member_init): Change prototype.
* init.c (perform_member_init): Compute explicit, rather than
requiring it as a parameter.
(sort_member_init): Rename to ...
(sort_mem_initializers): ... this.  Process bases and data members
together.
(sort_base_init): Remove.
(emit_base_init): Rename to ...
(emit_mem_initializers): ... this.
(expand_aggr_vbase_init_1): Remove.
(construct_virtual_bases): Rename to ...
(construct_virtual_base): ... this.
(expand_member_init): Rework handling of base initializers.
* method.c (do_build_copy_constructor): Use
finish_mem_initializers.
* parse.y (member_init): Adjust calls to expand_member_init.
* pt.c (tsubst_expr): Simplify CTOR_INITIALIZER case.
(tsubst_initializer_list): Use expand_member_init.
* semantics.c (finish_mem_intiailizers): Simplify.

PR c++/7188.
* g++.dg/template/meminit1.C: New test.
* g++.dg/warn/Wreorder-1.C: Likewise.
* g++.old-deja/g++.mike/warn3.C: Tweak.
* lib/prune.exp: Ingore "in copy constructor".

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

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Wed, 2 Oct 2002 19:17:30 +0000 (19:17 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* doc/vms.texi: Blow away false include file section.

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

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Wed, 2 Oct 2002 19:12:43 +0000 (19:12 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
* Makefile.in: Regenerate.

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

21 years ago PR optimization/6627
sayle [Wed, 2 Oct 2002 18:46:45 +0000 (18:46 +0000)]
PR optimization/6627
* toplev.c (force_align_functions_log): New global variable.
* flags.h (force_align_functions_log): Add extern prototype.
* varasm.c (assemble_start_function): Use it to force minimum
function alignment.
* config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
minimum function alignment to one byte.
(TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
the least significant bit of vtable member function pointers.
* tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
here from cp/cp-tree.h.

* cp/cp-tree.h (enum ptrmemfunc_vbit_where_t): Delete definition
from here, and move it to tree.h.
* cp/decl.c (cxx_init_decl_processing): If storing the vbit
in function pointers, ensure that force_align_functions_log
is atleast one.

* java/lang.c (java_init): If storing the vbit in function
pointers, ensure that force_align_functions_log is atleast
one to aid compatability with g++ vtables.

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

21 years ago * MAINTAINERS: Add myself and Nathan Sidwell
zack [Wed, 2 Oct 2002 17:51:40 +0000 (17:51 +0000)]
* MAINTAINERS: Add myself and Nathan Sidwell
<nathan@codesourcery.com> as VxWorks maintainers.

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

21 years ago * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
aj [Wed, 2 Oct 2002 16:46:38 +0000 (16:46 +0000)]
* config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
New file.

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

21 years ago * cp/decl.c (walk_vtables_r): Fixed typo that caused result to
austern [Wed, 2 Oct 2002 16:00:33 +0000 (16:00 +0000)]
* cp/decl.c (walk_vtables_r): Fixed typo that caused result to
never get a nonzero value.

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

21 years ago * i386.c (print_operand_address): Use RIP addressing for offsetted
hubicka [Wed, 2 Oct 2002 15:02:50 +0000 (15:02 +0000)]
* i386.c (print_operand_address): Use RIP addressing for offsetted
label refs too.

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

21 years agoEnable tests on x86-64.
aj [Wed, 2 Oct 2002 08:26:51 +0000 (08:26 +0000)]
Enable tests on x86-64.

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

21 years agoDaily bump.
gccadmin [Wed, 2 Oct 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.

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

21 years agoFix bogus date.
neroden [Wed, 2 Oct 2002 06:27:54 +0000 (06:27 +0000)]
Fix bogus date.

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

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Wed, 2 Oct 2002 06:27:24 +0000 (06:27 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: Remove order dependency comments.
* Makefile.tpl: Add explicit install-install dependencies.
* Makefile.in: Regenerate.

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

21 years ago * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
aj [Wed, 2 Oct 2002 06:25:37 +0000 (06:25 +0000)]
* include/private/gcconfig.h (HBLKSIZE): Define for x86-64.

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

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Wed, 2 Oct 2002 06:22:33 +0000 (06:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Remove material now in src-release.  (Finally!)

* Makefile.in: Regenerate.

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

21 years ago * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.
aj [Wed, 2 Oct 2002 06:21:54 +0000 (06:21 +0000)]
* src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.

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

21 years agoReally this time. :sigh:
neroden [Wed, 2 Oct 2002 05:14:00 +0000 (05:14 +0000)]
Really this time. :sigh:

2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Add configure-target (for src-release in src)
* Makefile.in: Regenerate.

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

21 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Wed, 2 Oct 2002 05:11:25 +0000 (05:11 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Add configure-target (for src-release in src)
* Makefile.in: Regenerate.

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

21 years ago2002-09-30 David S. Miller <davem@redhat.com>
davem [Wed, 2 Oct 2002 03:49:09 +0000 (03:49 +0000)]
2002-09-30  David S. Miller  <davem@redhat.com>

PR middle-end/7151
* config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
(movdi reg/reg split): Match only on sparc32, and v9 when int regs.

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

21 years ago * unroll.c (loop_iterations): Revert 2002-09-08 change.
sayle [Wed, 2 Oct 2002 02:48:10 +0000 (02:48 +0000)]
* unroll.c (loop_iterations): Revert 2002-09-08 change.

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

21 years ago * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
rth [Wed, 2 Oct 2002 02:38:02 +0000 (02:38 +0000)]
    * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
        (real_to_hexadecimal): Likewise.
        * print-rtl.c (print_rtx): If we are linked with real.c, don't
        dump the XWINT fields of a floating point CONST_DOUBLE.

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

21 years agoFix dg-options typo.
rth [Wed, 2 Oct 2002 01:55:10 +0000 (01:55 +0000)]
Fix dg-options typo.

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

21 years ago * decl.c (cp_finish_decl): Make sure array types are laid out,
mmitchel [Wed, 2 Oct 2002 01:16:22 +0000 (01:16 +0000)]
* decl.c (cp_finish_decl): Make sure array types are laid out,
even if the array bounds are unknown.

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

21 years ago2002-10-01 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 2 Oct 2002 01:05:13 +0000 (01:05 +0000)]
2002-10-01  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.am (check-abi):  Add @ to rule.
* Makefile.in:  Regenerated.

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

21 years ago* config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
thorpej [Wed, 2 Oct 2002 00:57:53 +0000 (00:57 +0000)]
* config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.

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

21 years ago * cp/class.c (build_vtbl_initializer): Change build_c_cast
sje [Tue, 1 Oct 2002 22:47:09 +0000 (22:47 +0000)]
* cp/class.c (build_vtbl_initializer): Change build_c_cast
to build1.

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

21 years agoOops, this file missed in previous checkin.
thorpej [Tue, 1 Oct 2002 22:24:02 +0000 (22:24 +0000)]
Oops, this file missed in previous checkin.

2002-10-01  Matt Thomas  <matt@3am-software.com>
            Jason Thorpe  <thorpej@wasabisystems.com>

* config.gcc (vax-*-netbsdelf*): Enable configuration.
* config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
if not already defined.
* config/vax/elf.h: New file.
* config/vax/netbsd-elf.h: New file.
* config/vax/vax.c: Include "debug.h".
(vax_output_function_prologue): Add dwarf2 support.  Use
MAIN_NAME_P when checking for VMS_TARGET stack adjust.
* config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
(VAX_ISTREAM_SYNC): Remove.
(INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
(ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
and assemble_name.
(ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
(PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
(PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
(INCOMING_RETURN_ADDR_RTX): Define.
* config/vax/vax.md (VUNSPEC_BLOCKAGE)
(VUNSPEC_SYNC_ISTREAM): Define.
(blockage): Use VUNSPEC_BLOCKAGE.
(sync_istream): New insn.

2002-10-01  Richard Henderson  <rth@redhat.com>

* config/vax/vax.md (call_pop, *call_pop, call_value_pop)
(*call_value_pop, call, call_value): Add dwarf2 EH support.
(*call): New insn.

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

21 years ago * gcc.dg/empty1.C: Fix typo.
mmitchel [Tue, 1 Oct 2002 22:23:55 +0000 (22:23 +0000)]
* gcc.dg/empty1.C: Fix typo.

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

21 years ago * calls.c (precompute_register_parameters): Force non-legitimate
rth [Tue, 1 Oct 2002 20:49:39 +0000 (20:49 +0000)]
    * calls.c (precompute_register_parameters): Force non-legitimate
        constants into pseudos.
* gcc.dg/tls/opt-3.c: New.

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

21 years ago(spe_evrlwi): Add missing third operand to assembler template.
nickc [Tue, 1 Oct 2002 20:39:03 +0000 (20:39 +0000)]
(spe_evrlwi): Add missing third operand to assembler template.

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

21 years ago * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
rth [Tue, 1 Oct 2002 20:24:52 +0000 (20:24 +0000)]
    * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
        for TLS debug info to !DECL_EXTERNAL.

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

21 years ago2002-10-01 Matt Thomas <matt@3am-software.com>
thorpej [Tue, 1 Oct 2002 20:16:04 +0000 (20:16 +0000)]
2002-10-01  Matt Thomas  <matt@3am-software.com>
            Jason Thorpe  <thorpej@wasabisystems.com>

* config.gcc (vax-*-netbsdelf*): Enable configuration.
* config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
if not already defined.
* config/vax/elf.h: New file.
* config/vax/netbsd-elf.h: New file.
* config/vax/vax.c: Include "debug.h".
(vax_output_function_prologue): Add dwarf2 support.  Use
MAIN_NAME_P when checking for VMS_TARGET stack adjust.
* config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
(VAX_ISTREAM_SYNC): Remove.
(INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
(ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
and assemble_name.
(ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
(PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
(PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
(INCOMING_RETURN_ADDR_RTX): Define.
* config/vax/vax.md (VUNSPEC_BLOCKAGE)
(VUNSPEC_SYNC_ISTREAM): Define.
(blockage): Use VUNSPEC_BLOCKAGE.
(sync_istream): New insn.

2002-10-01  Richard Henderson  <rth@redhat.com>

* config/vax/vax.md (call_pop, *call_pop, call_value_pop)
(*call_value_pop, call, call_value): Add dwarf2 EH support.
(*call): New insn.

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

21 years ago * jcf-dump.c (print_constant, case CONSTANT_float): Don't fall
nathan [Tue, 1 Oct 2002 19:13:12 +0000 (19:13 +0000)]
* jcf-dump.c (print_constant, case CONSTANT_float): Don't fall
foul of type-based aliasing.

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

21 years ago PR c/8083
nathan [Tue, 1 Oct 2002 19:11:07 +0000 (19:11 +0000)]
PR c/8083
* c-typeck.c (build_c_cast): Warn about type punning which breaks
type based aliasing.
testsuite:
* gcc.dg/alias-1.c: New test.

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

21 years ago * stor-layout.c (update_alignment_for_field): New function.
mmitchel [Tue, 1 Oct 2002 18:44:49 +0000 (18:44 +0000)]
* stor-layout.c (update_alignment_for_field): New function.
(place_union_field): Use it.
(place_field): Likewise.
* gcc.dg/empty1.C: New test.

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

21 years ago * decl.c (cp_finish_decl): Correct check for dynamic
mmitchel [Tue, 1 Oct 2002 18:27:53 +0000 (18:27 +0000)]
* decl.c (cp_finish_decl): Correct check for dynamic
initialization of thread-local storage.

* g++.dg/tls/init-2.C: Tweak error messages.

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

21 years agocp
mmitchel [Tue, 1 Oct 2002 18:27:33 +0000 (18:27 +0000)]
cp

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

21 years ago * gcc.c (cc1_options): Add space on -auxbase-strip.
nathan [Tue, 1 Oct 2002 18:10:04 +0000 (18:10 +0000)]
* gcc.c (cc1_options): Add space on -auxbase-strip.

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

21 years ago * include/ffi.h.in: Fix i386 win32 compilation.
bo [Tue, 1 Oct 2002 15:38:00 +0000 (15:38 +0000)]
    * include/ffi.h.in: Fix i386 win32 compilation.

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

21 years agoDon't let regrename clobber the link register.
wilson [Tue, 1 Oct 2002 13:48:20 +0000 (13:48 +0000)]
Don't let regrename clobber the link register.
* config/v850/v850.h (EPILOGUE_USES): Define.

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

21 years ago2002-09-30 Andrew Haley <aph@redhat.com>
aph [Tue, 1 Oct 2002 12:19:36 +0000 (12:19 +0000)]
2002-09-30  Andrew Haley  <aph@redhat.com>

* flow.c (insn_dead_p): When using non-call-exceptions, don't
eliminate insns that may trap.
* cse.c (insn_live_p): Likewise.

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

21 years ago * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
rsandifo [Tue, 1 Oct 2002 10:26:09 +0000 (10:26 +0000)]
* config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
(TARGET_MIPS4121): Rename to TARGET_MIPS4120.
* config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
* config/mips/mips.md: Apply same renaming here.

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

21 years ago * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
rsandifo [Tue, 1 Oct 2002 10:23:52 +0000 (10:23 +0000)]
* config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
(GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
* config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
* config/mips/mips.md (define_attr cpu): Remove r4320.
Remove vr4320 scheduler and uses of TARGET_MIPS4320.

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

21 years ago * config/mips/mips.c (mips16_strings): New variable.
rsandifo [Tue, 1 Oct 2002 10:22:07 +0000 (10:22 +0000)]
* config/mips/mips.c (mips16_strings): New variable.
(mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
symbol in mips16_strings.  Free the list.
(mips_encode_section_info): Keep track of local strings.

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

21 years ago[gcc/]
rsandifo [Tue, 1 Oct 2002 10:20:33 +0000 (10:20 +0000)]
[gcc/]
* config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
(sordered_df, sordered_sf): Remove.
* config/mips/mips.c (get_float_compare_codes): New fn.
(gen_int_relational, gen_conditional_move): Use it.

[gcc/testsuite]
* gcc.c-torture/compile/20020923-1.c: New test.

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

21 years ago * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
rsandifo [Tue, 1 Oct 2002 10:14:35 +0000 (10:14 +0000)]
* config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
* config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
* config/mips/mips.c (fcc_register_operand): New function.
(mips_emit_fcc_reload): New function, extracted from reload_incc.
(override_options): Allow TFmode values in float registers
if ISA_HAS_8CC.
* cnfig/mips/mips.md (reload_incc): Change destination prediate
to fcc_register_operand.  Remove misleading source constraint.
Use mips_emit_fcc_reload.
(reload_outcc): Duplicate reload_incc.

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

21 years ago2002-09-30 Bo Thorsen <bo@suse.de>
bo [Tue, 1 Oct 2002 09:02:08 +0000 (09:02 +0000)]
2002-09-30  Bo Thorsen  <bo@suse.de>

* sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.

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