- 08 Jun, 2003 24 commits
-
-
* jvspec.c (jvgenmain_spec): Added `*' after fassume-compiled and fno-assume-compiled. From-SVN: r67634
Tom Tromey committed -
* java/text/SimpleDateFormat.java (parse(String,ParsePosition)): Limit number of characters in numeric field when required. * java/text/DecimalFormat.java (parse(String,ParsePosition)): Respect maximumIntegerDigits. From-SVN: r67633
Tom Tromey committed -
* builtins.c (define_builtin_type, builtin_types): Delete. (define_builtin): Rewritten to take just the built-in code, the function's name, type and fallback library function name. All built-ins used by Java are implicit and BUILT_IN_NORMAL. (initialize_builtins): Overhaul to define the GCC builtins used by gcj manually, providing the Java run-time's implementations as the fallback library function. * libjava.lang/MathBuiltin.java: New test case. * libjava.lang/MathBuiltin.out: New file. From-SVN: r67632
Roger Sayle committed -
��> 2003-06-07�� Anthony Green�� <green@redhat.com> ��> ��>������������* parse.y (patch_cast): Fix conversions from floating-point to ��>������������integral types. From-SVN: r67631
Anthony Green committed -
* i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates. * i386.c (k8_avoid_jump_misspredicts): Fix debug output. * cfg.c (verify_flow_info): Move IL independent checks from cfgrtl here. (dump_bb): New based on old dump_bb in cfgrtl.c (debug_bb, debug_bb_n): Move the functions from cfgrtl.c here. * cfghooks.h (cfgh_verify_flow_info): Return status. * cfglayout.c (cfg_layout_finalize): Verify CFG correctness. * cfgrtl.c (debug_bb, debug_bb_n): Move to cfg.c (dump_bb): Remove generic parts. (rtl_verify_flow_info_1): Break out from rtl_verify_flow_info. (rtl_verify_flow_info): Only check things dependeing on linearized RTL. * i386-cmov1.c: Fix regular expression. * i386-cvt-1.c: Likewise. * i386-local.c: Likewise. * i386-local2.c: Likewise. * i386-mul.c: Likewise. * i386-ssetype-1.c: Likewise. * i386-ssetype-3.c: Likewise. * i386-ssetype-5.c: Likewise. From-SVN: r67630
Jan Hubicka committed -
* Make-lang.in (F77_OBJS, f77.mostlyclean, f/com.o): Update. (f/f-options.c, f/f-options.h): New. * com.c: Include opts.h and f-options.h. (ffecom_decode_include_option_): Remove. (LANG_HOOKS_HANDLE_OPTION): New. (LANG_HOOKS_DECODE_OPTION): Drop. (struct file_name_list, ffecom_decode_include_option, ffecom_open_include_): Constify. * com.h (ffecom_decode_include_option): Update. * lang.opt: New. * top.c: Include f-options.h, opts.h. (ffe_is_digit_string_): Constify. (ffe_decode_option): Transform to ffe_handle_option. * top.h (ffe_decode_option): Replace with ffe_handle_option. From-SVN: r67628
Neil Booth committed -
* Make-lang.in: Update. * treetree.c: Include opts.h. Define cl_options_count and cl_options. From-SVN: r67627
Andreas Jaeger committed -
* predict.h: Convert to ISO C90 prototypes. * predict.c: Likewise. * tree-dump.h: Likewise. * tree-dump.c: Likewise. * diagnostic.h: Likewise. * diagnostic.c: Likewise. * combine.c: Likewise. * rtl.h: Convert prototypes of combine.c to ISO C90. From-SVN: r67626
Andreas Jaeger committed -
* std.c: Remove #if 0'ed functions. * sta.c: Remove usage of HARD_F90, FFESTR_F90 and FFESTR_VXT. * stb.c: Likewise. * stb.h: Likewise. * stc.c: Likewise. * stc.h: Likewise. * std.c: Likewise. * std.h: Likewise. * ste.c: Likewise. * ste.h: Likewise. * str.h (FFESTR_F90): Remove macro. (FFESTR_VXT): Remove macro. From-SVN: r67625
Andreas Jaeger committed -
From-SVN: r67624
Eric Botcazou committed -
2003-06-08 Neil Booth <neil@daikokuya.co.uk> * Make-lang.in: Update. * misc.c: Include opts.h. Define cl_options_count and cl_options. From-SVN: r67623
Neil Booth committed -
* bld.c: Remove usage of FFETARGET_okCHARACTER2, FFETARGET_okCHARACTER3, FFETARGET_okCHARACTER4, FFETARGET_okCHARACTER5, FFETARGET_okCHARACTER6, FFETARGET_okCHARACTER7, FFETARGET_okCHARACTER8, FFETARGET_okCOMPLEX4, FFETARGET_okCOMPLEX5, FFETARGET_okCOMPLEX6, FFETARGET_okCOMPLEX7, FFETARGET_okCOMPLEX8, FFETARGET_okINTEGER5, FFETARGET_okINTEGER6, FFETARGET_okINTEGER7, FFETARGET_okINTEGER8, FFETARGET_okLOGICAL5, FFETARGET_okLOGICAL6, FFETARGET_okLOGICAL7, FFETARGET_okLOGICAL8, FFETARGET_okREAL4, FFETARGET_okREAL5, FFETARGET_okREAL6, FFETARGET_okREAL7 and FFETARGET_okREAL8. * bld.h: Likewise. * expr.c: Likewise. * target.h: Likewise. * com.c: Likewise. From-SVN: r67622
Andreas Jaeger committed -
f: * Make-lang.in: Update. * top.c: Include opts.h. Define cl_options_count and cl_options. java: * Make-lang.in: Update. * lang.c: Include opts.h. Define cl_options_count and cl_options. From-SVN: r67621
Neil Booth committed -
PR c++/11039 * g++.dg/warn/implicit-typename2.C: New test. * g++.dg/warn/implicit-typename3.C: New test. From-SVN: r67620
Kriang Lerdsuwanakij committed -
* java/net/Socket.java (Socket): Dont initialize inputShutdown and outputShutdown twice, call bind() and connect() to actually do the bind and connect tasks. (bind): Connect to canonical address if bindpoint is null, create socket and bind it to bindpoint. (connect): Check for exceptions. From-SVN: r67618
Michael Koch committed -
* java/net/DatagramSocket.java (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs into the Multicast constructors. * java/net/DatagramSocketImpl.java (getOption): Removed. (setOption): Removed. * java/net/MulticastSocket.java (MulticastSocket): Call setReuseAddress (true). * java/net/SocketImpl.java (getOption): Removed. (setOption): Removed. From-SVN: r67617
Michael Koch committed -
From-SVN: r67616
Neil Booth committed -
* Makefile.in: Rename options.c and options.h to c-options.c and c-options.h. (OBJS): Remove options.o. * c-opts.c: Don'tInclude c-options.h instead of options.h. * opts.c: Don't include options.h. (find_opt): Can't use enum opt_code or N_OPTS. * opts.h (struct cl_option, cl_options, cl_options_count): Move from... * opts.sh: ... here. From-SVN: r67615
Neil Booth committed -
PR pch/9830 * ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h if HAVE_MINCORE is defined. (MAP_FAILED): Define if not defined. (gt_pch_save): Test against MAP_FAILED. (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force the mapping address to the preferred base after checking it is possible to do so. Test against MAP_FAILED. * configure.in: Test for the presence of mincore in libc. * config.in: Regenerate. * configure: Regenerate. From-SVN: r67614
Eric Botcazou committed -
From-SVN: r67613
Tim Josling committed -
* config/alpha/alpha.c (alpha_setup_incoming_varargs): Fix conditional compilation guard. From-SVN: r67612
Richard Henderson committed -
* optabs.c (expand_abs): Set result_unsignedp to 1 if flag_trav is zero. From-SVN: r67611
Kazu Hirata committed -
PR libgcj/10886: * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue): Test for empty vector. From-SVN: r67610
Jeff Sturm committed -
From-SVN: r67608
GCC Administrator committed
-
- 07 Jun, 2003 16 commits
-
-
From-SVN: r67606
Richard Henderson committed -
From-SVN: r67605
Richard Henderson committed -
* g++.dg/other/offsetof3.C: Use size_t. * g++.dg/other/offsetof4.C: Likewise. From-SVN: r67603
Richard Henderson committed -
* basic-block.h (EDGE_SIBCALL): New. (EDGE_ALL_FLAGS): Update. * cfg.c (dump_edge_info): Add sibcall name. * cfgbuild.c (make_edges): Use EDGE_SIBCALL. * cfgrtl.c (purge_dead_edges): Handle sibcalls. From-SVN: r67602
Richard Henderson committed -
* mklibgcc.in (lib2funcs): Remove _exit. * libgcc2.c: Remove L_exit. * gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT. * system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY. * doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY. From-SVN: r67599
Andreas Jaeger committed -
* java/security/Security.java (secprops): Initialize. (loadProviders): Return boolean. (static): Check result of loadProvider calls. If necessary display WARNING and fallback to Gnu provider. From-SVN: r67597
Mark Wielaard committed -
* ggc.h: Convert to ISO C90 prototypes. * ggc-none.c: Likewise. * ggc-common.c: Likewise. * ggc-page.c: Likewise. * ggc-simple.c: Likewise. From-SVN: r67596
Andreas Jaeger committed -
2002-06-06 James Clark <jjc@jclark.com> Fix for PR libgcj/8738: * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method. * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise. (write): Always decrease avail when count is increased. * java/lang/natString.cc (getBytes): Check converter havePendingBytes() and whether output buffer is full before increasing size. 2002-06-06 Mark Wielaard <mark@klomp dot org> * java/io/PrintStream.java (writeChars(char[],int, int)): Check converter.havePendingBytes(). (writeChars(String,int,int)): Likewise. * java/io/OutputStreamWriter.java (writeChars(char[], int, int)): Check converter.havePendingBytes() and flush buffer when stalled. From-SVN: r67595
Mark Wielaard committed -
* symbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK. * symbol.h: Likewise. * storag.c (ffestorag_new): Remove tests for macro FFECOM_storageHOOK. * storag.h: Likewise. * lab.c (ffelab_new): Remove tests for macro FFECOM_labelHOOK. * lab.h: Likewise. * global.c: Remove tests for macro FFECOM_globalHOOK. * global.h (struct _ffeglobal_): Likewise. * bld.h: Remove tests for macros FFECOM_constantHOOK, FFECOM_nonterHOOK, FFECOM_globalHOOK, FFECOM_labelHOOK, FFECOM_storageHOOK, FFECOM_symbolHOOK. Remove code dependend on FFECOM_itemHOOK. * bld.c: Likewise. * com.h (FFECOM_constantHOOK): Remove define. (FFECOM_nonterHOOK): Remove. (FFECOM_globalHOOK): Remove. (FFECOM_labelHOOK): Remove. (FFECOM_storageHOOK): Remove. (FFECOM_symbolHOOK): Remove. * com.c (ffecom_get_external_identifier_): Remove usage of FFETARGET_isENFORCED_MAIN_NAME. * bld.c: Remove code dependend on FFEBLD_BLANK_, FFECOM_itemHOOK. (ffebld_new_accter): Likewise. (ffebld_new_arrter): Likewise. (ffebld_new_conter_with_orig): Likewise. (ffebld_new_item): Likewise. (ffebld_new_labter): Likewise. (ffebld_new_labtok): Likewise. (ffebld_new_none): Likewise. (ffebld_new_one): Likewise. (ffebld_new_symter): Likewise. (ffebld_new_two): Likewise. From-SVN: r67594
Andreas Jaeger committed -
* crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE. * system.h: Poison INIT_SECTION_PREAMBLE. From-SVN: r67593
Andreas Jaeger committed -
From-SVN: r67592
Andreas Jaeger committed -
* config.gcc (with_cpu handling): Translate sparc64 in $machine to --with-cpu=v9. * config/alpha/alpha.c (TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition. (alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK. * target.h: New hook asm_out.file_end. * target.h: Update to match. New hook macro TARGET_ASM_FILE_END. * toplev.c (compile_file: Use targetm.asm_out.file_end. * system.h: Poison ASM_FILE_END. * varasm.c (file_end_indicate_exec_stack): New. * output.h: Prototype it. * doc/tm.texi: Document TARGET_ASM_FILE_END and file_end_indicate_exec_stack. Delete references to attasm.h. * config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end. (ASM_FILE_END): Delete; move code... * config/darwin.c (darwin_file_end): Here; new function. * config/darwin-protos.h: Prototype it. * config/alpha/alpha.c (unicosmk_asm_file_end): Make static, rename unicosmk_file_end. * config/arm/aof.h (ASM_FILE_END): Delete; move code... * config/arm/arm.c (aof_file_end): ... here; new static function. Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER. Make aof_dump_imports and aof_dump_pic_table static. * config/avr/avr.c (asm_file_end): Rename avr_file_end, make static. Set TARGET_ASM_FILE_END to avr_file_end. * config/c4x/c4x.c (c4x_file_end): Make static. Take no arguments. Set TARGET_ASM_FILE_END to c4x_file_end. * config/h8300/h8300.c (asm_file_end): Rename h8300_file_end, make static. Take no arguments. Set TARGET_ASM_FILE_END to h8300_file_end. * config/i370/i370.h (ASM_FILE_END): Delete; move code... * config/i370/i370.c (i370_file_end): ... here; new static function. Set TARGET_ASM_FILE_END to i370_file_end. * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end. Take no arguments. Call file_end_indicate_exec_stack if NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END. * config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END. Define NEED_INDICATE_EXEC_STACK to 0. * config/i386/linux.h, config/i386/linux64.h: Redefine NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END. * config/i386/winnt.c (i386_pe_asm_file_end): Rename to i386_pe_file_end. Take no arguments. Use ix86_file_end. * config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to ia64_hpux_file_end, make static. Take no arguments. * config/ip2k/ip2k.c (asm_file_start, asm_file_end, commands_in_prologues, commands_in_epilogues): Delete. (function_epilogue): Update to match. * config/mips/mips.c (mips_asm_file_end): Rename mips_file_end, make static. Take no arguments. (iris6_asm_file_end): Rename iris6_file_end, make static, use mips_file_end, take no arguments. Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as appropriate. * config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end, make static, take no arguments. Set TARGET_ASM_FILE_END to mmix_file_end. * config/pa/pa.c (output_deferred_plabels): Make static, take no arguments. Set TARGET_ASM_FILE_END to output_deferred_plabels. * config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it. (ASM_FILE_END): Delete; move code... * config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here; new static function. * config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h * config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h: Don't set ASM_FILE_END. * config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h * config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h * config/sparc/linux64.h: Set TARGET_ASM_FILE_END to file_end_indicate_exec_stack; don't set ASM_FILE_END. * config/alpha/unicosmk.h, config/i386/cygming.h * config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END. * config/arm/arm-protos.h, config/alpha/alpha-protos.h * config/avr/avr-protos.h, config/c4x/c4x-protos.h * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h * config/ip2k/ip2k-protos.h, config/mips/mips-protos.h * config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update. From-SVN: r67591
Zack Weinberg committed -
* i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified. From-SVN: r67590
Jan Hubicka committed -
2003-06-07 H.J. Lu <hongjiu.lu@intel.com> * lib/copy-file.exp: New. Implement gcc_copy_files. * lib/dg-pch.exp: Load copy-file.exp (dg-pch): Use gcc_copy_files instead of "file copy". From-SVN: r67588
H.J. Lu committed -
* include/posix.h (O_DSYNC): Define O_DSYNC on platforms not supporting O_FSYNC (newlib). From-SVN: r67587
Michael Koch committed -
* Makefile.in (stageprofile_build): Kill redundant target. * i386.c (mdep_reorg): Don't pad jumps for Athlon. From-SVN: r67586
Jan Hubicka committed
-