aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-12-20pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA 2.0 code.John David Anglin3-78/+183
* pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA 2.0 code. (TRAMPOLINE_CODE_SIZE, MIN_CACHELINE_SIZE): New defines. (INITIALIZE_TRAMPOLINE): Rework to pass line length, and aligned start and end addresses to I and D cache instruction patterns. * pa.md (anddi3, iordi3): Change predicates of operands 1 and 2 to and_operand and ior_operand, respectively. When generating 64-bit code, only one operand needs to be a register operand. (xordi3): Change predicates of operands 1 and 2 to register_operand. (one_cmpldi2): Change predicate of operand 1 to register_operand. (dcacheflush, icacheflush): Revise to flush an arbitrary number of cache lines. From-SVN: r74888
2003-12-20PR optimization/13430, PR optimization/12322Josef Zlomek2-0/+21
PR optimization/13430, PR optimization/12322 * bb-reorder.c (copy_bb_p): Do not allow block with many successors to be copied. (find_traces_1_round): Surround check for fake edges by #ifdef ENABLE_CHECKING #endif. From-SVN: r74887
2003-12-20New file for the darwin_private_extern fixBruce Korb1-0/+17
From-SVN: r74886
2003-12-20cp-demangle.c (d_identifier): In Java mode, skip an optional '$' after the ↵Ian Lance Taylor3-0/+17
identifier. * cp-demangle.c (d_identifier): In Java mode, skip an optional '$' after the identifier. * testsuite/demangle-expected: Add test case. From-SVN: r74885
2003-12-20TODO: Update.Jerry Quinn4-4/+210
2003-12-20 Jerry Quinn <jlquinn@optonline.net> * docs/doxygen/TODO: Update. * include/bits/locale_classes.h (locale, facet, id): Document. * include/bits/locale_facets.tcc (has_facet, use_facet): Document. From-SVN: r74884
2003-12-20Keep inclhack.def sortable.Bruce Korb1-2/+4
Keep inclhack.def sortable. The segmentation is based on lines containing only a slash and an asterisk From-SVN: r74883
2003-12-20class.c: Remove uses of "register" specifier in declarations of arguments ↵Kazu Hirata13-42/+58
and local... * class.c: Remove uses of "register" specifier in declarations of arguments and local variables. * decl.c: Likewise. * expr.c: Likewise. * gjavah.c: Likewise. * jcf-dump.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * jcf-write.c: Likewise. * keyword.h: Likewise. * parse.y: Likewise. * typeck.c: Likewise. * verify.c: Likewise. From-SVN: r74882
2003-12-20trans.c: Remove uses of "register" specifier in declarations of local variables.Kazu Hirata2-6/+11
* trans.c: Remove uses of "register" specifier in declarations of local variables. From-SVN: r74880
2003-12-20* gnu/java/nio/SelectorImpl.javaMohan Embar3-81/+247
(selectThreadMutex): New field. (selectThread): New field. (unhandledWakeup): New field. (implCloseSelector): Added skeleton code which synchronizes as per Sun JRE JavaDoc. (keys): Throw ClosedSelectorException if selector is closed. (selectNow): Added comment that we're faking out an immediate select with a one-microsecond-timeout one. (select): Use 0 instead of -1 for infinite timeout. (implSelect): Changed comment in declaration. (select): Added synchronized to method declaration. Added synchronization and wakeup support as per Sun JRE JavaDoc. (selectedKeys): Throw ClosedSelectorException if selector is closed. (wakeup): Implemented. (deregisterCancelledKeys): Synchronize on cancelled key set before deregistering. (register): Synchronize on key set before registering. * java/nio/channels/spi/AbstractSelector.java Added import for java.nio.channels.ClosedSelectorException. (close): Added synchronized to method declaration. (cancelledKeys): Throw ClosedSelectorException if selector is closed. (cancelKey): Synchronize on cancelled key set before key. From-SVN: r74879
2003-12-20Makefile.am (ordinary_java_source_files): Added gnu.java.net.URLParseError.java.Michael Koch3-1/+9
2003-12-20 Michael Koch <konqueror@gmx.de> * Makefile.am (ordinary_java_source_files): Added gnu.java.net.URLParseError.java. * Makefile.in: Regenerated. From-SVN: r74878
2003-12-20URLParseError.java: New file.Guilhem Lavaux4-8/+99
2003-12-20 Guilhem Lavaux <guilhem@kaffe.org> * gnu/java/net/URLParseError.java: New file. * gnu/java/net/protocol/jar/Handler.java (parseURL): Throw URLParseError if needed, fix '/' handling. * java/net/URL.java (URL): Catch URLParseError and transform it into a MalformedURLException. From-SVN: r74877
2003-12-20re PR other/7956 (unreadable error on -m64 with --disable-multilib)Eric Botcazou5-1/+51
PR other/7956 * genmultilib: New variable disable_multilib. Set it to 'yes' if enable_multilib was set to 'no'. Emit DISABLE_MULTILIB if disable_multilib was set to 'yes'. * gcc.c: Include multilib.h before tm.h. * config/sparc/sol2-bi.h (LINK_ARCH_SPEC): Emit an error message for multiarch options if DISABLE_MULTILIB is set. * config/sparc/sol2-gld-bi.h (LINK_ARCH_SPEC): Likewise. From-SVN: r74875
2003-12-20re PR c/12085 (Internal compiler error in convert_move, at expr.c:504 with ↵Eric Botcazou4-0/+102
-O3 flag) PR c/12085 * c-typeck.c (build_function_call): Issue a warning if a function is called through an incompatible prototype and replace the call by a trap in this case. From-SVN: r74874
2003-12-19install.texi (ia64-*-linux): Document minimum libunwind version number.James E Wilson2-0/+8
* install.texi (ia64-*-linux): Document minimum libunwind version number. From-SVN: r74873
2003-12-19re PR c/13110 (error message includes extra blank line)Per Bothner3-1/+7
* langhooks.c (lhd_print_error_function): Fix for PR c/13110. Don't do pp_newline; it causes an extra blank line. * pretty-print.c (pp_base_flush): Clear pp_needs_newline. From-SVN: r74872
2003-12-19tree.c (get_unwidened): Decide whether to narrow a bitfield reference based ↵Jason Merrill5-2/+26
on TYPE_SIZE... * tree.c (get_unwidened): Decide whether to narrow a bitfield reference based on TYPE_SIZE, not TYPE_PRECISION. * cp/cvt.c (convert_to_void): Don't warn about the RHS of a comma being useless if TREE_NO_UNUSED_WARNING is set. * stmt.c (parse_output_constraint): Warn about in-out constraint that doesn't allow a register. (parse_input_constraint): Warn about matching constraint that doesn't allow a register. From-SVN: r74871
2003-12-19atomicity.h: Remove memory clobbers.Jason Merrill8-43/+47
* config/cpu/cris/atomicity.h: Remove memory clobbers. * config/cpu/mips/atomicity.h: Likewise. * config/cpu/i486/atomicity.h: Remove memory clobbers. Split up read-write memory operand. * config/cpu/m68k/atomicity.h: Likewise. * config/cpu/powerpc/atomicity.h: Make memory I/O explicit. * config/cpu/s390/atomicity.h: Likewise. * config/cpu/sparc/atomicity.h: Likewise. From-SVN: r74870
2003-12-19Patch for asm clobber of fp.James E Wilson3-1/+20
* flow.c (mark_set_regs, case PARALLEL): Scan loop forwards. Add case for ASM_OPERANDS. * global.c (global_alloc): Set regs_ever_live for regs_asm_clobbered registers. From-SVN: r74869
2003-12-20expr.c (check_max_integer_computation_mode): Remove.Kazu Hirata6-114/+9
* expr.c (check_max_integer_computation_mode): Remove. * dojump.c (do_jump): Don't use MAX_INTEGER_COMPUTATION_MODE. * fold-const.c (fold): Likewise. * system.h (MAX_INTEGER_COMPUTATION_MODE): Poison. * doc/tm.texi (MAX_INTEGER_COMPUTATION_MODE): Remove. From-SVN: r74868
2003-12-19Fix typo in name.Jim Wilson1-1/+1
From-SVN: r74866
2003-12-19Drop test for libunwind 0.95 and earlier.James E Wilson5-124/+79
* configure.in: Delete libunwind_has_eh_support test. * configure: Regenerate. * config.gcc (ia64*-*-linux*): Delete reference to t-libunwind-no-eh and libunwind_has_eh_support check. * config/t-libunwind-no-eh: Delete. From-SVN: r74865
2003-12-20Daily bump.GCC Administrator2-2/+2
From-SVN: r74863
2003-12-20c-format.c (print_char_table): Allow 'I' flag on floating point decimal formats.Joseph Myers4-21/+31
* c-format.c (print_char_table): Allow 'I' flag on floating point decimal formats. testsuite: * gcc.dg/format/ext-1.c: Allow 'I' flag on floating point decimal formats. From-SVN: r74860
2003-12-19i386.c (ix86_expand_call, [...]): Trivial fixes for i386.c on Darwin/x86.Stuart Hastings2-2/+7
* gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk): Trivial fixes for i386.c on Darwin/x86. From-SVN: r74859
2003-12-19Test to test -mdynamic-no-pic -O2 -mpowerpc64 on Darwin.Fariborz Jahanian1-0/+29
From-SVN: r74858
2003-12-19Added code to recognize macho-style lo_sum adrress patterns.Fariborz Jahanian1-0/+4
From-SVN: r74857
2003-12-19Added TARGET_MACHO to handle lo_sum address recognition.Fariborz Jahanian1-1/+1
Reviewed by Geoff. From-SVN: r74856
2003-12-19cvt.c: Remove uses of "register" specifier in declarations of arguments and ↵Kazu Hirata13-110/+123
local... * cvt.c: Remove uses of "register" specifier in declarations of arguments and local variables. * decl.c: Likewise. * decl2.c: Likewise. * expr.c: Likewise. * friend.c: Likewise. * lex.c: Likewise. * name-lookup.c: Likewise. * repo.c: Likewise. * search.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. From-SVN: r74855
2003-12-19dwarfout.c: Remove uses of "register" specifier in declarations of arguments ↵Kazu Hirata5-24/+19
and local... * dwarfout.c: Remove uses of "register" specifier in declarations of arguments and local variables. * gensupport.c: Likewise. * local-alloc.c: Likewise. * regclass.c: Likewise. From-SVN: r74854
2003-12-19* bits/demangle.hCarlo Wood2-2/+13
namespace __gnu_cxx::demangler (session<Allocator>::decode_encoding): Put the postfix of the return type of (member) functions after the function instead of after the return type. From-SVN: r74853
2003-12-19config.guess: Remove.Kelley Cook2-4/+4
2003-12-19 Kelley Cook <kelleycook@wideopenwest.com> * config.guess: Remove. From-SVN: r74852
2003-12-19* de.po: Update.Joseph Myers2-245/+246
From-SVN: r74851
2003-12-19re PR c++/13447 (Another demangler problem with method cv-qualifiers)Ian Lance Taylor3-10/+120
Fix for PR c++/13447: * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME. (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME. (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like D_COMP_QUAL_NAME. (is_ctor_or_dtor): Likewise. (d_local_name): Use D_COMP_LOCAL_NAME rather than D_COMP_QUAL_NAME. (d_print_comp) [D_COMP_LOCAL_NAME]: New. (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree. (d_print_mod_list): Handle D_COMP_LOCAL_NAME. * testsuite/demangle-expected: Add two test cases. * cp-demangle.c (d_print_function_type): Clear the global modifier list when printing the modifiers, not just when printing the function parameters. * testsuite/demangle-expected: Add two test cases. From-SVN: r74850
2003-12-19re PR c++/12795 (ICE with attribute __alias__)Mark Mitchell4-1/+19
PR c++/12795 * name-lookup.c (pushdecl): Do not treated any functions as being "nested" in C++. PR c++/12795 * g++.dg/ext/attrib10.C: New test. From-SVN: r74849
2003-12-192003-12-19 Jerry Quinn <jlquinn@optonline.net>Jerry Quinn2-5/+933
* include/bits/locale_facet.h (__ctype_abstract_base,ctype<charT>,ctype<char>,ctype<wchar_t>): Document. From-SVN: r74848
2003-12-19ChannelOutputStream.java: New file.Michael Koch5-2/+82
2003-12-19 Michael Koch <konqueror@gmx.de> * gnu/java/nio/ChannelOutputStream.java: New file. * java/nio/channels/Channels.java (newOutputStream): Implemented. * Makefile.am (ordinary_java_source_files) Added gnu/java/nio/ChannelOutputStream.java. * Makefile.in: Regenerated. From-SVN: r74847
2003-12-19re PR c++/13371 (infinite loop with packed struct and inlining)Jason Merrill3-5/+49
PR c++/13371 * typeck.c (build_modify_expr): Stabilize lhs if we're narrowing. From-SVN: r74846
2003-12-19FlowLayout.java (layoutContainer): Let components assume their preferred height.Thomas Fitzsimmons2-1/+7
2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com> * java/awt/FlowLayout.java (layoutContainer): Let components assume their preferred height. Centre components vertically. From-SVN: r74844
2003-12-19ChannelInputStream.java: New file.Michael Koch6-3/+98
2003-12-19 Michael Koch <konqueror@gmx.de> * gnu/java/nio/ChannelInputStream.java: New file. * java/nio/channels/Channels.java (newInputStream): Implemented. * java/nio/channels/FileChannelImpl.java (readImpl): Only put data into buffer if something was read. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/ChannelInputStream.java. * Makefile.in: Regenerated. From-SVN: r74842
2003-12-19locale_facets.tcc (num_get::_M_extract_int, [...]): According to 22.2.2.1.2, ↵Paolo Carlini4-50/+198
p8-9, first look for decimal_point and thousands_sep. 2003-12-19 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get::_M_extract_int, num_get::_M_extract_float): According to 22.2.2.1.2, p8-9, first look for decimal_point and thousands_sep. * testsuite/22_locale/num_get/get/char/11.cc: New. * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise. From-SVN: r74841
2003-12-19OutputStreamChannel.java: New file.Michael Koch5-4/+102
2003-12-19 Michael Koch <konqueror@gmx.de> * gnu/java/nio/OutputStreamChannel.java: New file. * java/nio/channels/Channels.java (newChannel): Implemented. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/OutputStreamChannel.java. * Makefile.in: Regenerated. From-SVN: r74840
2003-12-19Makefile.am (ordinary_java_source_files): Added gnu.java.nio.InputStreamChannel.Michael Koch3-1/+11
2003-12-19 Michael Koch <konqueror@gmx.de> * Makefile.am (ordinary_java_source_files): Added gnu.java.nio.InputStreamChannel. * Makefile.in: Regenerated. From-SVN: r74839
2003-12-19InputStreamChannel.java: New file.Michael Koch3-3/+97
2003-12-19 Michael Koch <konqueror@gmx.de> * gnu/java/nio/InputStreamChannel.java: New file. * java/nio/channels/Channels.java (newChannel): Implemented. From-SVN: r74838
2003-12-19fibheap.h (fibnode): Use __extension__ for bit-fields mark and degree if ↵Andreas Tobler2-2/+7
__GNUC__. * include/fibheap.h (fibnode): Use __extension__ for bit-fields mark and degree if __GNUC__. From-SVN: r74836
2003-12-19unwind-ia64.c (ia64_copy_rbs): New function.Jakub Jelinek6-16/+386
* config/ia64/unwind-ia64.c (ia64_copy_rbs): New function. (unw_access_gr): Only call ia64_rse_rnat_addr if addr is above regstk_top. (uw_frame_state_for): Handle locations inside bundles. (uw_init_context_1): Initialize context->rnat. Set context->regstk_top to lowest rbs address which has nat collection in context->rnat. (uw_install_context): Fix rnat restoring. Restore ar.rsc to previous state. * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR, MD_HANDLE_UNWABI): Handle unwinding through SA_ONSTACK frames. * gcc.dg/cleanup-10.c: New test. * gcc.dg/cleanup-11.c: New test. From-SVN: r74835
2003-12-19re PR c++/13239 (Assertion does not seem to work correctly anymore)Jakub Jelinek4-0/+37
PR c++/13239 * builtins.c (expand_builtin_expect_jump): Update TREE_VALUE (arglist) if unsave_expr_now langhook created a new tree. * g++.dg/opt/expect1.C: New test. From-SVN: r74832
2003-12-192003-12-19 Michael Koch <konqueror@gmx.de>Michael Koch2-7/+33
* java/util/SimpleTimeZone.java (setStartRule): Reformated documentation. (setEndRule): Reworked documentation. (getDSTSavings): Fixed @since tag. (setDSTSavings): New method. From-SVN: r74831
2003-12-19NumberFormat.java: Sorted imports.Michael Koch2-5/+53
2003-12-19 Michael Koch <konqueror@gmx.de> * java/text/NumberFormat.java: Sorted imports. (getCurrency): New method. (setCurrency): New method. From-SVN: r74830
2003-12-19arm.c (thumb_base_register_rtx_p): Use regno in comparison against ↵Richard Earnshaw2-2/+7
FIRST_PSEUDO_REGISTER. * arm.c (thumb_base_register_rtx_p): Use regno in comparison against FIRST_PSEUDO_REGISTER. From-SVN: r74829
2003-12-192003-12-19 Michael Koch <konqueror@gmx.de>Michael Koch2-3/+22
* java/text/MessageFormat.java (MessageFormat): New constructor. From-SVN: r74828