platform/upstream/gcc.git
21 years agoreal.c, real.h: Rewrite from scratch.
Richard Henderson [Mon, 16 Sep 2002 16:36:39 +0000 (09:36 -0700)]
real.c, real.h: Rewrite from scratch.

gcc/
* real.c, real.h: Rewrite from scratch.

* Makefile.in (simplify-rtx.o): Depend on TREE_H.
(paranoia): New target.
* builtins.c (fold_builtin_inf): Use new real.h interface.
* c-common.c (builtin_define_with_hex_fp_value): Likewise.
* c-lex.c (interpret_float): Likewise.
* emit-rtl.c (gen_lowpart_common): Likewise.
* optabs.c (expand_float): Use real_2expN.
* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
(FLOAT_WORDS_BIG_ENDIAN): New.
* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
directly to REAL_VALUE_NEGATIVE.
* loop.c (canonicalize_condition): Likewise.
* simplify-rtx.c: Include tree.h.
(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
with floating-point result modes.
* toplev.c (backend_init): Call init_real_once.

* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
* tree.c (build_real): Likewise.
* config/alpha/alpha.c, config/vax/vax.c (float_strings,
float_values, inited_float_values, check_float_value): Remove.
* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.

gcc/f/
* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
directly to ffetarget_make_real1.
(ffetarget_real2): Similarly.
* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.

gcc/java/
* jcf-parse.c (get_constant): Runtime check for IEEE format;
use new real.h interface.
* jcf-write.c (find_constant_index): Use new real.h interface.
* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.

contrib/
* paranoia.cc: New file.

From-SVN: r57198

21 years ago* gcc.dg/20020312-2.c: Change __parisc__ to __hppa__.
Steve Ellcey [Mon, 16 Sep 2002 16:25:22 +0000 (16:25 +0000)]
* gcc.dg/20020312-2.c: Change __parisc__ to __hppa__.

From-SVN: r57196

21 years agoparse.y (parse_finish_call_expr): Check lookup_member result.
Nathan Sidwell [Mon, 16 Sep 2002 15:15:36 +0000 (15:15 +0000)]
parse.y (parse_finish_call_expr): Check lookup_member result.

cp:
* parse.y (parse_finish_call_expr): Check lookup_member result.
testsuite:
* g++.dg/lookup/scoped2.C: New test.

From-SVN: r57195

21 years agore PR c++/7015 (certain __asm__ constructs rejected)
Nathan Sidwell [Mon, 16 Sep 2002 14:34:02 +0000 (14:34 +0000)]
re PR c++/7015 (certain __asm__ constructs rejected)

cp:
2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>

PR c++/7015
* semantic.c (finish_asm_stmt): Fix operand/output_operands
thinko.
* typeck.c (c_expand_asm_operands): Protect from error_mark_node.
testsuite
* g++.dg/ext/asm3.C: New test.

From-SVN: r57192

21 years agos390.c: (legitimize_la_operand): Remove, replace by ...
Ulrich Weigand [Mon, 16 Sep 2002 14:13:12 +0000 (14:13 +0000)]
s390.c: (legitimize_la_operand): Remove, replace by ...

* config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
(s390_load_address): ... this new function.
(s390_decompose_address): Allow the argument pointer and all
virtual registers as 'pointer' registers.
(s390_expand_plus_operand): Use s390_load_address.
config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
("force_la_31"): New insn pattern.
config/s390/s390-protos.h (legitimize_la_operand): Remove.
(s390_load_address): Add prototype.

* config/s390/s390.c: Include "optabs.h".
(s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
s390_expand_cmpstr): Add prototypes.
config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
for operands 0 and 1 to "memory_operand".  Add type attribute.
("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
for operands 0 and 1 to "memory_operand".  Add type attribute.
("movstrdi_long", "movstrsi_long"): Remove.
("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
("clrstrsico"): Remove, replace by ...
("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
("clrstrsi_64"): Rename to "clrstr_long_64".
("clrstrsi_31"): Rename to "clrstr_long_31".
("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
("cmpstr_const"): Remove, replace by ...
("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
("cmpstr_64"): Rename to "cmpstr_long_64".
("cmpstr_31"): Rename to "cmpstr_long_31".

From-SVN: r57191

21 years ago* objc.dg/bitfield-2.m (dg-options): Add -fsigned-char.
Richard Earnshaw [Mon, 16 Sep 2002 13:38:53 +0000 (13:38 +0000)]
* objc.dg/bitfield-2.m (dg-options): Add -fsigned-char.

From-SVN: r57190

21 years agoChangeLog: follow spelling conventions.
Kazu Hirata [Mon, 16 Sep 2002 13:29:51 +0000 (13:29 +0000)]
ChangeLog: follow spelling conventions.

* ChangeLog: follow spelling conventions.
* g++.old-deja/g++.abi/ptrmem.C: Likewise.
* g++.old-deja/g++.bugs/900210_05.C: Likewise.
* g++.old-deja/g++.bugs/900211_04.C: Likewise.
* g++.old-deja/g++.bugs/900321_02.C: Likewise.
* g++.old-deja/g++.bugs/900404_02.C: Likewise.
* g++.old-deja/g++.bugs/900520_06.C: Likewise.
* g++.old-deja/g++.law/global-init1.C: Likewise.
* g++.old-deja/g++.other/delete4.C: Likewise.
* g++.old-deja/g++.other/inline21.C: Likewise.
* g++.old-deja/g++.other/singleton.C: Likewise.
* g77.dg/strlen0.f: Likewise.
* g77.f-torture/compile/20010519-1.f: Likewise.
* g77.f-torture/compile/980310-4.f: Likewise.
* gcc.c-torture/compile/20000605-1.c: Likewise.
* gcc.c-torture/execute/20020225-1.c: Likewise.
* gcc.dg/c90-hexfloat-2.c: Likewise.
* gcc.dg/c99-bool-1.c: Likewise.
* gcc.dg/c99-hexfloat-2.c: Likewise.
* gcc.dg/dll-2.c: Likewise.
* gcc.dg/wtr-union-init-1.c: Likewise.
* gcc.dg/wtr-union-init-2.c: Likewise.
* gcc.dg/wtr-union-init-3.c: Likewise.
* gcc.dg/cpp/avoidpaste1.c: Likewise.
* gcc.dg/cpp/defined.c: Likewise.
* gcc.dg/cpp/macsyntx.c: Likewise.
* gcc.dg/cpp/paste2.c: Likewise.
* gcc.dg/cpp/trad/defined.c: Likewise.
* gcc.dg/format/c90-printf-1.c: Likewise.
* gcc.dg/format/c90-scanf-1.c: Likewise.
* gcc.dg/format/c99-printf-1.c: Likewise.
* gcc.dg/format/c99-scanf-1.c: Likewise.
* gcc.misc-tests/gcov-8.c: Likewise.
* lib/profopt.exp: Likewise.

From-SVN: r57189

21 years agoABOUT-NLS: Follow spelling conventions.
Kazu Hirata [Mon, 16 Sep 2002 11:42:00 +0000 (11:42 +0000)]
ABOUT-NLS: Follow spelling conventions.

* ABOUT-NLS: Follow spelling conventions.
* ChangeLog: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* FSFChangeLog.11: Likewise.
* c-common.c: Likewise.
* c-lex.c: Likewise.
* c-objc-common.c: Likewise.
* cppexp.c: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* doloop.c: Likewise.
* flow.c: Likewise.
* function.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* reg-stack.c: Likewise.
* reload.h: Likewise.
* ssa.c: Likewise.

From-SVN: r57188

21 years agoAssertionError.java: Merge with classpath, fixes HTML.
Michael Koch [Mon, 16 Sep 2002 09:46:37 +0000 (09:46 +0000)]
AssertionError.java: Merge with classpath, fixes HTML.

2002-09-16  Michael Koch  <konqueror@gmx.de>

* java/lang/AssertionError.java:
Merge with classpath, fixes HTML.
* java/rmi/server/LogStream.java:
Merge with classpath, fixes some constants.
* java/net/server/RemoteServer.java:
Merge with classpath, adds serialVersionUID.
* javax/naming/BinaryRefAddr.java:
Merge with classpath, s/equal/equals/.
* javax/naming/NamingException.java:
Merge with classpath, fixed typo.
* javax/naming/RefAddr.java:
Merge with classpath, s/equal/equals/.
* java/awt/Toolkit.java:
s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
and typo fixed.

From-SVN: r57187

21 years agoDaily bump.
GCC Administrator [Mon, 16 Sep 2002 07:17:41 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57186

21 years agonatPlainSocketImpl.cc: #ifdef-shielded socket timeouts, which don't work on Win32...
Adam Megacz [Mon, 16 Sep 2002 01:44:02 +0000 (01:44 +0000)]
natPlainSocketImpl.cc: #ifdef-shielded socket timeouts, which don't work on Win32 (yet).

2002-09-15  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
        which don't work on Win32 (yet).

From-SVN: r57180

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 22:48:06 +0000 (22:48 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.6: Likewise.
* config.gcc: Likewise.
* dwarfout.c: Likewise.
* reload1.c: Likewise.
* simplify-rtx.c: Likewise.
* unwind-sjlj.c: Likewise.
* config/avr/avr.h: Likewise.
* config/d30v/d30v.h: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/m88k/m88k-move.sh: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.
* doc/extend.texi: Likewise.
* doc/interface.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/tm.texi: Likewise.
* doc/trouble.texi: Likewise.
* ginclude/float.h: Likewise.
* treelang/treelang.texi: Likewise.

From-SVN: r57179

21 years ago* intdoc.texi: Regenerate.
Kazu Hirata [Sun, 15 Sep 2002 21:59:33 +0000 (21:59 +0000)]
* intdoc.texi: Regenerate.

From-SVN: r57178

21 years agos/Fix/Follow/
Kazu Hirata [Sun, 15 Sep 2002 21:53:35 +0000 (21:53 +0000)]
s/Fix/Follow/

From-SVN: r57177

21 years agoi386-protos.h (i386_pe_dllexport_name_p, [...]): Add prototype.
Kaveh R. Ghazi [Sun, 15 Sep 2002 21:47:42 +0000 (21:47 +0000)]
i386-protos.h (i386_pe_dllexport_name_p, [...]): Add prototype.

* i386-protos.h (i386_pe_dllexport_name_p,
i386_pe_dllimport_name_p, i386_pe_unique_section,
i386_pe_declare_function_type, i386_pe_record_external_function,
i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
prototype.
* i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
* i386/t-interix (winnt.o): Likewise.

From-SVN: r57176

21 years ago* lang.c: Fix spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 21:46:12 +0000 (21:46 +0000)]
* lang.c: Fix spelling conventions.

From-SVN: r57175

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 21:40:40 +0000 (21:40 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* intdoc.in: Likewise.

From-SVN: r57174

21 years ago* v850-protos.h (v850_output_addr_const_extra): Prototype.
Kaveh R. Ghazi [Sun, 15 Sep 2002 20:44:01 +0000 (20:44 +0000)]
* v850-protos.h (v850_output_addr_const_extra): Prototype.

From-SVN: r57173

21 years agonetbsd.h (TARGET_OS_CPP_BUILTINS): Add MIPS ABI CPP macros.
Jason Thorpe [Sun, 15 Sep 2002 19:15:28 +0000 (19:15 +0000)]
netbsd.h (TARGET_OS_CPP_BUILTINS): Add MIPS ABI CPP macros.

* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
MIPS ABI CPP macros.
(TARGET_CPU_CPP_BUILTINS): Redefine.
(SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
(SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.

From-SVN: r57171

21 years ago* ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
Kaveh R. Ghazi [Sun, 15 Sep 2002 19:10:12 +0000 (19:10 +0000)]
* ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.

From-SVN: r57170

21 years ago2002-09-15 Krister Walfridsson <cato@df.lth.se>
Krister Walfridsson [Sun, 15 Sep 2002 18:54:43 +0000 (20:54 +0200)]
2002-09-15  Krister Walfridsson  <cato@df.lth.se>

* lib/old-dejagnu.exp (old-dejagnu) Improve test for ICE.

From-SVN: r57169

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 18:24:08 +0000 (18:24 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* FSFChangeLog.11: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-format.c: Likewise.
* c-opts.c: Likewise.
* cpplib.c: Likewise.
* langhooks.h: Likewise.
* real.c: Likewise.
* reg-stack.c: Likewise.
* toplev.c: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/linux-gas.h: Likewise.
* config/arm/netbsd.h: Likewise.
* config/c4x/c4x.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/c4x/libgcc.S: Likewise.
* config/fr30/fr30.md: Likewise.
* config/frv/frv.md: Likewise.
* config/ia64/ia64.md: Likewise.
* config/mips/mips.h: Likewise.
* config/mn10300/mn10300.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/v850/v850.md: Likewise.
* doc/extend.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.

From-SVN: r57166

21 years agore PR c++/7919 (using declarations screw this pointer)
Nathan Sidwell [Sun, 15 Sep 2002 18:16:11 +0000 (18:16 +0000)]
re PR c++/7919 (using declarations screw this pointer)

cp:
PR c++/7919
* call.c (build_over_call): Convert this pointer for fns found by
using decls.
testsuite:
* g++.dg/inherit/using2.C: New test.

From-SVN: r57165

21 years agonetbsd.h (LIB_SPEC): Include the appropriate pthread library if -pthread is specified.
Jason Thorpe [Sun, 15 Sep 2002 18:14:18 +0000 (18:14 +0000)]
netbsd.h (LIB_SPEC): Include the appropriate pthread library if -pthread is specified.

* config/netbsd.h (LIB_SPEC): Include the appropriate pthread
library if -pthread is specified.

From-SVN: r57164

21 years agoconfig.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and...
Jason Thorpe [Sun, 15 Sep 2002 18:07:13 +0000 (18:07 +0000)]
config.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and --enable-threads=posix.

* config.gcc (*-*-netbsd*): Set thread_file to 'posix'
for --enable-threads=yes and --enable-threads=posix.

From-SVN: r57163

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 17:55:36 +0000 (17:55 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.1: Likewise.

From-SVN: r57162

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sun, 15 Sep 2002 17:51:50 +0000 (17:51 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* g++.dg/template/friend4.C: Likewise.
* g++.old-deja/g++.pt/crash67.C: Likewise.
* gcc.c-torture/execute/20000801-4.c: Likewise.
* gcc.dg/c90-digraph-1.c: Likewise.
* gcc.dg/c94-digraph-1.c: Likewise.
* gcc.dg/c99-digraph-1.c: Likewise.
* gcc.dg/cpp/line5.c: Likewise.
* gcc.dg/cpp/multiline.c: Likewise.
* gcc.dg/cpp/trad/literals-1.c: Likewise.
* gcc.dg/format/attr-3.c: Likewise.
* gcc.dg/format/c90-scanf-3.c: Likewise.
* gcc.dg/format/ext-4.c: Likewise.

From-SVN: r57161

21 years agocypress.md: Replace Sparc with SPARC.
Kazu Hirata [Sun, 15 Sep 2002 12:03:42 +0000 (12:03 +0000)]
cypress.md: Replace Sparc with SPARC.

* config/sparc/cypress.md: Replace Sparc with SPARC.
* config/sparc/freebsd.h: Likewise.
* config/sparc/gmon-sol2.c: Likewise.
* config/sparc/hypersparc.md: Likewise.
* config/sparc/lb1spc.asm: Likewise.
* config/sparc/lb1spl.asm: Likewise.
* config/sparc/linux.h: Likewise.
* config/sparc/linux64.h: Likewise.
* config/sparc/lynx.h: Likewise.
* config/sparc/sol2.h: Likewise.
* config/sparc/sparc-modes.def: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/sparc.h: Likewise.
* config/sparc/sparc.md: Likewise.
* config/sparc/sparclet.md: Likewise.
* config/sparc/supersparc.md: Likewise.
* config/sparc/sysv4.h: Likewise.
* config/sparc/vxsim.h: Likewise.
* config/sparc/vxsparc64.h: Likewise.

From-SVN: r57160

21 years agoDaily bump.
GCC Administrator [Sun, 15 Sep 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57159

21 years agore PR c++/7768 (__PRETTY_FUNCTION__ for template destructor is wrong)
Nathan Sidwell [Sat, 14 Sep 2002 23:19:48 +0000 (23:19 +0000)]
re PR c++/7768 (__PRETTY_FUNCTION__ for template destructor is wrong)

cp:
PR c++/7768
* pt.c (build_template_decl): Copy DECL_DESTRUCTOR_P.
testsuite:
* g++.dg/template/pretty1.C: New test

From-SVN: r57152

21 years agonatPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken...
Adam Megacz [Sat, 14 Sep 2002 21:56:44 +0000 (21:56 +0000)]
natPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken (conflicts with itself).

2002-09-14  Adam Megacz <adam@xwt.org>

        * java/net/natPlainDatagramSocket.cc: removed #include
        <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
        * include/win32.h: included definition for IP_TOS to satisfy
        natPlainDatagramSocket.cc

From-SVN: r57151

21 years ago* config/avr/avr.c (output.h): Move after inclusion of tree.h.
Marek Michalkiewicz [Sat, 14 Sep 2002 20:24:49 +0000 (22:24 +0200)]
* config/avr/avr.c (output.h): Move after inclusion of tree.h.

From-SVN: r57149

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Sat, 14 Sep 2002 15:51:45 +0000 (15:51 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* cppfiles.c: Likewise.
* cppinit.c: Likewise.
* cpplib.h: Likewise.
* cse.c: Likewise.
* debug.h: Likewise.
* df.c: Likewise.
* dominance.c: Likewise.
* hashtable.c: Likewise.
* hashtable.h: Likewise.
* loop.c: Likewise.
* config/arm/README-interworking: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.h: Likewise.
* config/arm/arm.md: Likewise.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/stormy16/stormy-abi: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/v850/v850.c: Likewise.

From-SVN: r57146

21 years ago* loop.c: Fix a comment typo.
Kazu Hirata [Sat, 14 Sep 2002 14:00:16 +0000 (14:00 +0000)]
* loop.c: Fix a comment typo.

From-SVN: r57145

21 years agofr30.h: Fix comment typos.
Kazu Hirata [Sat, 14 Sep 2002 13:39:55 +0000 (13:39 +0000)]
fr30.h: Fix comment typos.

* config/fr30/fr30.h: Fix comment typos.
* config/frv/frv.c: Likewise.
* config/i386/xmmintrin.h: Likewise.
* config/mips/mips.c: Likewise.
* config/sh/sh.c: Likewise.

From-SVN: r57144

21 years agohaifa-sched.c: Follow spelling conventions.
Kazu Hirata [Sat, 14 Sep 2002 13:12:56 +0000 (13:12 +0000)]
haifa-sched.c: Follow spelling conventions.

* haifa-sched.c: Follow spelling conventions.
* regclass.c: Likewise.
* regrename.c: Likewise.
* config/fp-bit.c: Likewise.
* config/frv/frv.h: Likewise.
* config/m88k/m88k.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/gnu.h: Likewise.
* config/rs6000/linux.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/ultra1_2.md: Likewise.

From-SVN: r57143

21 years agore PR libf2c/7384 (DATE_AND_TIME milliseconds field inactive on Windows)
Tim Prince [Sat, 14 Sep 2002 12:50:40 +0000 (12:50 +0000)]
re PR libf2c/7384 (DATE_AND_TIME milliseconds field inactive on Windows)

2002-09-14  Tim Prince  <tprince@computer.org>

PR libf2c/7384
* libU77/datetime_.c: Use GetLocalTime on MS-Windows.

From-SVN: r57142

21 years ago* MAINTAINERS: Update my email address.
Kazu Hirata [Sat, 14 Sep 2002 12:21:49 +0000 (12:21 +0000)]
* MAINTAINERS: Update my email address.

From-SVN: r57140

21 years agoerror.c: Fix comment formatting.
Kazu Hirata [Sat, 14 Sep 2002 12:07:44 +0000 (12:07 +0000)]
error.c: Fix comment formatting.

* error.c: Fix comment formatting.
* except.c: Likewise.
* expr.c: Likewise.
* friend.c: Likewise.
* g++spec.c: Likewise.
* init.c: Likewise.
* lex.c: Likewise.
* mangle.c: Likewise.
* method.c: Likewise.
* optimize.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* spew.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.

From-SVN: r57138

21 years agom68hc11.md ("movdi_internal"): Allow any offsetable memory operand when source is...
Stephane Carrez [Sat, 14 Sep 2002 12:04:45 +0000 (14:04 +0200)]
m68hc11.md ("movdi_internal"): Allow any offsetable memory operand when source is 0 (K constraint).

* config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
memory operand when source is 0 (K constraint).
("movsi_internal"): Likewise.
("movdf_internal"): Likewise.
("movsf_internal"): Likewise.

From-SVN: r57136

21 years agors6000.c (rs6000_elf_encode_section_info): Use targetm.binds_local_p to set SYMBOL_RE...
Alan Modra [Sat, 14 Sep 2002 08:07:58 +0000 (08:07 +0000)]
rs6000.c (rs6000_elf_encode_section_info): Use targetm.binds_local_p to set SYMBOL_REF_FLAG.

* config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
targetm.binds_local_p to set SYMBOL_REF_FLAG.
(rs6000_xcoff_encode_section_info): Likewise.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.

From-SVN: r57135

21 years ago* gcc/config/avr/avr.h: Set default options for C++ for avr.
Theodore A. Roth [Sat, 14 Sep 2002 08:03:16 +0000 (08:03 +0000)]
* gcc/config/avr/avr.h: Set default options for C++ for avr.

From-SVN: r57134

21 years agoDaily bump.
GCC Administrator [Sat, 14 Sep 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57133

21 years ago* gcc.c-torture/execute/struct-cpy-1.c: New test.
Alan Modra [Sat, 14 Sep 2002 00:44:22 +0000 (00:44 +0000)]
* gcc.c-torture/execute/struct-cpy-1.c: New test.

From-SVN: r57126

21 years ago[multiple changes]
Phil Edwards [Sat, 14 Sep 2002 00:35:18 +0000 (00:35 +0000)]
[multiple changes]

2002-09-13  Andy Felt  <afelt@uwsp.edu>

* docs/html/17_intro/howto.html:  Update link.

2002-09-13  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/run_doxygen:  Massage man page for Iterator_types.3.
* docs/html/faq/index.html:  Whitespace fixes.

From-SVN: r57125

21 years agoMakefile.in (toplev.o): Depend on real.h.
Richard Henderson [Fri, 13 Sep 2002 23:40:27 +0000 (16:40 -0700)]
Makefile.in (toplev.o): Depend on real.h.

        * Makefile.in (toplev.o): Depend on real.h.
        (print-rtl.o, varasm.o, ifcvt.o): Likewise.

From-SVN: r57123

21 years agotm.texi (DBX_OUTPUT_NFUN): Describe.
Alan Modra [Fri, 13 Sep 2002 23:29:58 +0000 (23:29 +0000)]
tm.texi (DBX_OUTPUT_NFUN): Describe.

* doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
* dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
* config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.

From-SVN: r57122

21 years ago* ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
Nathan Sidwell [Fri, 13 Sep 2002 21:54:10 +0000 (21:54 +0000)]
* ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.

From-SVN: r57121

21 years agopt.c (unify, ARRAY_TYPE): Element type can be more qualified.
Nathan Sidwell [Fri, 13 Sep 2002 21:47:22 +0000 (21:47 +0000)]
pt.c (unify, ARRAY_TYPE): Element type can be more qualified.

cp:
* pt.c (unify, ARRAY_TYPE): Element type can be more qualified.
testsuite:
* g++.dg/template/deduce1.C: New test.

From-SVN: r57120

21 years agoconfig.gcc (ia64*-*-aix*, [...]): Set extra_parts.
Steve Ellcey [Fri, 13 Sep 2002 21:12:18 +0000 (21:12 +0000)]
config.gcc (ia64*-*-aix*, [...]): Set extra_parts.

* config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
ia64*-*-linux*): Set extra_parts.
* config/ia64/t-aix (EXTRA_PARTS): Remove.
* config/ia64/t-ia64 (EXTRA_PARTS): Remove.

From-SVN: r57119

21 years agofixunssfsi.c: Replace H8/S with H8S.
Kazu Hirata [Fri, 13 Sep 2002 20:35:07 +0000 (20:35 +0000)]
fixunssfsi.c: Replace H8/S with H8S.

* config/h8300/fixunssfsi.c: Replace H8/S with H8S.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* doc/invoke.texi: Likewise.

From-SVN: r57118

21 years ago* config/h8300/h8300.c (h8300_init_once): Fix formatting.
Kazu Hirata [Fri, 13 Sep 2002 20:12:25 +0000 (20:12 +0000)]
* config/h8300/h8300.c (h8300_init_once): Fix formatting.

From-SVN: r57117

21 years agosimd-1.c: Force all use of int to 32-bit int.
Kazu Hirata [Fri, 13 Sep 2002 18:33:34 +0000 (18:33 +0000)]
simd-1.c: Force all use of int to 32-bit int.

* gcc.c-torture/execute/simd-1.c: Force all use of int to
32-bit int.

From-SVN: r57116

21 years agocp-tree.h, tree.c: New function non_cast_lvalue_p.
Matt Austern [Fri, 13 Sep 2002 18:08:16 +0000 (18:08 +0000)]
cp-tree.h, tree.c: New function non_cast_lvalue_p.

2002-09-13  Matt Austern  <austern@apple.com>
        * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
        * cp/call.c: Change call-by-const-reference mechanism to use
        non_cast_lvalue_p when deciding whether the create a temporary.
        We need a temporary when passing, e.g. (long) x by const ref.
        * testsuite/g++.dg/other/constref[12].C: New, regression tests for
        passing a cast expression to a function by const reference.

From-SVN: r57115

21 years agoalpha.md (attr type): Add callpal.
Richard Henderson [Fri, 13 Sep 2002 18:01:09 +0000 (11:01 -0700)]
alpha.md (attr type): Add callpal.

        * config/alpha/alpha.md (attr type): Add callpal.
        (imb, trap, load_tp, set_tp): Use it.
        * config/alpha/ev4.md (ev4_callpal): New.
        * config/alpha/ev5.md (ev5_callpal): New.
        * config/alpha/ev6.md (ev6_ibr): Handle callpal.
        * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
        (alphaev5_insn_pipe): Likewise.

From-SVN: r57113

21 years ago* Makefile.in (print-rtl.o): Depend on CONFIG_H.
Andreas Jaeger [Fri, 13 Sep 2002 17:19:55 +0000 (19:19 +0200)]
* Makefile.in (print-rtl.o): Depend on CONFIG_H.

From-SVN: r57111

21 years agot-hpux (LIBGCC1_TEST, [...]): New, set to NULL.
Steve Ellcey [Fri, 13 Sep 2002 16:58:27 +0000 (16:58 +0000)]
t-hpux (LIBGCC1_TEST, [...]): New, set to NULL.

* config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
LIB2ADDEH): New, set to NULL.
(SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.

From-SVN: r57110

21 years agoquadlib.c (_U_Qfcmp): Make extern.
Steve Ellcey [Fri, 13 Sep 2002 16:40:53 +0000 (16:40 +0000)]
quadlib.c (_U_Qfcmp): Make extern.

* config/ia64/quadlib.c (_U_Qfcmp): Make extern.
(_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
(_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
Add declarations.
(_U_Qfneg): Remove.

From-SVN: r57109

21 years agoh8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support for H8/300, H8/S aa:8 mode.
Dhananjay R. Deshpande [Fri, 13 Sep 2002 15:42:47 +0000 (15:42 +0000)]
h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support for H8/300, H8/S aa:8 mode.

* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
for H8/300, H8/S aa:8 mode.
(TINY_CONSTANT_ADDRESS_P): Add support for H8/S aa:16 mode.
* config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
for H8/300 aa:8 mode.

From-SVN: r57108

21 years agoDatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line.
Michael Koch [Fri, 13 Sep 2002 11:39:47 +0000 (11:39 +0000)]
DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line.

2002-09-13  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramPacket.java (DatagramPacket):
Added linebreak for 80 chars per line.
* java/net/JarURLConection.java
(getInputStream, getJarEntry): Likewise.
* java/net/SocketPermission.java
(SocketPermission class docu, implies): Likewise.
* java/net/URLClassLoader.java (findResources): Likewise.
* java/net/URLConnection.java: Reindendet remark for 80 chars per line

From-SVN: r57105

21 years agodecl.c: Fix comment formatting.
Kazu Hirata [Fri, 13 Sep 2002 11:33:47 +0000 (11:33 +0000)]
decl.c: Fix comment formatting.

* decl.c: Fix comment formatting.
* decl2.c: Likewise.

From-SVN: r57104

21 years ago* config/s390/s390.md ("trap", "conditional_trap", "*trap"): New insns.
Hartmut Penner [Fri, 13 Sep 2002 09:46:57 +0000 (09:46 +0000)]
* config/s390/s390.md ("trap", "conditional_trap", "*trap"): New insns.

From-SVN: r57102

21 years agoDatagramChannel.java, [...]: New dummy files to make java.net fully JDK 1.4 compatible
Michael Koch [Fri, 13 Sep 2002 09:02:23 +0000 (09:02 +0000)]
DatagramChannel.java, [...]: New dummy files to make java.net fully JDK 1.4 compatible

2002-09-13  Michael Koch  <konqueror@gmx.de>

* java/nio/channels/DatagramChannel.java,
java/nio/channels/ServerSocketChannel.java
java/nio/channels/SocketChannel.java:
New dummy files to make java.net fully JDK 1.4 compatible
* Makefile.am (ordinary_java_source_files): Added
java/net/DatagramSocketImplFactory.java (long forgotten),
java/nio/SocketChannel.java,
java/nio/ServerSocketChannel.java,
java/nio/DatagramChannel.java
* Makefile.in: Regenrated.

From-SVN: r57101

21 years agoDaily bump.
GCC Administrator [Fri, 13 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57099

21 years agoDaily bump.
GCC Administrator [Fri, 13 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r57098.3

21 years agoMakefile.in (HOST_PRINT): Use print-rtl1.o
Richard Henderson [Fri, 13 Sep 2002 06:28:21 +0000 (23:28 -0700)]
Makefile.in (HOST_PRINT): Use print-rtl1.o

        * Makefile.in (HOST_PRINT): Use print-rtl1.o
        (print-rtl.o): Don't define GENERATOR_FILE.
        (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
        * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
        unless GENERATOR_FILE.

From-SVN: r57092

21 years agodarwin.h (USER_LABEL_PREFIX): Define here...
Stan Shebs [Fri, 13 Sep 2002 04:00:56 +0000 (04:00 +0000)]
darwin.h (USER_LABEL_PREFIX): Define here...

        * config/darwin.h (USER_LABEL_PREFIX): Define here...
        * config/i386/darwin.h: ... instead of here.

From-SVN: r57090

21 years agotarget.h (struct gcc_target): New field terminate_dw2_eh_frame_info.
Stan Shebs [Fri, 13 Sep 2002 03:44:54 +0000 (03:44 +0000)]
target.h (struct gcc_target): New field terminate_dw2_eh_frame_info.

        * target.h (struct gcc_target): New field
        terminate_dw2_eh_frame_info.
        * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
        (TARGET_INITIALIZER): Add it.
        * dwarf2out.c (output_call_frame_info): Use target hook.
        * dwarf2asm.c (dw2_asm_output_delta): Use macro
        ASM_OUTPUT_DWARF_DELTA if defined.
        * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
        (ASM_OUTPUT_DWARF_DELTA): Ditto.
        (ASM_OUTPUT_DWARF_OFFSET): Ditto.
        (ASM_OUTPUT_DWARF_PCREL): Ditto.
        * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
        (powerpc-*-darwin*): Ditto.
        * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
        to work correctly for Darwin.
        * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
        (STARTFILE_SPEC): Add crtbegin.o.
        (ENDFILE_SPEC): Define.
        (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
        (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
        (ASM_OUTPUT_DWARF_DELTA): Define.
        (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
        * config/darwin.c (darwin_asm_output_dwarf_delta): New function.

From-SVN: r57089

21 years agors6000.c (rs6000_emit_load_toc_table): Remove "if" nesting.
Alan Modra [Fri, 13 Sep 2002 01:40:44 +0000 (01:40 +0000)]
rs6000.c (rs6000_emit_load_toc_table): Remove "if" nesting.

* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
* config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.

From-SVN: r57086

21 years agocall.c: Fix comment formatting.
Kazu Hirata [Fri, 13 Sep 2002 00:22:59 +0000 (00:22 +0000)]
call.c: Fix comment formatting.

* call.c: Fix comment formatting.
* class.c: Likewise.
* cp-lang.c: Likewise.
* cp-tree.h: Likewise.
* cvt.c: Likewise.

From-SVN: r57083

21 years agoMakefile.am (LIBTOOL): Use --tag CC always for this directory.
Benjamin Kosnik [Thu, 12 Sep 2002 23:27:30 +0000 (23:27 +0000)]
Makefile.am (LIBTOOL): Use --tag CC always for this directory.

2002-09-12  Benjamin Kosnik  <bkoz@redhat.com>

* libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
directory.
* libmath/Makefile.in: Regenerate.
* src/Makefile.am: Tweak comment.
* src/Makefile.in: Regenerate.

* config/locale/gnu/c_locale.h: Remove warnings.
Inject __uselocale into __gnu_cxx.
* config/locale/generic/c_locale.h: Match.

From-SVN: r57082

21 years agotoplev.c: Move default definition of USER_LABEL_PREFIX...
Zack Weinberg [Thu, 12 Sep 2002 22:34:08 +0000 (22:34 +0000)]
toplev.c: Move default definition of USER_LABEL_PREFIX...

* toplev.c: Move default definition of USER_LABEL_PREFIX...
* defaults.h: ... here.

From-SVN: r57081

21 years ago* vax.c: Include tree.h earlier.
Richard Henderson [Thu, 12 Sep 2002 21:05:13 +0000 (14:05 -0700)]
* vax.c: Include tree.h earlier.

From-SVN: r57080

21 years agodarwin.c (machopic_finish): Remove #if 0 chunks.
Stan Shebs [Thu, 12 Sep 2002 19:46:34 +0000 (19:46 +0000)]
darwin.c (machopic_finish): Remove #if 0 chunks.

        * config/darwin.c (machopic_finish): Remove #if 0 chunks.
        (machopic_operand_p): Ditto.

From-SVN: r57079

21 years agoarm.c (arm_compute_initial_elimination_offset): Fix a comment typo.
Kazu Hirata [Thu, 12 Sep 2002 18:25:28 +0000 (18:25 +0000)]
arm.c (arm_compute_initial_elimination_offset): Fix a comment typo.

* config/arm/arm.c (arm_compute_initial_elimination_offset):
Fix a comment typo.

From-SVN: r57078

21 years ago* toplev.c (do_abort): Fix a comment typo.
Kazu Hirata [Thu, 12 Sep 2002 18:06:31 +0000 (18:06 +0000)]
* toplev.c (do_abort): Fix a comment typo.

From-SVN: r57077

21 years agocselib.c: Fix comment formatting.
Kazu Hirata [Thu, 12 Sep 2002 17:31:41 +0000 (17:31 +0000)]
cselib.c: Fix comment formatting.

* cselib.c: Fix comment formatting.
* gengtype.c: Likewise.

From-SVN: r57076

21 years agoSmall cleanups of nil_method in sendmsg.c
Nicola Pero [Thu, 12 Sep 2002 17:30:45 +0000 (17:30 +0000)]
Small cleanups of nil_method in sendmsg.c

From-SVN: r57075

21 years agoTidied up the declaration and usage of nil_method
Nicola Pero [Thu, 12 Sep 2002 17:29:58 +0000 (17:29 +0000)]
Tidied up the declaration and usage of nil_method

From-SVN: r57074

21 years agoAdded long comments on why nil_method takes the arguments it takes and how
Nicola Pero [Thu, 12 Sep 2002 17:29:26 +0000 (17:29 +0000)]
Added long comments on why nil_method takes the arguments it takes and how
it's going to be used

From-SVN: r57073

21 years agoAdded comments to the definition of IMP
Nicola Pero [Thu, 12 Sep 2002 17:28:47 +0000 (17:28 +0000)]
Added comments to the definition of IMP

From-SVN: r57072

21 years agoh8300.md (udivmodqi4): Do not use an expander.
Kazu Hirata [Thu, 12 Sep 2002 17:15:30 +0000 (17:15 +0000)]
h8300.md (udivmodqi4): Do not use an expander.

* config/h8300/h8300.md (udivmodqi4): Do not use an expander.
(udivmodhi4): Likewise.

From-SVN: r57071

21 years agoi386.c (any_fp_register_operand, [...]): New predicate functions.
Graham Stott [Thu, 12 Sep 2002 16:33:37 +0000 (16:33 +0000)]
i386.c (any_fp_register_operand, [...]): New predicate functions.

2002-09-12  Graham Stott  <graham.stott@btinternet.com>
            Roger Sayle  <roger@eyesopen.com>

* i386.c (any_fp_register_operand, fp_register_operand,
register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
New predicate functions.
* i386-protos.h:  Add their prototypes.
* i386.h: Add them to PREDICATE_CODES.
* i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
"*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
"*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
"*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
"*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
"*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
"*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
"*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
"*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
"*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
"*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
Use these new predicates to simplify and correct the use of
FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.

Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r57068

21 years agodiagnostic.c (output_add_identifier): New fn.
Jason Merrill [Thu, 12 Sep 2002 14:23:42 +0000 (10:23 -0400)]
diagnostic.c (output_add_identifier): New fn.

        * diagnostic.c (output_add_identifier): New fn.
        * diagnostic.h: Declare it.

From-SVN: r57066

21 years agocalls.c (store_one_arg): Use size_in_bytes to determine the amount of space to push.
Jason Merrill [Thu, 12 Sep 2002 14:00:21 +0000 (10:00 -0400)]
calls.c (store_one_arg): Use size_in_bytes to determine the amount of space to push.

        * calls.c (store_one_arg): Use size_in_bytes to determine the
        amount of space to push.

From-SVN: r57064

21 years ago* config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
Jakub Jelinek [Thu, 12 Sep 2002 13:40:01 +0000 (15:40 +0200)]
* config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.

From-SVN: r57061

21 years agos390-modes.def (CCAPmode, CCANmode): New CC modes.
Ulrich Weigand [Thu, 12 Sep 2002 12:37:17 +0000 (12:37 +0000)]
s390-modes.def (CCAPmode, CCANmode): New CC modes.

* config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
* config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
(s390_select_ccmode): Likewise.
(s390_branch_condition_mask): Likewise.
(optimization_options): Do not set flag_branch_on_count.
(s390_split_branches): Handle doloop branches.
(s390_chunkify_pool): Likewise.
* config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
("doloop_end"): New expander.
("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
associated splitters): New.

From-SVN: r57060

21 years agoDaily bump.
GCC Administrator [Thu, 12 Sep 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r57056

21 years agofold-const.c (make_range): Only narrow to signed range if the signed range is smaller...
Hartmut Penner [Thu, 12 Sep 2002 06:49:26 +0000 (06:49 +0000)]
fold-const.c (make_range): Only narrow to signed range if the signed range is smaller than the unsigned range.

        * fold-const.c (make_range): Only narrow to signed range if
        the signed range is smaller than the unsigned range.

* gcc.c-torture/execute/20020911-1.c: New.

From-SVN: r57050

21 years ago2002-09-12 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 12 Sep 2002 06:35:51 +0000 (06:35 +0000)]
2002-09-12  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocketImpl.jav
(peekData): New method.
* java/net/PlainDatagramSocketImpl.java
(peekData): New method.
* java/net/natPlainDatagramSocketImpl.cc
(peekData): New method.
* java/net/URLConnection
(getPermission): New method.
(addRequestProperty): New method.
(getRequestProperties): New method.
(guessContentTypeFromStream): New method, not really implemented.
(URLConnection): Added/updated documentation.
(connect): Added/updated documentation.
(getURL): Added/updated documentation.
(getContentLength): Added/updated documentation.
(getContentType: Added/updated documentation.
(getContentEncoding): Added/updated documentation.
(getExpiration): Added/updated documentation.
(getDate): Added/updated documentation.
(getLastModified): Added/updated documentation.
(getHeaderField): Added/updated documentation.
(getHeaderFields): Added/updated documentation.
(getHeaderFieldInt): Added/updated documentation.
(getHeaderFieldDate): Added/updated documentation.
(getHeaderFieldKey): Added/updated documentation.
(getContent): Added/updated documentation.
(getInputStream): Added/updated documentation.
(getOutputStream): Added/updated documentation.
(toString): Added/updated documentation.
(setDoInput): Added/updated documentation.
(getDoInput): Added/updated documentation.
(setDoOutput): Added/updated documentation.
(getDoOutput): Added/updated documentation.
(setAllowUserInteraction): Added/updated documentation.
(getAllowUserInteraction): Added/updated documentation.
(setDefaultAllowUserInteraction): Added/updated documentation.
(getDefaultAllowUserInteraction): Added/updated documentation.
(setUseCaches): Added/updated documentation.
(getUseCaches): Added/updated documentation.
(setIfModifiedSince): Added/updated documentation.
(getIfModifiedSince): Added/updated documentation.
(getDefaultUseCaches): Added/updated documentation.
(setDefaultUseCaches): Added/updated documentation.
(setRequestProperty): Added/updated documentation.
(getRequestProperty): Added/updated documentation.
(setDefaultRequestProperty): Added/updated documentation.
(getDefaultRequestProperty): Added/updated documentation.
(setContentHandlerFactory): Added/updated documentation.

From-SVN: r57049

21 years agoemit-rtl.c (set_mem_size): New function.
Alan Modra [Thu, 12 Sep 2002 02:14:26 +0000 (02:14 +0000)]
emit-rtl.c (set_mem_size): New function.

* emit-rtl.c (set_mem_size): New function.
* expr.h (set_mem_size): Declare.
* config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
(expand_block_move): Instead, use adjust_address and
replace_equiv_address to generate proper aliasing info.
Move common code out of conditionals.  Localize vars.

From-SVN: r57047

21 years agooptabs.c (expand_binop): Minor cleanup.
Eric Botcazou [Thu, 12 Sep 2002 01:29:21 +0000 (18:29 -0700)]
optabs.c (expand_binop): Minor cleanup.

        * optabs.c (expand_binop): Minor cleanup.
        (expand_twoval_binop): Convert CONST_INTs like in expand_binop.

From-SVN: r57046

21 years ago* print-tree.c (print_node): Print the restrict qualifier.
Dan Nicolaescu [Thu, 12 Sep 2002 00:55:21 +0000 (00:55 +0000)]
* print-tree.c (print_node): Print the restrict qualifier.

From-SVN: r57045

21 years ago* splay-tree.c (splay_tree_successor): Fix comments.
Mike Stump [Thu, 12 Sep 2002 00:51:25 +0000 (00:51 +0000)]
* splay-tree.c (splay_tree_successor): Fix comments.

From-SVN: r57044

21 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 12 Sep 2002 00:40:12 +0000 (00:40 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (TEXINFO_TEX): New macro.
(info_TEXINFOS): Likewise.
(fastjar_TEXINFOS): Likewise.
(man_MANS): Likewise.
(EXTRA_DIST): Likewise.
(my_makei_flags): Likewise.
(fastjar.info): New rule.
(fastjar_TEXINFOS): Don't mention `$(srcdir)'.
(TEXINFO_TEX): Likewise.
(AUTOMAKE_OPTIONS): Added `cygnus'.

From-SVN: r57043

21 years agoinstall.texi: Fix typos.
Janis Johnson [Wed, 11 Sep 2002 22:10:10 +0000 (22:10 +0000)]
install.texi: Fix typos.

2002-09-11  Janis Johnson  <janis187@us.ibm.com>

* doc/install.texi: Fix typos.

From-SVN: r57041

21 years agoFix typo in last commit
Zack Weinberg [Wed, 11 Sep 2002 20:06:45 +0000 (20:06 +0000)]
Fix typo in last commit

From-SVN: r57038

21 years agoMakefile.in: Remove all references to s-under and underscore.c.
Zack Weinberg [Wed, 11 Sep 2002 19:58:02 +0000 (19:58 +0000)]
Makefile.in: Remove all references to s-under and underscore.c.

gcc:
* Makefile.in: Remove all references to s-under and underscore.c.
* collect2.c, tlink.c: Change all uses of prepends_underscore
to look directly at USER_LABEL_PREFIX.

gcc/cp:
* Make-lang.in: Build cp/cxxfilt.o from $(srcdir)/cp/cxxfilt.c,
and c++filt from cxxfilt.o + version.o + $(LIBDEPS).
* cxxfilt.c: New file: split from libiberty/cplus-dem.c, with
minor adjustments (use version_string, eliminate yet another
duplicate of xmalloc)

libiberty:
* cplus-dem.c: Code code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
* testsuite/Makefile.in: Adjust for test-demangle.
* testsuite/regress-demangle: Deleted.
* testsuite/test-demangle.c: New file.
* testsuite/demangle-expected: Change \$ to $ throughout, now that
this file is not being read by a shell script.

From-SVN: r57037

21 years agoparse.y (fold_constant_for_init): If a VAR_DECL, convert numerical constant to the...
Per Bothner [Wed, 11 Sep 2002 19:53:14 +0000 (12:53 -0700)]
parse.y (fold_constant_for_init): If a VAR_DECL, convert numerical constant to the type of the field.

2002-09-11  Per Bothner  <per@bothner.com>

* parse.y (fold_constant_for_init):  If a VAR_DECL, convert numerical
constant to the type of the field.
(java_complete_tree):  Remove now-redundant code.

* parse.y (fold_constant_for_init):  'null' is not a constant expr.

From-SVN: r57036

21 years agoFor PR java/5794:
Jesse Rosenstock [Wed, 11 Sep 2002 19:37:03 +0000 (19:37 +0000)]
For PR java/5794:

2002-09-03  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

For PR java/5794:
* verify.c (verify_jvm_instructions) [OPCODE_jsr]: Only push the
return label if a ret instruction for the jsr has been reached.

From-SVN: r57035