- 10 Aug, 2000 7 commits
-
-
* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-scope-1.c, gcc.dg/c99-array-lval-1.c, gcc.dg/c99-const-expr-1.c, gcc.dg/c99-func-1.c, gcc.dg/c99-func-2.c, gcc.dg/c99-scope-1.c: New tests. From-SVN: r35602
Joseph Myers committed -
From-SVN: r35601
Jeff Law committed -
Thu Aug 10 00:11:04 2000 Ovidiu Predescu <ovidiu@cup.hp.com> * gthr-posix.h: Include auto-host.h. Conditionally include <sched.h>. * configure.in: Check for the <sched.h> header file. * config.in: Added define for HAVE_SCHED_H. From-SVN: r35600
Ovidiu Predescu committed -
From-SVN: r35599
Ovidiu Predescu committed -
From-SVN: r35598
Ovidiu Predescu committed -
From-SVN: r35597
Ovidiu Predescu committed -
From PR gcj/310: * libjava.compile/PR310.java: New file. * libjava.compile/PR310.xfail: New file. From-SVN: r35596
Tom Tromey committed
-
- 09 Aug, 2000 19 commits
-
-
* c-typeck.c (process_init_element): For -Wtraditional, warn about initialization of unions. * invoke.texi (-Wtraditional): Document new behavior. From-SVN: r35595
Kaveh R. Ghazi committed -
From-SVN: r35594
Zack Weinberg committed -
* configure.in (--enable-c-cpplib): Uncomment. Use AC_DEFINE instead of extra_c_flags. (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags. * configure: Regenerate. * config.in: Regenerate. * cpperror.c (cpp_type2name): New function. * cpplex.c (lex_line): If we issued an error for an invalid preprocessing directive, discard that logical line. * cpplib.c (do_line): Call a hook function if the current file is renamed by #line. (do_ident): Pass the contents of the string, not the entire token, to the callback function. * cpplib.h (CPP_LAST_PUNCTUATOR): New #define. (cb.rename_file): New hook function. (cb.ident): Adjust prototype. (cpp_type2name): Prototype. * cppmacro.c (dump_macro_args): Correct precedence lossage. * cppmain.c (cb_ident): Update for changed interface. (cb_rename_file): New function. (main): Set rename callback. From-SVN: r35593
Zack Weinberg committed -
* pt.c (tsubst_aggr_type): Bail if creating the argvec fails. (tsubst_template_arg_vector): Likewise. From-SVN: r35592
Jason Merrill committed -
From-SVN: r35591
Alexandre Oliva committed -
2000-08-09 Bryce McKinlay <bryce@albatross.co.nz> * Makefile.am: Move beans and applet classes to awt_java_source_files. * Makefile.in: Rebuilt. From-SVN: r35590
Bryce McKinlay committed -
2000-08-09 Bryce McKinlay <bryce@albatross.co.nz> * Makefile.am: Move beans and applet classes to awt_java_source_files. * Makefile.in: Rebuilt. * java/awt/Color.java (getTransparency): New method. * java/awt/Component.java: Various updates. * java/awt/Container.java (removeNotify): Call super.removeNotify() after dealing with children. * java/awt/Toolkit.java (changeSupport): Renamed from pcsupport. * java/awt/Window.java: Various new methods and updates. * java/awt/color/ICC_Profile.java (getNumComponents): Cast profileID to int for switch. * java/awt/event/KeyEvent.java (paramString): Initialize `r'. * java/awt/event/WindowEvent.java (paramString): Ditto. * java/awt/geom/Dimension2D.java (clone): Wrap super call with try/catch block. * java/awt/geom/Point2D.java (clone): Ditto. * java/awt/geom/RectangularShape.java (clone): Ditto. * java/awt/image/ColorModel.java (bits, cspace, transparency, hasAlpha, isAlphaPremultiplied): Make package-private, not private. From-SVN: r35589
Bryce McKinlay committed -
* rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi runtime. * cp/tinfo.cc (__dynamic_cast): Likewise. * cp/inc/cxxabi.h (__dynamic_cast): Likewise. From-SVN: r35588
Nathan Sidwell committed -
* g++.old-deja/g++.abi/ptrflags.C: Adjust rtti member names. * g++.old-deja/g++.abi/vmihint.C: Likewise. From-SVN: r35587
Nathan Sidwell committed -
* cvt.c (convert_to_pointer_force): Fix error message when attempting to cast from ambiguous base. From-SVN: r35586
Nathan Sidwell committed -
From-SVN: r35585
Jeff Law committed -
2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com> Preliminary wchar_t implementation, with trivial encodings. * docs/configopts.html: Add bits about canonical configure option checking. * testsuite/27_io/iostream_objects.cc: Replace this file (which has newly-declared-illegal mixing of wide/narrow stdstreams) with... * testsuite/27_io/narrow_stream_objects.cc: New file. * testsuite/27_io/wide_stream_objects.cc: New file. * bits/fstream.tcc (underflow): Temporarily hack a solution together that writes from the external file to the internal buffers. This removes codecvt from the loop, and is incorrect. (_M_really_overflow): Same here. * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks. 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com> Ulrich Drepper <drepper@cygnus.com> * config/c_io_libio.h: Tweak. * config/c_io_libio_codecvt.c: New file. * libio/Makefile.am: Add c_codecvt.c. * libio/Makefile.in: Regenerate. * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the stream is not orientated. * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until encoding gets fleshed out. * bits/basic_file.h: Add specialization declarations. * config/c_io_libio.cc: Add specializations for pbackfail, uflow. * config/c_io_libio.h: Add __c_wfile_type. * bits/basic_file.h: Add _M_wfile. * config/c_io_libio.cc (__basic_file<char>): Initialize the streams without setting the orientation of the underlying FILE to either wide or narrow. (__basic_file<wchar_t>)): Enable tricky wchar_t io bits. From-SVN: r35584
Benjamin Kosnik committed -
2000-08-08 Benjamin Kosnik <bkoz@cygnus.com> Ulrich Drepper <drepper@cygnus.com> * config/c_io_libio.h: Tweak. * config/c_io_libio_codecvt.c: New file. * libio/Makefile.am: Add c_codecvt.c. * libio/Makefile.in: Regenerate. * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the stream is not orientated. * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until encoding gets fleshed out. * bits/basic_file.h: Add specialization declarations. * config/c_io_libio.cc: Add specializations for pbackfail, uflow. * config/c_io_libio.h: Add __c_wfile_type. * bits/basic_file.h: Add _M_wfile. * config/c_io_libio.cc (__basic_file<char>): Initialize the streams without setting the orientation of the underlying FILE to either wide or narrow. (__basic_file<wchar_t>)): Enable tricky wchar_t io bits. From-SVN: r35583
Benjamin Kosnik committed -
2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com> Finish preliminary wchar_t implementation, with trivial encodings. * docs/configopts.html: Add bits about canonical configure option checking. * testsuite/27_io/iostream_objects.cc: Replace this file (which has newly-declared-illegal mixing of wide/narrow stdstreams) with... * testsuite/27_io/narrow_stream_objects.cc: New file. * testsuite/27_io/wide_stream_objects.cc: New file. * bits/fstream.tcc (underflow): Temporarily hack a solution together that writes from the external file to the internal buffers. This removes codecvt from the loop, and is incorrect. (_M_really_overflow): Same here. * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks. From-SVN: r35582
Benjamin Kosnik committed -
* pt.c (tsubst_aggr_type): Bail if creating the argvec fails. (tsubst_template_arg_vector): Likewise. * decl2.c (build_anon_union_vars): Choose the largest field; don't assume that one will be as large as the union. From-SVN: r35581
Jason Merrill committed -
From-SVN: r35580
Alexandre Oliva committed -
* caller-save.c (mark_referenced_regs): Mark partially-overwritten multi-word registers. From-SVN: r35579
Alexandre Oliva committed -
From-SVN: r35578
Alexandre Oliva committed -
From-SVN: r35577
Joseph Myers committed
-
- 08 Aug, 2000 14 commits
-
-
* c-common.c (combine_strings, check_format_info): Refer to ISO C or ISO C89 instead of ANSI C. * c-decl.c (grokdeclarator, xref_tag, finish_struct, build_enumerator, do_case): Likewise. * c-lex.c (parse_float, yylex): Likewise. * c-parse.in: Likewise. * c-typeck.c (common_type, build_array_ref, build_binary_op, build_unary_op, pedantic_lvalue_warning, build_conditional_expr, build_c_cast, convert_for_assignment, set_init_index, set_init_label, c_expand_start_case): Likewise. * toplev.c (documented_lang_options, display_help): Likewise. From-SVN: r35576
Joseph Myers committed -
* h8300.c: Fix formatting. * h8300.h: Likewise. * h8300.md: Likewise. (movsi_h8300hs): Fix formatting of the resulting assembly code. From-SVN: r35575
Kazu Hirata committed -
From-SVN: r35574
Kazu Hirata committed -
* alpha/alpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define. * alpha/alpha.md (untyped_call): Use GEN_CALL define. * clipper/clipper.md (untyped_call): Likewise. * dsp16xx/dsp16xx.md (untyped_call): Likewise. * fx80/fx80.md (untyped_call): Likewise. * mips/mips.md (untyped_call): Likewise. * ns32k/ns32k.md (untyped_call): Likewise. * pa/pa.md (untyped_call): Likewise. * romp/romp.md (untyped_call): Likewise. * sparc/sparc.md (untyped_call): Likewise. From-SVN: r35573
Rodney Brown committed -
i860.c (singlemove_string): Do not generate assembler pseudo instructions that must be expanded (that is... 2000-08-08 Jason Eckhardt <jle@cygnus.com> * config/i860/i860.c (singlemove_string): Do not generate assembler pseudo instructions that must be expanded (that is, with signed constants larger than 16 bits). From-SVN: r35572
Jason Eckhardt committed -
* flow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0. Don't collect alias info at -O0. (init_propagate_block_info): Don't kill memory stores at -O0. (mark_set_1, mark_used_regs): Likewise. From-SVN: r35571
Richard Henderson committed -
* rs6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED. (mask64_operand): Remove sign-extend thinko. (rldic_operand): New function. (load_multiple_operation): regno's are unsigned ints. (store_multiple_operation): Likewise. (lmw_operation): Likewise. (stmw_operation): Likewise. (includes_lshift_p): shift_mask is unsigned int. (includes_lshift64_p): New function. (addrs_ok_for_quad_peep): unsigned int reg1. (print_operand): Consistently add "else" after output_operand_lossage(). (print_operand, case 'b'): Fold in case 'W'. (print_operand, case 'W'): Print rldic MB value. (output_epilogue): Update Objective-C language string. (output_toc): unsigned HOST_WIDE_INT low, compare unsigned. * rs6000.h (PREDICATE_CODES): Add rldic_operand. * rs6000.md (ashldi3): Add rldic instruction. (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE". (cmpsi_internal2, cmpdi_interal2): Use 'b' output template modifier. From-SVN: r35570
David Edelsohn committed -
* gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of surrogate characters. * gnu/gcj/convert/Output_UTF8.java (standardUTF8): Default to true. (write): Correct handling of surrogate characters. From-SVN: r35569
Tom Tromey committed -
* config/ia64/ia64-protos.h: Remove duplicates. Update for massive code rearrangements. * config/ia64/ia64.c (ia64_arpfs_regno): Remove. (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove. (ia64_local_regs, ia64_need_regstk): Remove. (ar_ccv_reg_operand): New. (ia64_gp_save_reg): New. (struct ia64_frame_info): Combine most of the size elements; add new gr save elements. (find_gr_spill): New. (next_scratch_gr_reg): New. (mark_reg_gr_used_mask): New. (ia64_compute_frame_size): Rewrite. Allocate special AR regs to GR backing store regs when possible. (ia64_initial_elimination_offset): New. (ia64_rap_fp_offset): Remove. (save_restore_insns): Remove. (setup_spill_pointers): New. (finish_spill_pointers): New. (spill_restore_mem): New. (do_spill, do_restore): New. (ia64_expand_prologue): Rewrite to use them. (ia64_expand_epilogue): Likewise. (ia64_direct_return): Update for current_frame_info changes. (ia64_function_prologue): Simplify .prologue emission. Emit .spill when needed. (ia64_setup_incoming_varargs): Don't ever emit rtl. (ia64_dbx_register_number): New. (ia64_initialize_trampoline): New. (ia64_secondary_reload_class): Request GR_REGS for integer arithmetic destined for FR_REGS. (ia64_init_machine_status): Don't reset return_address_pointer_rtx. (ia64_mark_machine_status): Mark ia64_gp_save. (rws_access_regno): Rename from rws_access_reg; don't treat predicates specially. (rws_access_reg): New. Update all callers. (rtx_needs_barrier): Remove dead unspecs. (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit. (ia64_encode_section_info): Silence signed/unsigned warnings. (spill_offset, sp_offset, spill_offset_emitted): Remove. (tmp_reg, tmp_saved): Remove. (process_set): Rewrite to expect complicated bits via REG_FRAME_RELATED_EXPR. (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit in the use of ar.ccv; never set RTX_UNCHANGING_P. (ia64_expand_op_and_fetch): Likewise. (ia64_expand_compare_and_swap): Likewise. (ia64_expand_builtin): Likewise. * config/ia64/ia64.h (AR_UNAT_REGNUM): New. (FIRST_PSEUDO_REGISTER): Update. (AR_M_REGNO_P): Update. (FIXED_REGS): Don't mark three local registers as used. (EXTRA_CC_MODES): New. (SELECT_CC_MODE): New. (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode. (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates. (FRAME_GROWS_DOWNWARD): Unset. (STARTING_FRAME_OFFSET): Zero. (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer. (INITIAL_ELIMINATION_OFFSET): Defer to out of line function. (HARD_FRAME_POINTER_REGNUM): New. (CAN_DEBUG_WITHOUT_FP): Define. (TRAMPOLINE_TEMPLATE): Remove. (TRAMPOLINE_SIZE): Lower to 32. (TRAMPOLINE_ALIGNMENT): Lower to 64. (INITIALIZE_TRAMPOLINE): Defer to out of line function. (PREDICATE_CODES): Update. (struct machine_function): Add ia64_gp_save. * config/ia64/ia64.md: Purge unused unspecs. (movsi patterns): Allow moves to/from AR_M_REGS. (movdi patterns): Allow moves to/from p0. (call patterns): Move most setjmp hackery to ia64_gp_save_reg. (gr_spill, gr_restore): Indicate ar.unat read/written. (nonlocal_goto): Don't pass old frame_pointer. (nonlocal_goto_receiver): Remove. (exception_receiver): New. (builtin_setjmp_setup): New. (builtin_setjmp_receiver): New. * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle. (__ia64_nonlocal_goto): Bundle. Don't kill r7. (__ia64_restore_stack_nonlocal): Likewise. (__ia64_trampoline): New. * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line function. * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline. From-SVN: r35568
Richard Henderson committed -
From-SVN: r35567
Richard Henderson committed -
From-SVN: r35566
Richard Henderson committed -
* frame.h (ia64_frame_state): Add my_psp. * libgcc2.c (ia64_throw_helper): Add throw_sp argument. (__throw): Pass it in. Don't clobber r7. * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline. (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when and nothing to do with sp. (normalize_reg_loc): Use frame->my_psp. (frame_translate): Handle frame-pointer-less functions. Set spill_base correctly, in absence of being told. (__build_ia64_frame_state): New sp argument. Fill in frame->my_sp. (__ia64_backtrace_helper): New sp argument. Use builtin_return_address instead of label addresses. (print_record) [mem_stack_v]: No size member. From-SVN: r35565
Richard Henderson committed -
* tm.texi (LOCAL_REGNO): Document. * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default. (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers. * reload1.c (reload): Likewise when considering nonlocal labels. * config/ia64/ia64.h (LOCAL_REGNO): New. * config/sparc/sparc.h (LOCAL_REGNO): New. From-SVN: r35564
Richard Henderson committed -
* c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'. testsuite: * gcc.dg/noncompile/const-ll-1.c: New test. From-SVN: r35563
Joseph Myers committed
-