- 25 Nov, 2003 9 commits
-
-
* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to d_demangle. From-SVN: r73931
Ian Lance Taylor committed -
2003-11-25 Michael Koch <konqueror@gmx.de> * gcj/javaprims.h: Added missing java.util.Currency. From-SVN: r73927
Michael Koch committed -
Fix PR java/13183. * constants.c (cpool_for_class): New function. (outgoing_cpool): Remove global variable. (alloc_name_constant): Use cpool_for_class. (build_constants_constructor): Likewise. * decl.c (java_expand_body): Set current_class. * java-tree.h (outgoing_cpool) Remove declaration. (init_outgoing_cpool): Likewise. * jcf-parse.c (init_outgoing_cpool): Remove function. (parse_class_file): Don't call init_outgoing_cpool. * parse.y (java_complete_expand_methods): Don't call init_outgoing_cpool. Don't save outgoing_cpool. (java_expand_classes): Don't restore outgoing_cpool. (java_finish_classes): Likewise. From-SVN: r73926
Jeff Sturm committed -
Make-lang.in (treelang.tags): Create TAGS.sub files in each directory and TAGS files that include them for... * Make-lang.in (treelang.tags): Create TAGS.sub files in each directory and TAGS files that include them for each front end. From-SVN: r73921
Jason Merrill committed -
2003-11-25 Michael Koch <konqueror@gmx.de> * testsuite/libjava.mauve/xfails: Removed these two tests, they mystically pass now: -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error : test_params failed - 5getInetAddress did not return proper values (number 1) -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error : test_BasicServer failed - 11 exception was thrown :Illegal seek (number 1) From-SVN: r73919
Michael Koch committed -
* java/net/DatagramSocket.java (factory): Made private. (closed): Removed. (DatagramSocket): Check impl argument, use constructor with SocketAddress argument. (close): Set impl to null, use isClosed(). (isClosed): Check for impl == null. (getLocalAddress): Use isClosed(). (getLocalPort): Check if socket is closed. (getSoTimeout): Likewise. (setSoTimeout): Likewise. (getSendBufferSize): Likewise. (setSendBufferSize): Likewise. (getReceiveBufferSize): Likewise. (setReceiveBufferSize): Likewise. (receive): Likewise. (send): Likewise. (bind): Likewise. (connect): Likewise. (setReuseAddress): Likewise. (getReuseAddress): Likewise. (setBroadcast): Likewise. (getBroadcast): Likewise. (setTrafficClass): Likewise. (getTrafficClass): Likewise. * java/net/MulticastSocket.java (getInterface): Check if socket is closed. (getTTL): Likewise. (getTimeToLive): Likewise. (setInterface): Likewise. (setNetworkInterface): Likewise. (getNetworkInterface): Likewise. (setLoopbackMode): Likewise. (setTTL): Likewise. (setTimeToLive): Likewise. (joinGroup): Likewise. (leaveGroup): Likewise. (send): Likewise. * java/net/ServerSocket.java (closed): Removed. (close): Check if socket is closed, set impl to null. (isClosed): Check impl == null; (ServerSocket): Check impl argument. (getInetAddress): Check if socket is bound. (getLocalPort): Likewise. (getLocalSocketAddress): Likewise. (bind): Check if socket is closed. (implAccept): Likewise. (setSoTimeout): Likewise. (getSoTimeout): Likewise. (setReuseAddress): Likewise. (getReuseAddress): Likewise. (setReceiveBufferSize): Likewise. (getReceiveBufferSize): Likewise. (toString): Make output compliant to JDK 1.4.2. * java/net/Socket.java (closed): Removed. (Socket): Fixed documentation. (connect): Check if socket is closed, changed exception text, fixed documentation. (getInputStream): Check of socket is closed and connected. (getOutputStream): Likewise. (bind): Check if socket is closed. (setTcpNoDelay): Likewise. (getTcpNoDelay): Likewise. (setSoLinger): Likewise. (getSoLinger): Likewise. (sendUrgentData): Likewise. (setOOBInline): Likewise. (getOOBInline): Likewise. (setSoTimeout): Likewise. (getSoTimeout): Likewise. (setSendBufferSize): Likewise. (getSendBufferSize): Likewise. (setReceiveBufferSize): Likewise. (getReceiveBufferSize): Likewise. (setKeepAlive): Likewise. (getKeepAlive): Likewise. (close): Likewise. (shutdownInput): Likewise. (shutdownOutput): Likewise. (getReuseAddress): Likewise. (getTrafficClass): Likewise. (setTrafficClass): Likewise. (isClosed): Check impl == null. (toString): Added missing ']'. From-SVN: r73918
Michael Koch committed -
From-SVN: r73915
Andreas Jaeger committed -
* Makefile.in: Rebuilt. * Makefile.am (propdir): New macro. (install-data-local): Install logging.properties. (core_java_source_files): Added java.util.logging.*. * java/util/logging/logging.properties: New file. From-SVN: r73907
Tom Tromey committed -
From-SVN: r73905
GCC Administrator committed
-
- 24 Nov, 2003 23 commits
-
-
* java/net/DatagramSocket.java (DatagramSocket): Move binding code to bind(), simplify constructors. * java/net/MulticastSocket.java (MulticastSocket): Call parent constructor with null argument, bind socket after setReuseAddress is called, simplify constructors. From-SVN: r73902
Michael Koch committed -
2003-11-24 Toon Moene <toon@moene.indiv.nluug.nl> PR fortran/12633 * expr.c (ffeexpr_reduced_ugly2log_): Revert change allowing logical .and. logical to be integer in expressions when -fugly-logint. From-SVN: r73898
Toon Moene committed -
PR ada/13142 * utils.c (init_gigi_decls): Change name of built-in setjmp to __builtin_setjmp, since this is apparently needed by recent non Ada changes. From-SVN: r73896
Arnaud Charlet committed -
2003-11-23 Waldek Hebisch <hebisch@math.uni.wroc.pl> * function.c: Make outer_function-chain external. * function.h: Likewise. From-SVN: r73894
Waldek Hebisch committed -
2003-11-24 Paolo Carlini <pcarlini@suse.de> * config/locale/gnu/codecvt_members.cc (codecvt::do_in): Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the former is very fast, but stops if encounters a NUL. (codecvt::do_out): Tweak. * testsuite/performance/wchar_t_in.cc: New. 2003-11-24 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.h (__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning in order to avoid memory leaks; simplify a bit. From-SVN: r73893
Paolo Carlini committed -
2003-11-24 Benjamin Kosnik <bkoz@redhat.com> * include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove non-standard throw specs. * testsuite/24_iterators/istreambuf_iterator.cc: Split into... * testsuite/24_iterators/istreambuf_iterator/1.cc * testsuite/24_iterators/istreambuf_iterator/2.cc * testsuite/24_iterators/istreambuf_iterator/2627.cc * testsuite/24_iterators/ostreambuf_iterator.cc: Split into... * testsuite/24_iterators/ostreambuf_iterator/1.cc * testsuite/24_iterators/ostreambuf_iterator/2.cc * testsuite/24_iterators/reverse_iterator/1.cc: Just compile, don't link. * include/bits/allocator.h: Formatting tweak. From-SVN: r73892
Benjamin Kosnik committed -
* config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when using GNU ld. * config/mips/iris6.h (IRIX6_STARTFILE_SPEC): New, taking the whole of the previous STARTFILE_SPEC except crtbegin.o%s. (IRIX6_ENDFILE_SPEC): Likewise ENDFILE_SPEC and crtend.o%s. (STARTFILE_SPEC, ENDFILE_SPEC): Define in terms of the above. (SUBTARGET_EXTRA_SPECS): Define. * config/mips/iris6gld.h (LINK_SPEC): Change -init function to __gcc_init and -fini function to __gcc_fini. (STARTFILE_SPEC): Redefine, including irix6-crti.o before crtbegin.o. (ENDFILE_SPEC): Likewise, including irix6-crtn.o after crtend.o. (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Define. * config/mips/t-iris6gld, * config/mips/irix6-crti.asm, * config/mips/irix6-crtn.asm: New files. From-SVN: r73891
Richard Sandiford committed -
2003-11-24 Eric Christopher <echristo@redhat.com> PR C/13014 * c-decl.c (c_in_iteration_stmt, c_in_case_stmt): New. (start_function): Use. (c_push_function_context): Ditto. (c-pop_function_context): Ditto. (language_function): Move... * c-tree.h: ... here. Add x_in_iteration_stmt, and x_in_case_stmt. * c-parse.in (do_stmt_start, select_or_iter_stmt, stmt): Use c_in_iteration_stmt, c_in_case_stmt for parser state. Move check for valid break or continue statment here... * c-semantics.c (genrtl_break_stmt, genrtl_continue_stmt): From here. Change original errors to abort. From-SVN: r73887
Eric Christopher committed -
From-SVN: r73886
Jan Hubicka committed -
* cp-demangle.c (d_encoding): Add top_level parameter. Change all callers. (print_usage): Display new -p option. (long_options): Add --no-params. (main): Accept and handle -p. From-SVN: r73884
Ian Lance Taylor committed -
* config/h8300/h8300.md (tablejump_h8300): Change to *tablejump_h8300. (tablejump_h8300h): Change to *tablejump_h8300hs_advanced. (tablejump_normal_mode): Change to *tablejump_h8300hs_normal. (indirect_jump_h8300): Change to *indirect_jump_h8300. (indirect_jump_h8300h): Change to *indirect_jump_h8300hs_advanced. (indirect_jump_normal_mode): Change to *indirect_jump_h8300hs_normal. From-SVN: r73883
Kazu Hirata committed -
2003-11-24 Paolo Carlini <pcarlini@suse.de> * src/locale_init.cc: Cosmetic reformatting. From-SVN: r73882
Paolo Carlini committed -
PR ada/13142 * utils.c (init_gigi_decls): Change name of built-in setjmp to __builtin_setjmp, since this is apparently needed by recent non Ada changes. From-SVN: r73881
Arnaud Charlet committed -
From-SVN: r73880
Kazu Hirata committed -
* config/h8300/h8300.md: (stm_h8300s_2): Change the name to stm_h8300s_2_advanced. (stm_h8300s_2_normal): New. (stm_h8300s_2): Likewise. (stm_h8300s_3): Change the name to stm_h8300s_3_advanced. (stm_h8300s_3_normal): New. (stm_h8300s_3): Likewise. (stm_h8300s_4): Change the name to stm_h8300s_4_advanced. (stm_h8300s_4_normal): New. (stm_h8300s_4): Likewise. (ldm_h8300s_2): Change the name to ldm_h8300s_2_advanced. (ldm_h8300s_2_normal): New. (ldm_h8300s_2): Likewise. (ldm_h8300s_3): Change the name to ldm_h8300s_3_advanced. (ldm_h8300s_3_normal): New. (ldm_h8300s_3): Likewise. (ldm_h8300s_4): Change the name to ldm_h8300s_4_advanced. (ldm_h8300s_4_normal): New. (ldm_h8300s_4): Likewise. (two peephole2's): Enable only with !TARGET_NORMAL_MODE. (two peephole2's): New. From-SVN: r73879
Kazu Hirata committed -
* javax/swing/BoxLayout.java (serialVersionUIR): New member variable. (X_AXIS, Y_AXIS): Documentation added. (LINE_AXIS, PAGE_AXIS): New constants. (grid): Renamed from gridbag. (BoxLayout): Use new constants, throw exception if invalid value for way, added documentation. (BoxLayout): Removed. (addLayoutComponent): Use new constants, added documentation. (removeLayoutComponent): Likewise. (addLayoutContainer): Added documentation. (preferredLayoutSize): Added documentation, check given argument. (minimumLayoutSize): Likewise. (layoutContainer): Likewise. (getLayoutAlignmentX): Likewise. (getLayoutAlignmentY): Likewise. (invalidateLayout): Likewise. (maximumLayoutSize): Likewise. From-SVN: r73878
Michael Koch committed -
* adadecode.c: Only include ctype.h if IN_GCC. (__gnat_decode): Use ISDIGIT from safe-ctype.h. From-SVN: r73876
Rainer Orth committed -
* Make-lang.in: (java.install-common) Add symlink for $(target_noncanonical)-gcjh for native builds. From-SVN: r73875
Mohan Embar committed -
2003-11-24 Jose Ruiz <ruiz@act-europe.fr> * Makefile.in: Use 5zintman.ads for VxWorks targets. This file avoid confusion between signals and interrupts. * 5zintman.ads: New File. * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and add exception signals to the set of unmasked signals. * 5ztaprop.adb: Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion between signals and interrupts. Add to Unblocked_Signal_Mask the set of signals that are in Keep_Unmasked. * 7sinmaop.adb: Adding a check to see whether the Interrupt_ID we want to unmask is in the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The reason is that the index type of the Keep_Unmasked array is not always Interrupt_ID; it may be a subtype of Interrupt_ID. 2003-11-24 Gary Dismukes <dismukes@gnat.com> * exp_util.adb: (Remove_Side_Effects): Condition constantness of object created for a an unchecked type conversion on the constantness of the expression to ensure the correct value for 'Constrained when passing components of view-converted class-wide objects. 2003-11-24 Robert Dewar <dewar@gnat.com> * par-load.adb (Load): Improve handling of misspelled and missing units Removes several cases of compilation abandoned messages * lib.adb: (Remove_Unit): New procedure * lib.ads: (Remove_Unit): New procedure * lib-load.adb: Minor reformatting 2003-11-24 Vincent Celier <celier@gnat.com> * make.adb: (Gnatmake, Initialize): Call Usage instead of Makeusg directly (Marking_Label): Label to mark processed source files. Incremented for each executable. (Gnatmake): Increase Marking_Labet for each executable (Is_Marked): Compare against marking label (Mark): Mark with marking label 2003-11-24 Jerome Guitton <guitton@act-europe.fr> * s-thread.ads: Move the declaration of the TSD for System.Threads to System.Soft_Links. Add some comments. * Makefile.in: Added target pair for s-thread.adb for cert runtime. (rts-cert): build a single relocatable object for the run-time lib. Fix perms. 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr> * Make-lang.in: Use gnatls rather than gcc to obtain the location of GNAT RTL for crosstools build. 2003-11-24 Sergey Rybin <rybin@act-europe.fr> * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we can not use it as before (that is, as a variable) when dumping it into the tree file. Add a local variable to store the result of this function and to be used as the string to be written into the tree. * scn.adb (Initialize_Scanner): Add comments explaining the recent changes. * sinput.adb (Source_First, Source_Last): In case of Internal_Source_File, replace returning attributes of Internal_Source_Ptr (which is wrong) with returning attributes of Internal_Source. 2003-11-24 Ed Schonberg <schonberg@gnat.com> * sem_ch3.adb: (New_Concatenation_Op): Proper name for New_Binary_Operator, only used for implicit concatenation operators. Code cleanup. * sem_elab.adb: (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in task bodies that are in the scope of a Suppress pragma. (Check_A Call): Use the flag to prevent spurious elaboration checks. * sinfo.ads, sinfo.adb: New flag No_Elaboration_Check on function/procedure calls, to properly suppress checks on calls in task bodies that are within a local suppress pragma. * exp_ch4.adb: (Expand_Concatenate_Other): Use the proper integer type for the expression for the upper bound, to avoid universal_integer computations when possible. From-SVN: r73874
Arnaud Charlet committed -
* genattrtab.c (simplify_cond): Update indices correctly. (attr_alt_subset_p, attr_alt_subset_of_compl_p, attr_alt_intersection, attr_alt_union, attr_alt_complement, attr_alt_bit_p, mk_attr_alt): New. (check_attr_test, encode_units_mask, compute_alternative_mask, make_alternative_compare, simplify_and_tree, attr_rtx_cost, simplify_test_exp, gen_attr, write_test_expr, walk_attr_value): Handle EQ_ATTR_ALT. * rtl.def (EQ_ATTR_ALT): New. From-SVN: r73873
Zdenek Dvorak committed -
* fold-const.c (fold): Do not return early when optimizing COMPONENT_REF and constant. From-SVN: r73870
Jan Hubicka committed -
* genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros. (length_str, delay_type_str, delay_1_0_str, num_delay_slots_str): New variables. (main): Initialize them. (find_attr): Canonicalize the attribute name string. (attr_rtx_1, copy_boolean, expand_delays, gen_unit): Always canonicalize string arguments. (attr_printf, attr_eq): Use DEF_ATTR_STRING. (check_attr_test, check_attr_value, make_length_attrs, write_length_unit_log, simplify_by_exploding, gen_attr, write_test_expr, write_attr_value, write_eligible_delay, write_complex_function, make_internal_attr, write_const_num_delay_slots): Changed due to change of type of find_attr. (fill_attr, evaluate_eq_attr, simplify_and_tree, attr_rtx_cost, simplify_by_exploding, walk_attr_value): Use strcmp_check. From-SVN: r73869
Zdenek Dvorak committed -
From-SVN: r73866
GCC Administrator committed
-
- 23 Nov, 2003 8 commits
-
-
From-SVN: r73863
Kazu Hirata committed -
* config/h8300/h8300.c (push): Call push_h8300hs_normal in normal mode. (pop): Call pop_h8300hs_normal in normal mode. * config/h8300/h8300.md: Likewise. (pushqi1_h8300hs_normal): New. (pushqi1): Call pushqi1_h8300hs_normal in normal mode. (pushhi1_h8300hs_normal): New. (pushhi1): Call pushhi1_h8300hs_normal in normal mode. (push_h8300hs_normal): New. (pop_h8300hs_normal): Likewise. From-SVN: r73862
Kazu Hirata committed -
From-SVN: r73860
Zdenek Dvorak committed -
recog.c (preprocess_constraints): Only zero those elements of recog_op_alt that are needed for this insn. * recog.c (preprocess_constraints): Only zero those elements of recog_op_alt that are needed for this insn. * arm.c (note_invalid_constants): A function can't contain invalid constants if it has no constraints. From-SVN: r73855
Richard Earnshaw committed -
2003-11-23 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (__add_grouping): Cosmetic reformatting. From-SVN: r73854
Paolo Carlini committed -
locale_facets.tcc (_M_extract_float, [...]): Remove a wrong comment and simplify the corresponding code using... 2003-11-23 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (_M_extract_float, _M_extract_int): Remove a wrong comment and simplify the corresponding code using char_traits::find(). From-SVN: r73853
Paolo Carlini committed -
PR c++/12924 * typeck.c (finish_class_member_access_expr): Handle TEMPLATE_ID_EXPR with OVERLOAD and DECL nodes as the first operand. * g++.dg/template/template-id-2.C: New test. From-SVN: r73851
Kriang Lerdsuwanakij committed -
(peekData): Use offset and maximal free space in datagram packet. (receive): Likewise. (send): Use offset in datagram packet. From-SVN: r73848
Michael Koch committed
-