- 08 Aug, 2003 3 commits
-
-
* pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P. (attr_length_millicode_call): Likewise. (attr_length_call): Likewise. Revise some maximum insn lengths. (attr_length_indirect_call): Likewise. (output_call): Fix thinko that added extra nop. * pa.h (IN_NAMED_SECTION_P): Define. From-SVN: r70241
John David Anglin committed -
PR c++/11712 * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define __STDC_EXT__ when using C++ dialect. From-SVN: r70240
John David Anglin committed -
From-SVN: r70237
GCC Administrator committed
-
- 07 Aug, 2003 18 commits
-
-
From-SVN: r70235
Doug Gregor committed -
* sh.c (calc_live_regs): If the return address pointer is live, force pr live. (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register for saves / restores. (sh_expand_epilogue): If sh_media_register_for_return returns a register number, flag the instructions that restores PR_MEDIA_REG as possibly dead. Remove dead update of offset. (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if we can use the result of get_hard_reg_initial_val. * sh.md (UNSPEC_RA): New constant. (movsi_i_lowpart+1): Changed into a define_insn_and_split, named: (load_ra). Handle UNSPEC_RA. (sibcall_media): Use PR_MEDIA_REG. From-SVN: r70234
J"orn Rennecke committed -
boehm-gc: * configure.in: Set INCLUDES to absolute path. Save $INCLUDES in boehm-cflags, too. Set INCLUDES so it's available to config.status. * configure: Regenerate. libjava: * configure.in: Don't initialize GCINCS to boehm-gc/include. * configure: Regenerate. libjava/libltdl: * configure.in: Don't initialize GCINCS to boehm-gc/include. * Regenerate. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r70233
Rainer Orth committed -
2003-08-07 Bernardo Innocenti <bernie@develer.com> PR libstdc++/11784 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add): Replace variants with new BSET-based version. [[Split portion of a mixed commit.]] From-SVN: r70231.2
Bernardo Innocenti committed -
2003-08-07 Bernardo Innocenti <bernie@develer.com> PR libstdc++/11784 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add): Replace variants with new BSET-based version. From-SVN: r70230
Bernardo Innocenti committed -
2003-08-07 Carlo Wood <carlo@alinoe.com> * include/bits/demangle.h: Do not use cctype functions that depend on locale. From-SVN: r70228
Carlo Wood committed -
* sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG. * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr needs saving on SHmedia. From-SVN: r70227
J"orn Rennecke committed -
PR c++/5767 * parser.c (cp_parser_class_name): Return immediately when scope is error_mark_node. * g++.dg/parse/crash11.C: New test. From-SVN: r70226
Kriang Lerdsuwanakij committed -
2003-08-07 Aldy Hernandez <aldyh@redhat.com> * cp/Make-lang.in (cp/call.o): Add dependency for target.h. * cp/call.c (standard_conversion): Support opaque types. Include target.h. (strip_top_quals): Use cp_build_qualified_type instead of TYPE_MAIN_VARIANT. * cp/typeck.c (convert_for_assignment): Support opaque types. * testsuite/g++.dg/other/opaque-1.C: New. * testsuite/g++.dg/other/opaque-2.C: New. From-SVN: r70223
Aldy Hernandez committed -
From-SVN: r70221
Ulrich Weigand committed -
From-SVN: r70220
Richard Sandiford committed -
* java/net/Socket.java (Socket (SocketImpl)): Don't allow null SocketImpl. Update Javadoc. (bind): Call close() not impl.close() in event of exception. (connect): Likewise. Remove superfluous null checks throughout. * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)): Don't create an extra socket. Fix for PR libgcj/10868. (bind): Clean up exception handling. Remove superfluous null checks throughout. From-SVN: r70219
Bryce McKinlay committed -
* c-decl.c (builtin_decls): Replace with first_builtin_decl and last_builtin_decl. (c_init_decl_processing): Initialize both. (c_reset_state): Iterate from first_builtin_decl to last_builtin_decl inclusive to reintroduce builtins. From-SVN: r70218
Zack Weinberg committed -
* java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a ready-to-write argument to _Jv_Select. Reset the socket back to non-blocking state after connecting. (accept): Pass the FD as a ready-to-write argument to _Jv_Select. Throw SocketTimeoutException not InterruptedIOException. (read): Throw SocketTimeoutException not InterruptedIOException. Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz> From-SVN: r70217
Jacob Gladish committed -
* java/lang/Thread.java (Thread): Check for null "name" from start of private constructor, not after calling the private constructor. From-SVN: r70216
Bryce McKinlay committed -
[[Split portion of a mixed commit.]] From-SVN: r70214.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r70213.2
GCC Administrator committed -
2003-08-06 Aldy Hernandez <aldyh@redhat.com> * decl.c (grokparms): Use cp_build_qualified_type instead TYPE_MAIN_VARIANT. [[Split portion of a mixed commit.]] From-SVN: r70211.2
Aldy Hernandez committed
-
- 06 Aug, 2003 12 commits
-
-
From-SVN: r70210
Alexandre Oliva committed -
* doc/extend.texi (Function Attributes): Document the IA-64 version of the "model" attribute. * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro. (SYMBOL_REF_SMALL_ADDR_P): Ditto. (PREDICATE_CODES): Mention "small_addr_symbolic_operand". * config/ia64/ia64.c (ia64_handle_model_attribute): New function. (ia64_encode_section_info): Likewise. (ia64_attribute_table): Add "model" attribute. (TARGET_ENCODE_SECTION_INFO): Define. (small_addr_symbolic_operand): New function. (got_symbolic_operand): Return 0 for a symbolref to an object in the small address area. (enum ia64_addr_area): New type. (small_ident1): New variable. (small_ident2): Likewise. (init_idents): New function. (ia64_get_addr_area): Likewise. (ia64_encode_addr_area): Likewise. (ia64_encode_section_info): Likewise. (ia64_expand_load_address): For symbolic references to objects in the small-address-area, load the address via gen_rtx_SET() (which, eventually, will expand into "addl"). From-SVN: r70209
David Mosberger committed -
* java/io/FilePermission.java (equals): Use correct index for last character of path. From-SVN: r70206
Tom Tromey committed -
* line-map.h (fileline): New typedef. (struct line_map, linemap_add, linemap_lookup): Use it. * input.h (struct location_s): Comment notes that long-term we want to replace it by fileline. From-SVN: r70205
Per Bothner committed -
2003-08-06 J"orn Rennecke <joern.rennecke@superh.com> Fix SHcompact exception handling: * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered by the prologue, return a MEM with return_address_pointer_rtx as address. * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode. (RETURN_ADDR_OFFSET): Don't define. (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia registers that are visible in compact mode. Show that SHmedia registers still exist in compact mode, even if there are not readily accessible. (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect if GLOBAL. Use DW_EH_PE_textrel (nominally) for CODE, and DW_EH_PE_pcrel for pic data. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel, set SYMBOL_FLAG_FUNCTION in symbol, and actually use DW_EH_PE_pcrel / DW_EH_PE_absptr encoding. (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it. * sh.md (movsi_media-1): New splitter. From-SVN: r70204
J"orn Rennecke committed -
* config/i386/nto.h: New. * config/i386/t-nto: New. * config.gcc (i[34567]86-*-nto-qnx*): New. From-SVN: r70203
Graeme Peterson committed -
2003-08-06 Phil Edwards <pme@gcc.gnu.org> * doc/install.texi (*-*-solaris2*): Refine configure instructions. From-SVN: r70202
Phil Edwards committed -
calls.c (load_register_parameters): Arrange for call_fusage to report the whole register as used when... * calls.c (load_register_parameters): Arrange for call_fusage to report the whole register as used when shifting to the msb. From-SVN: r70201
Alan Modra committed -
* acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD. * configure.in: Compare with_cross_host to build_alias, not build. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r70199
Alan Modra committed -
[[Split portion of a mixed commit.]] From-SVN: r70197.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r70196.2
GCC Administrator committed -
* builtins.c (expand_builtin): When not optimizing, call the library function for all builtins that have library functions (except alloca). From-SVN: r70195
Roger Sayle committed
-
- 05 Aug, 2003 7 commits
-
-
2003-08-05 Phil Edwards <pme@gcc.gnu.org> * configure.in: Rename... * configure.ac: ...to this. * docs/html/17_intro/porting.texi: Update name. * docs/html/17_intro/porting.html: Regenerate. * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate (picks up new dependancy). From-SVN: r70194
Phil Edwards committed -
* c.opt: Introduce -fworking-directory. * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it. * c-common.h (flag_working_directory): Declare. * c-common.c (flag_working_directory): Define. * c-opts.c (c_common_handle_options): Set it. (sanitize_cpp_opts): Set... * cpplib.h (struct cpp_options): ... working_directory option. (struct cpp_callbacks): Add dir_change. * cppinit.c (read_original_filename): Call... (read_original_directory): New. Look for # 1 "directory//" and process it. (cpp_read_main_file): Call dir_change callback if working_directory option is set. * gcc.c (cpp_unique_options): Pass -g*. * c-lex.c (cb_dir_change): New. (init_c_lex): Set dir_change callback. * toplev.c (src_pwd): New static variable. (set_src_pwd, get_src_pwd): New functions. * toplev.h (get_src_pwd, set_src_pwd): Declare. * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd(). * dwarf2out.c (gen_compile_unit_die): Likewise. * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise. From-SVN: r70189
Alexandre Oliva committed -
2003-08-05 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack pipe, open the window to let out the fumes, redo the option-handling logic to properly execute the detection test. * aclocal.m4, configure: Regenerate. From-SVN: r70186
Phil Edwards committed -
Fix for PR libgcj/11779: * java/lang/reflect/natField.cc (getAddr): Skip frames in Field class. From-SVN: r70185
Tom Tromey committed -
* java/lang/reflect/Method.java: Updated status comment. Imported javadoc from Classpath and re-ordered methods. * java/lang/reflect/Constructor.java: Reindented. Updated status comment. Imported javadoc from Classpath and re-ordered methods. From-SVN: r70184
Tom Tromey committed -
* libjava.compile/PR11600.xfail: New file. * libjava.compile/PR11600.java: New file. From-SVN: r70183
Tom Tromey committed -
* pretty-print.h (pp_set_line_maximum_length): Make macro. (pp_set_prefix): Likewise. (pp_destroy_prefix): Likewise. (pp_remaining_character_count_for_line): Likewise. (pp_clear_output_area): Likewise. (pp_formatted_text): Likewise. (pp_last_position_in_text): Likewise. (pp_emit_prefix): Likewise. (pp_append_text): Likewise. (pp_flush): Likewise. (pp_format_text): Likewise. (pp_format_verbatim): Likewise. (pp_tree_identifier): Tidy. * pretty-print.c (pp_base_format_text): Rename from pp_format_text. (pp_base_format_verbatim): Rename from pp_format_verbatim. (pp_base_flush): Rename from pp_flush. (pp_base_set_line_maximum_length): Rename from pp_set_line_maximum_length. (pp_base_clear_output_area): Rename from pp_clear_output_area. (pp_base_set_prefix): Rename from pp_set_prefix. (pp_base_destroy_prefix): Rename from pp_destroy_prefix. (pp_base_emit_prefix): Rename from pp_emit_prefix. (pp_base_append_text): Rename from pp_append_text. (pp_base_formatted_text): Rename from pp_formatted_text. (pp_base_last_position_in_text): Rename from pp_last_position_in_text. (pp_base_remaining_character_count_for_line): Rename from pp_remaining_character_count_for_line. * diagnostic.h (diagnostic_format_decoder): Tidy. (diagnostic_flush_buffer): Likewise. * c-pretty-print.h: (pp_c_string_literal): Declare. (pp_c_real_literal): Likewise. (pp_c_integer_literal): Likewise. * c-pretty-print.c (pp_c_char): Use pp_string in lieu of pp_identifier. (pp_c_character_literal): Tidy. (pp_c_string_literal): Make public. (pp_c_bool_literal): Likewise. (pp_c_integer_literal): Likewise. (pp_c_real_literal): Likewise. * Makefile.in (C_PRETTY_PRINT_H): New variable. (c-pretty-print.o): Update dependence. cp/ * cxx-pretty-print.h: New file. * cxx-pretty-print.c: Likewise. * error.c (scratch_pretty_printer): Change type. (init_error): Tidy. (dump_aggr_type): Likewise. (dump_global_iord): Likewise. (dump_expr): Likewise. (dump_char): Remove. * cp-lang.c (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define. (cxx_initialize_diagnostics): New function. * Make-lang.in (CXX_OBJS): Add cp/cxx-pretty-print.o (CXX_PRETTY_PRINT_H): New variable. (cp/cxx-pretty-print.o): New rule. (cp/cp-lang.o): Update dependence. (cp/error.o): Likewise. From-SVN: r70182
Gabriel Dos Reis committed
-