aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-09-12Makefile.am (LIBTOOL): Use --tag CC always for this directory.Benjamin Kosnik7-17/+36
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-12toplev.c: Move default definition of USER_LABEL_PREFIX...Zack Weinberg3-9/+14
* toplev.c: Move default definition of USER_LABEL_PREFIX... * defaults.h: ... here. From-SVN: r57081
2002-09-12* vax.c: Include tree.h earlier.Richard Henderson2-1/+5
From-SVN: r57080
2002-09-12darwin.c (machopic_finish): Remove #if 0 chunks.Stan Shebs2-20/+6
* config/darwin.c (machopic_finish): Remove #if 0 chunks. (machopic_operand_p): Ditto. From-SVN: r57079
2002-09-12arm.c (arm_compute_initial_elimination_offset): Fix a comment typo.Kazu Hirata2-1/+6
* config/arm/arm.c (arm_compute_initial_elimination_offset): Fix a comment typo. From-SVN: r57078
2002-09-12* toplev.c (do_abort): Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r57077
2002-09-12cselib.c: Fix comment formatting.Kazu Hirata3-2/+7
* cselib.c: Fix comment formatting. * gengtype.c: Likewise. From-SVN: r57076
2002-09-12Small cleanups of nil_method in sendmsg.cNicola Pero1-0/+7
From-SVN: r57075
2002-09-12Tidied up the declaration and usage of nil_methodNicola Pero1-3/+3
From-SVN: r57074
2002-09-12Added long comments on why nil_method takes the arguments it takes and howNicola Pero1-4/+19
it's going to be used From-SVN: r57073
2002-09-12Added comments to the definition of IMPNicola Pero1-1/+8
From-SVN: r57072
2002-09-12h8300.md (udivmodqi4): Do not use an expander.Kazu Hirata2-38/+7
* config/h8300/h8300.md (udivmodqi4): Do not use an expander. (udivmodhi4): Likewise. From-SVN: r57071
2002-09-12i386.c (any_fp_register_operand, [...]): New predicate functions.Graham Stott5-82/+147
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
2002-09-12diagnostic.c (output_add_identifier): New fn.Jason Merrill3-0/+14
* diagnostic.c (output_add_identifier): New fn. * diagnostic.h: Declare it. From-SVN: r57066
2002-09-12calls.c (store_one_arg): Use size_in_bytes to determine the amount of space ↵Jason Merrill2-6/+8
to push. * calls.c (store_one_arg): Use size_in_bytes to determine the amount of space to push. From-SVN: r57064
2002-09-12* config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.Jakub Jelinek2-1/+5
From-SVN: r57061
2002-09-12s390-modes.def (CCAPmode, CCANmode): New CC modes.Ulrich Weigand4-84/+297
* 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
2002-09-12Daily bump.GCC Administrator7-7/+7
From-SVN: r57056
2002-09-11fold-const.c (make_range): Only narrow to signed range if the signed range ↵Hartmut Penner3-3/+17
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
2002-09-122002-09-12 Michael Koch <konqueror@gmx.de>Michael Koch5-30/+408
* 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
2002-09-12emit-rtl.c (set_mem_size): New function.Alan Modra4-159/+94
* 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
2002-09-11optabs.c (expand_binop): Minor cleanup.Eric Botcazou2-14/+27
* optabs.c (expand_binop): Minor cleanup. (expand_twoval_binop): Convert CONST_INTs like in expand_binop. From-SVN: r57046
2002-09-11* print-tree.c (print_node): Print the restrict qualifier.Dan Nicolaescu2-0/+7
From-SVN: r57045
2002-09-12* splay-tree.c (splay_tree_successor): Fix comments.Mike Stump2-2/+6
From-SVN: r57044
2002-09-12Makefile.in: Rebuilt.Tom Tromey4-27/+288
* 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
2002-09-11install.texi: Fix typos.Janis Johnson2-2/+6
2002-09-11 Janis Johnson <janis187@us.ibm.com> * doc/install.texi: Fix typos. From-SVN: r57041
2002-09-11Fix typo in last commitZack Weinberg1-1/+1
From-SVN: r57038
2002-09-11Makefile.in: Remove all references to s-under and underscore.c.Zack Weinberg13-430/+539
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
2002-09-11parse.y (fold_constant_for_init): If a VAR_DECL, convert numerical constant ↵Per Bothner2-16/+15
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
2002-09-11For PR java/5794:Jesse Rosenstock2-2/+9
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
2002-09-11rs6000.c (rs6000_xcoff_asm_named_section): Append alignment to csect.David Edelsohn3-9/+30
* config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append alignment to csect. (rs6000_xcoff_unique_section): Only set section name for public data. (rs6000_xcoff_section_type_flags): Store log2 alignment in flags. * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove duplicate definition. From-SVN: r57034
2002-09-112002-09-11 Michael Koch <konqueror@gmx.de>Michael Koch3-5/+268
* java/net/Socket.java (Socket): protected to public (since JDK 1.4). Added @specnote. (bind): New method. (connect): Two new methods. (getKeepalive): Get correct socket option. (setKeepalive): Set correct socket option. (getOOBInline): New method. (setOOBInline): New method. * java/net/ServerSocket.java (bind): Two new methods. (getInetAddress): Reimplemented, catch exception. (getLocalSocketAddress): New method. (setReuseAddress): New method. (getReuseAdress): New method. (setReceiveBufferSize): New method. (getReceiveBufferSize): New method. (toString): Made string JDK 1.4 compliant. From-SVN: r57032
2002-09-11Daily bump.GCC Administrator7-7/+7
From-SVN: r57028
2002-09-11Makefile.am: Revert the previous patch.Matthias Klose3-209/+26
2002-09-11 Matthias Klose <doko@debian.org> * Makefile.am: Revert the previous patch. * Makefile.in: Regenerated. From-SVN: r57022
2002-09-11[multiple changes]Benjamin Kosnik4-40/+78
2002-09-11 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.tcc (__convert_from_v): Remove. * config/locale/gnu/c_locale.h (__convert_from_v): Add. * config/locale/generic/c_locale.h (__convert_from_v): Add. 2002-09-11 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (__convert_from_v): Use __uselocale instead of setlocale for glibc 2.3+. From-SVN: r57021
2002-09-11Makefile.am (sources): Edit.Benjamin Kosnik19-1559/+1863
2002-09-10 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (sources): Edit. (target_sources): New. (target_sources_extra): New. * src/Makefile.in: Regenerate. * acinclude.m4: Set CCODECVT_CC. * aclocal.m4: Regenerate. * configure: Regenerate. * src/locale.cc: Move ctype definitions... * src/ctype.cc: ...here. New file. * src/locale.cc: Move codecvt definitions... * src/codecvt.cc: ...here. * config/generic/codecvt_members.cc: ...and here. * config/gnu/codecvt_members.cc: ...and here. * include/bits/codecvt.h: Tweak. * include/bits/locale_facets: Tweak. * src/bitset.cc: Correct license text. * src/concept-inst.cc: Same. * src/strstream.cc: Same. * src/vterminate.cc: Same. From-SVN: r57020
2002-09-11pa.md (extzv): Check predicates before emitting extzv_32.John David Anglin2-4/+19
* pa.md (extzv): Check predicates before emitting extzv_32. (insv): Likewise. From-SVN: r57018
2002-09-10stl_vector.h (vector<>): Don't use a name with different meanings before and ↵Gabriel Dos Reis7-12/+23
after re-evaluation in the... 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net> * include/bits/stl_vector.h (vector<>): Don't use a name with different meanings before and after re-evaluation in the completed scope. * include/bits/basic_string.h (basic_string<>): Likewise. * include/bits/stl_bvector.h (vector<bool>): Likewise. * include/bits/stl_deque.h (std): Likewise. * include/bits/stl_list.h (list<>): Likewise. * include/bits/stl_tree.h (_Rb_tree<>): Likewise. From-SVN: r57014
2002-09-10fastjar.texi: New.Matthias Klose7-166/+639
2002-09-10 Matthias Klose <doko@debian.org> * fastjar.texi: New. * Makefile.am: Support building info docs and manpages. * Makefile.in: Regenerated. * configure.in: Set gcc_version. * configure: Regenerated. * jargrep.c: Update usage and help strings. From-SVN: r57013
2002-09-10struct-ret-1.c: Add prototype for exit function and correct usage.John David Anglin2-1/+7
* gcc.dg/struct-ret-1.c: Add prototype for exit function and correct usage. From-SVN: r57012
2002-09-10codecvt.h (class __codecvt_abstract_base): Add __c_locale type ↵Paolo Carlini4-9/+75
_M_c_locale_codecvt member. 2002-09-10 Paolo Carlini <pcarlini@unitus.it> * include/bits/codecvt.h (class __codecvt_abstract_base): Add __c_locale type _M_c_locale_codecvt member. (class codecvt<char, char, mbstate_t>, class codecvt<wchar_t, char, mbstate_t>): Add new codecvt(__c_locale, size_t) constructor. (codecvt_byname::codecvt_byname): Update. * src/codecvt.cc (class codecvt<char, char, mbstate_t>, class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t) constructor and ~codecvt() destructor; define codecvt(__c_locale, size_t) constructor. (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call. (codecvt::do_in): Ditto for mbsrtowcs call. * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)): Tweak construction of codecvt facets. From-SVN: r57011
2002-09-10s390.h (MOVE_MAX): Define to correct value.Ulrich Weigand2-3/+23
* config/s390/s390.h (MOVE_MAX): Define to correct value. (MAX_MOVE_MAX): Define. (MOVE_BY_PIECES_P): Define. (CLEAR_BY_PIECES_P): Define. From-SVN: r57010
2002-09-102002-09-10 Michael Koch <konqueror@gmx.de>Michael Koch4-12/+118
* java/net/SocketImpl.java (connect): New method. (supportsUrgentData): New method. (sendUrgentData): New method. * java/net/PlainSocketImpl.java (connect): One new method and two new implementation. (sendUrgentData): New method. * java/natPlainSocketImpl.cc (connect): Arguments changed, added support for timeouts. (getOption): Another __java_boolean to jboolean. From-SVN: r57009
2002-09-10* config/avr/avr.md (movstrhi): Use right operands for conversion.Denis Chertykov2-3/+8
From-SVN: r57008
2002-09-10* gcc.c-torture/compile/20020910-1.c: New test.Richard Earnshaw2-0/+18
From-SVN: r57007
2002-09-10re PR c/7873 (arm-linux-gcc fails when assigning address to a bit field)Richard Earnshaw2-1/+6
PR c/7873 * arm.md (insv): Use reg_or_int_operand for operand[3]. From-SVN: r57006
2002-09-10rs6000.c (rs6000_assemble_visibility): Protect declaration inside macro.David Edelsohn4-39/+40
* rs6000.c (rs6000_assemble_visibility): Protect declaration inside macro. Correct function definition typo. (rs6000_xcoff_section_type_flags): New function. (TARGET_SECTION_TYPE_FLAGS): Remove definition. (rs6000_elf_section_type_flags): Call default_section_type_flags_1 with appropriate PIC test. (rs6000_xcoff_select_section): Use decl_readonly_section_1 to determine readonly. (rs6000_binds_local_p): Combine PIC flags. * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define. * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define. From-SVN: r57005
2002-09-10Fix entry.Andreas Jaeger1-1/+2
From-SVN: r57004
2002-09-1020010915-1.c: Correct typo in abort call.Frank Ch. Eigler1-0/+4
2002-09-10 Frank Ch. Eigler <fche@redhat.com> * gcc.c-torture/execute/20010915-1.c: Correct typo in abort call. From-SVN: r57003
2002-09-10* approved by rthFrank Ch. Eigler1-1/+1
2002-09-10 Frank Ch. Eigler <fche@redhat.com> * gcc.c-torture/execute/20010915-1.c: Correct typo in abort call. From-SVN: r57002