Commit Graph

45271 Commits

Author SHA1 Message Date
Nathan Sidwell
c8460010fa 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
2002-09-14 23:19:48 +00:00
Adam Megacz
981f97c364 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
2002-09-14 21:56:44 +00:00
Marek Michalkiewicz
3eaf7a3ce7 * config/avr/avr.c (output.h): Move after inclusion of tree.h.
From-SVN: r57149
2002-09-14 20:24:49 +00:00
Kazu Hirata
4912a07c88 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
2002-09-14 15:51:45 +00:00
Kazu Hirata
3dc60fc754 * loop.c: Fix a comment typo.
From-SVN: r57145
2002-09-14 14:00:16 +00:00
Kazu Hirata
a920aefe8d 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
2002-09-14 13:39:55 +00:00
Kazu Hirata
88cad84baf 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
2002-09-14 13:12:56 +00:00
Tim Prince
958a4e4eee 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
2002-09-14 12:50:40 +00:00
Kazu Hirata
c1b8db3f83 * MAINTAINERS: Update my email address.
From-SVN: r57140
2002-09-14 12:21:49 +00:00
Kazu Hirata
c600262528 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
2002-09-14 12:07:44 +00:00
Stephane Carrez
f197f1cff9 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
2002-09-14 14:04:45 +02:00
Alan Modra
b629ba0c13 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
2002-09-14 17:37:58 +09:30
Theodore A. Roth
2e4851293a * gcc/config/avr/avr.h: Set default options for C++ for avr.
From-SVN: r57134
2002-09-14 12:03:16 +04:00
GCC Administrator
44ff054ed5 Daily bump.
From-SVN: r57133
2002-09-14 07:17:12 +00:00
Alan Modra
62dfe763cb * gcc.c-torture/execute/struct-cpy-1.c: New test.
From-SVN: r57126
2002-09-14 10:14:22 +09:30
Phil Edwards
61e6e65a6a [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
2002-09-14 00:35:18 +00:00
Richard Henderson
907aee69e2 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
2002-09-13 16:40:27 -07:00
Alan Modra
374b0b7d0c 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
2002-09-14 08:59:58 +09:30
Nathan Sidwell
690eed2ccf * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
From-SVN: r57121
2002-09-13 21:54:10 +00:00
Nathan Sidwell
712467a4c9 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
2002-09-13 21:47:22 +00:00
Steve Ellcey
32b4f6f42a 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
2002-09-13 21:12:18 +00:00
Kazu Hirata
3db11b5c9f 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
2002-09-13 20:35:07 +00:00
Kazu Hirata
b6894857d3 * config/h8300/h8300.c (h8300_init_once): Fix formatting.
From-SVN: r57117
2002-09-13 20:12:25 +00:00
Kazu Hirata
b5fc646f63 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
2002-09-13 18:33:34 +00:00
Matt Austern
6c6e776d78 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
2002-09-13 18:08:16 +00:00
Richard Henderson
d5909a7963 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
2002-09-13 11:01:09 -07:00
Andreas Jaeger
e0073fa817 * Makefile.in (print-rtl.o): Depend on CONFIG_H.
From-SVN: r57111
2002-09-13 19:19:55 +02:00
Steve Ellcey
1f29862567 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
2002-09-13 16:58:27 +00:00
Steve Ellcey
1a7e147025 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
2002-09-13 16:40:53 +00:00
Dhananjay R. Deshpande
d56c04ce52 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
2002-09-13 15:42:47 +00:00
Michael Koch
69aeba4ed0 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
2002-09-13 11:39:47 +00:00
Kazu Hirata
a1c65f9f4f decl.c: Fix comment formatting.
* decl.c: Fix comment formatting.
	* decl2.c: Likewise.

From-SVN: r57104
2002-09-13 11:33:47 +00:00
Hartmut Penner
4456530dac * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New insns.
From-SVN: r57102
2002-09-13 09:46:57 +00:00
Michael Koch
8764acde96 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
2002-09-13 09:02:23 +00:00
GCC Administrator
a1edfd70e8 Daily bump.
From-SVN: r57099
2002-09-13 07:17:10 +00:00
GCC Administrator
087f5e5a79 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r57098.3
2002-09-13 07:17:09 +00:00
Richard Henderson
4d2d910c10 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
2002-09-12 23:28:21 -07:00
Stan Shebs
6ab9a3f4a8 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
2002-09-13 04:00:56 +00:00
Stan Shebs
7606e68f7b 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
2002-09-13 03:44:54 +00:00
Alan Modra
20b71b177f 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
2002-09-13 11:10:44 +09:30
Kazu Hirata
00a17e31a6 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
2002-09-13 00:22:59 +00:00
Benjamin Kosnik
714e9334c4 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
2002-09-12 23:27:30 +00:00
Zack Weinberg
d48fd218f9 toplev.c: Move default definition of USER_LABEL_PREFIX...
* toplev.c: Move default definition of USER_LABEL_PREFIX...
	* defaults.h: ... here.

From-SVN: r57081
2002-09-12 22:34:08 +00:00
Richard Henderson
92bc3c1a9a * vax.c: Include tree.h earlier.
From-SVN: r57080
2002-09-12 14:05:13 -07:00
Stan Shebs
3f64e54373 darwin.c (machopic_finish): Remove #if 0 chunks.
* config/darwin.c (machopic_finish): Remove #if 0 chunks.
        (machopic_operand_p): Ditto.

From-SVN: r57079
2002-09-12 19:46:34 +00:00
Kazu Hirata
52bd31bbf7 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
2002-09-12 18:25:28 +00:00
Kazu Hirata
387c92949f * toplev.c (do_abort): Fix a comment typo.
From-SVN: r57077
2002-09-12 18:06:31 +00:00
Kazu Hirata
e34bb0042e cselib.c: Fix comment formatting.
* cselib.c: Fix comment formatting.
	* gengtype.c: Likewise.

From-SVN: r57076
2002-09-12 17:31:41 +00:00
Nicola Pero
c2a68741db Small cleanups of nil_method in sendmsg.c
From-SVN: r57075
2002-09-12 17:30:45 +00:00
Nicola Pero
faaa30fe92 Tidied up the declaration and usage of nil_method
From-SVN: r57074
2002-09-12 17:29:58 +00:00