- 19 Jun, 2003 35 commits
-
-
From-SVN: r68228
Kazu Hirata committed -
From-SVN: r68227
Kazu Hirata committed -
* gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix, SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec, sysroot_hdrs_suffix_spec): New. (static_specs): Initialize new variables. (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables. * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC): New macros. From-SVN: r68223
Graeme Peterson committed -
* testsuite/Makefile.am (extract_symvers): Revert accidental change. * testsuite/Makefile.in: Regenerate. * configure.in: Pass MULTISUBDIR to testsuite/Makefile. * configure: Regenerated. From-SVN: r68220
Andreas Jaeger committed -
From-SVN: r68219
Andreas Jaeger committed -
* c-aux-info.c: Convert to ISO C99. * c-pragma.c: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-convert.c: Likewise. * c-cppbuiltin.c: Likewise. * c-dump.c: Likewise. * c-decl.c: Likewise * c-format.c: Likewise. * c-incpath.c: Likewise. * c-incpath.h: Likewise. From-SVN: r68218
Andreas Jaeger committed -
builtins.c (expand_errno_check): Assume that flag_errno_math and HONOR_NANS have been tested before calling here. * builtins.c (expand_errno_check): Assume that flag_errno_math and HONOR_NANS have been tested before calling here. Only try to set errno ourselves if the decl can't throw an exception. (expand_builtin_mathfn): Move the code to stabilize the arg after the main switch, so that that its only done when needed. BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative. Don't modify the original expr when stabilizing the argument. (expand_builtin_mathfn_2): Likewise, move the code to stabilize the args after the main switch, and don't modify the orginal exp. From-SVN: r68217
Roger Sayle committed -
* configure.in: Add check for malloc.h needed by m68k for function free(). * configure: Regenerated. * config.in: Add HAVE_MALLOC_H. * hashtab.c: include malloc.h were available for free(). From-SVN: r68213
Dara Hazeghi committed -
2003-06-19 Aldy Hernandez <aldyh@redhat.com> * expr.c (const_vector_from_tree): Initialize remaining elements to 0. From-SVN: r68210
Aldy Hernandez committed -
* gnu/java/nio/DatagramChannelImpl.java (fd): Removed. (blocking): New member variable. (socket): Likewise. (DatagramChannelImpl): Throws IOException, initialize socket. (socket):Implemented. (implCloseSelectableChannel): Throws IOException, implemented. (implConfigureBlocking): Likewise. (connect): Likewise. (disconnect): Likewise. (isConnected): Likewise. (write): Likewise. (read): Likewise. (receive): Throws IOException. (send): Likewise. * gnu/java/nio/SocketChannelImpl.java (read): Implemented. (write): Implemented. From-SVN: r68208
Michael Koch committed -
2003-06-19 Michael Koch <konqueror@gmx.de> * javax/swing/JComponent.java, javax/swing/JInternalFrame.java, javax/swing/MenuSelectionManager.java, javax/swing/SwingUtilities.java, javax/swing/ToggleButtonModel.java: New versions from classpath. From-SVN: r68207
Michael Koch committed -
2003-06-19 Paolo Carlini <pcarlini@unitus.it> * include/std/std_sstream.h (_M_sync): Make non virtual. From-SVN: r68200
Paolo Carlini committed -
* java/text/CollationElementIterator.java (NULLORDER): Initialize with -1 as JDK documentation says. From-SVN: r68199
Michael Koch committed -
2003-06-19 Michael Koch <konqueror@gmx.de> * java/net/HttpURLConnection.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/net/SocketImpl.java, java/net/URLClassLoader.java: Reworked import statements. * java/net/InetAddress.java (getByAddress): Simplified. * java/net/ServerSocket.java (ServerSocket): Moved special handling during bind operation to bind(). (bind): Handle different cases when trying to bind a socket. * java/net/URLConnection.java (getHeaderFieldDate): Merged with classpath. (getHeaderFieldInt): Likewise. From-SVN: r68198
Michael Koch committed -
* java/util/zip/InflaterInputStream.java (InflaterInputStream): Throw NullPointerException if in is null (as JDK does). From-SVN: r68197
Michael Koch committed -
2003-06-19 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types. Change "fix" to "float". From-SVN: r68195
Aldy Hernandez committed -
* gcc.c-torture/execute/simd-4.c (main): Make expected value endian-dependent. From-SVN: r68194
J"orn Rennecke committed -
* c-tree.h: Remove declaration of poplevel. * tree.h: Remove declaration of approx_sqrt. * c-lex.c: Remove redundant declaration of asm_out_file. * flags.h: Remove declaration of warn_unknown_pragma and main_input_filename. * rtl.h: Remove functions from fold-const.c since they're already declared in tree.h. * regs.h: Remove redundant declaration of reg_names. cp: * cp-tree.h: Remove duplicated declarations. From-SVN: r68193
Andreas Jaeger committed -
From-SVN: r68192
Andreas Jaeger committed -
2003-06-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * src/powerpc/ppc_closure.S: Include ffi.h. From-SVN: r68191
Franz Sirl committed -
2003-06-19 Michael Koch <konqueror@gmx.de> * java/awt/Font.java javax/swing/UIManager.java javax/swing/border/AbstractBorder.java javax/swing/border/BevelBorder.java javax/swing/border/Border.java javax/swing/border/CompoundBorder.java javax/swing/border/EmptyBorder.java javax/swing/border/EtchedBorder.java javax/swing/border/LineBorder.java javax/swing/border/MatteBorder.java javax/swing/border/TitledBorder.java javax/swing/plaf/BorderUIResource.java javax/swing/plaf/basic/BasicBorders.java javax/swing/plaf/basic/BasicButtonUI.java javax/swing/plaf/basic/BasicCheckBoxUI.java javax/swing/plaf/basic/BasicGraphicsUtils.java javax/swing/plaf/basic/BasicLabelUI.java javax/swing/plaf/basic/BasicRadioButtonUI.java javax/swing/plaf/basic/BasicToggleButtonUI.java: New versions from classpath. * javax/swing/border/SoftBevelBorder.java: New file from classpath. * javax/swing/border/doc-files/LineBorder-1.png, javax/swing/border/doc-files/BevelBorder-1.png, javax/swing/border/doc-files/BevelBorder-2.png, javax/swing/border/doc-files/BevelBorder-3.png, javax/swing/border/doc-files/EmptyBorder-1.png, javax/swing/border/doc-files/EtchedBorder-1.png, javax/swing/border/doc-files/EtchedBorder-2.png, javax/swing/border/doc-files/MatteBorder-1.png, javax/swing/border/doc-files/MatteBorder-2.png, javax/swing/border/doc-files/MatteBorder-3.png, javax/swing/border/doc-files/MatteBorder-4.png, javax/swing/border/doc-files/MatteBorder-5.png, javax/swing/border/doc-files/MatteBorder-6.png, javax/swing/border/doc-files/SoftBevelBorder-1.png, javax/swing/border/doc-files/SoftBevelBorder-2.png, javax/swing/border/doc-files/SoftBevelBorder-3.png, javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png, javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png, javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png: New binary files from classpath. * Makefile.am (awt_java_source_files): Added javax/swing/border/SoftBevelBorder.java. * Makefile.in: Regenerated. From-SVN: r68190
Michael Koch committed -
From-SVN: r68189
Andreas Jaeger committed -
* hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h has been included. From-SVN: r68188
J"orn Rennecke committed -
* gnu/java/security/x509/X509Certificate.java (writeReplace): Merged from classpath. From-SVN: r68187
Michael Koch committed -
* gnu/java/nio/FileChannelImpl.java (map_address): Made public. (FileChannelImpl): Merged with classpath. * gnu/java/nio/natFileChannelImpl.cc (nio_mmap_file): Commented out unused arguments. (nio_unmmap_file): Likewise. (niu_msync): Likewise. From-SVN: r68186
Michael Koch committed -
2003-06-19 Michael Koch <konqueror@gmx.de> * java/awt/image/IndexColorModel.java: New version from classpath. From-SVN: r68185
Michael Koch committed -
From-SVN: r68181
James A Morrison committed -
* config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4. From-SVN: r68179
David Edelsohn committed -
PR bootstrap/4068 * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0. From-SVN: r68177
Joseph Myers committed -
* config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move to the end of the file. Remove unnecessary prototypes. From-SVN: r68176
Kazu Hirata committed -
2003-06-18 Benjamin Kosnik <bkoz@redhat.com> * testsuite/testsuite_performance.h (time_counter): New. (resource_counter): New. (report_performance): New. (start_counters): New. (stop_counters): New. (clear_counters): New. * testsuite/performance/allocator.cc: Instrument. * testsuite/performance/cout_insert_int.cc: Same. * testsuite/performance/complex_norm.cc: Same. * testsuite/performance/filebuf_sputc.cc: New. * testsuite/performance/fstream_seek_write.cc: Same. * testsuite/performance/ifstream_getline.cc: Same. * testsuite/performance/map_create_fill.cc: Same. * testsuite/performance/ofstream_insert_float.cc: Same. * testsuite/performance/ofstream_insert_int.cc: Same. * testsuite/performance/string_append.cc: Convert. * scripts/check_performance: New. * testsuite/Makefile.am (check-performance): New. (CLEANFILES): Add. From-SVN: r68175
Benjamin Kosnik committed -
* pt.c: Convert to ISO C. * semantics.c: Convert to ISO C. From-SVN: r68174
Nathanael Nerode committed -
* java/net/Inet6Address.java (isAnyLocalAddress): Don't use "==" on arrays. (isLoopbackAddress): Likewise. * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "==" on arrays. From-SVN: r68173
Tom Tromey committed -
* bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize calls to insn_default_latency and result_ready_cost. Initialize def_latency to 1. From-SVN: r68172
Hans-Peter Nilsson committed -
From-SVN: r68170
GCC Administrator committed
-
- 18 Jun, 2003 5 commits
-
-
* config/ia64/unwind-ia64.c (_Unwind_GetCFA): New. (_Unwind_FindEnclosingFunction): Implement. From-SVN: r68168
Richard Henderson committed -
* toplev.c (rest_of_handle_sched): Hide the entire function if INSN_SCHEDULING is not defined. (rest_of_compilation): Call rest_of_handle_sched() only when INSN_SCHEDULING is defined. From-SVN: r68166
Kazu Hirata committed -
2003-06-18 Stephen Clarke <stephen.clarke@superh.com> J"orn Rennecke <joern.rennecke@superh.com> * bt-load.c: New file. * Makefile.in (OBJS): Include bt-load.o (bt-load.o): Add dependencies. * flags.h (flag_branch_target_load_optimize): Declare. (flag_branch_target_load_optimize2): Likewise. * hooks.c (hook_reg_class_void_no_regs): New function. (hook_bool_bool_false): Likewise. * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare. * rtl.h (branch_target_load_optimize): Declare. * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. (TARGET_INITIALIZER): Include these. * target.h (struct gcc_target): Add branch_target_register_class and branch_target_register_callee_saved members. * toplev.c (enum dump_file_index): Add DFI_branch_target_load (dump_file) Add "tars" entry. (flag_branch_target_load_optimize): New variable. (flag_branch_target_load_optimize2): Likewise. (lang_independent_options): Add entries for new options. (rest_of_compilation): Call branch_target_load_optimize. * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. * doc/invoke.texi: Document -fbranch-target-load-optimize and -fbranch-target-load-optimize2. * rtl.h (epilogue_completed): Declare. * recog.c (epilogue_completed): New variable. * toplev.c (rest_of_compilation): Set it. * flow.c (mark_regs_live_at_end): Use it. * config/ia64/ia64.c (ia64_output_mi_thunk): Set it. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Likewise. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. * sh.c (shmedia_space_reserved_for_target_registers): New variable. (sh_target_reg_class): New function. (sh_optimize_target_register_callee_saved): Likwise. (shmedia_target_regs_stack_space): Likewise. (shmedia_reserve_space_for_target_registers_p): Likewise. (shmedia_target_regs_stack_adjust): Likewise. (TARGET_BRANCH_TARGET_REGISTER_CLASS): Override. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. (calc_live_regs): If flag_branch_target_load_optimize2 and TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved for target registers, make sure that we save all target registers. (sh_expand_prologue, sh_expand_epilogue): Take target register optimizations into account. Collapse stack adjustments if that is beneficial. (initial_elimination_offset): Reserve space for target registers if necessary. * sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define. (OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize. Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com> From-SVN: r68165
Stephen Clarke committed -
* cp-tree.h (comp_except_specs, compparms, cp_has_mutable_p, at_least_as_qualified_p, more_qualified_p): Return bool. * typeck.c: ANSIFY function definitions. (comp_array_types): Take redeclaration bool parameter. (comptypes): Rearrange STRICT handling. (at_least_as_qualified_p, more_qualified_p, comp_cv_qualification): Cache cv quals. (compparms): Rearrange loop. From-SVN: r68164
Nathan Sidwell committed -
2003-06-18 Paolo Carlini <pcarlini@unitus.it> Benjamin Kosnik <bkoz@redhat.com> * include/std/std_sstream.h (setbuf): Check __n >= 0. * include/bits/fstream.tcc (setbuf): Tweak. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r68163
Paolo Carlini committed
-