- 13 Apr, 2003 9 commits
-
-
PR c++/10300 * init.c (build_new_1): Reorganize. PR c++/10300 * g++.dg/init/new5.C: New test. From-SVN: r65550
Mark Mitchell committed -
From-SVN: r65549
Nick Clifton committed -
From-SVN: r65547
Nick Clifton committed -
config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete support for -mcall-aix switch. config/rs6000/eabiaix.h: Delete. config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC. (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG, RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC. config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise. config/rs6000/rs6000.c (print_operand, rs6000_stack_info, debug_stack_info, output_function_profiler, rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise. config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv, call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv, sibcall_nonlocal_sysv, sibcall_value_local64): Likewise. config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix multilibs. (MULTILIB_DIRNAMES): Remove mcall-aix directories. (MULTILIB_EXCEPTIONS): Delete. (MULTILIB_MATCHES): Remove mcall-aix matches. doc/fragments.texi: Replace -mcall-aix example with an ARM one. doc/install.texi: Delete powerpc-*-eabiaix target. doc/invoke.texi: Remove documentation of mcall-aix switch. doc/tm.texi: Remove mcall-aix from example CPP_SPEC. config.gcc: Delete powerpc-*-eabiaix target. From-SVN: r65546
Nick Clifton committed -
* doc/invoke.texi: Fix typos. * doc/tm.texi: Likewise. From-SVN: r65544
Kazu Hirata committed -
From-SVN: r65542
John David Anglin committed -
From-SVN: r65540
Zack Weinberg committed -
* tree.c (build_constructor): New function. * tree.h: Prototype it. * c-typeck.c (build_c_cast, pop_init_level) * profile.c (build_function_info_value, build_gcov_info_value) (create_profiler): Use build_constructor. * builtins.c (expand_builtin_args_info): Remove #if 0 blocks. * objc/objc-act.c (build_constructor): Rename objc_build_constructor. Use build_constructor. (build_objc_string_object, objc_add_static_instance) (init_def_list, init_objc_symtab, init_module_descriptor) (generate_static_references, build_selector_translation_table) (build_descriptor_table_initializer, generate_descriptor_table) (build_protocol_initializer, build_ivar_list_initializer) (generate_ivars_list, build_dispatch_table_initializer) (generate_dispatch_table, generate_protocol_list) (build_category_initializer, build_shared_structure_initializer): Update to match. ada: * gigi.h, utils2.c (build_constructor): Rename gnat_build_constructor. Use build_constructor. * decl.c (gnat_to_gnu_entity) * trans.c (tree_transform, pos_to_constructor, extract_values) * ada/utils.c (build_template, convert_to_fat_pointer, convert) (unchecked_convert) * ada/utils2.c (build_binary_op, build_call_raise, build_allocator) (fill_vms_descriptor): Update to match. cp: * class.c (initialize_array) * decl.c (reshape_init) * decl2.c (build_expr_from_tree) * init.c (build_zero_init) * pt.c (tsubst_copy, tsubst_copy_and_build) * rtti.c (tinfo_base_init, generic_initializer, ptr_initializer) (ptm_initializer, class_initializer, get_pseudo_ti_init) * semantics.c (finish_compound_literal) * typeck.c (build_ptrmemfunc1) * typeck2.c (store_init_value, process_init_constructor) (build_functional_cast): Use build_constructor. f: * com.c (ffecom_build_complex_constant_, ffecom_expr_) (ffecom_init_zero_, ffecom_transform_namelist_, ffecom_vardesc_) (ffecom_vardesc_array_, ffecom_vardesc_dims_, ffecom_2) * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_) (ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Use build_constructor. java: * class.c (make_field_value, make_method_value, get_dispatch_table) (make_class_data, emit_offset_symbol_table) * constants.c (build_constants_constructor) * java-tree.h (START_RECORD_CONSTRUCTOR) * parse.y (maybe_build_array_element_wfl): Use build_constructor. From-SVN: r65539
Zack Weinberg committed -
From-SVN: r65538
GCC Administrator committed
-
- 12 Apr, 2003 25 commits
-
-
From-SVN: r65531
Zack Weinberg committed -
(m68hc11_eq_compare_operator): Declare * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate. * config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate (d_register_operand): Check the operand mode. (hard_addr_reg_operand): Likewise. From-SVN: r65529
Stephane Carrez committed -
* config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New pattern for dbcc/ibcc generation for 68HC12. ("doloop_end"): New pattern. ("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne. ("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne. ("m68hc12_dbcc_dec_qi"): New pattern. ("m68hc12_dbcc_inc_qi"): New pattern. (split): Add split for the above when we can't use dbcc/ibcc due to reloading. (peephole2): Add peephole2 to generate the above when possible. From-SVN: r65527
Stephane Carrez committed -
* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Change basic_streambuf instantiation to "unsigned char". * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. From-SVN: r65526
David Edelsohn committed -
* config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the mode of operand 0. (peephole2 optimize const load): Likewise for operand 2. ("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which clobbers CC_REGNUM. ("*rotrhi3_with_carry"): Likewise. (ashift:DI 1 split): Update pattern to create the above rotate. (lshiftrt:DI 1 split): Likewise. From-SVN: r65524
Stephane Carrez committed -
* config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant. ("tstqi_z_used" split): Use it. ("cmphi_z_used"): Likewise. ("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant. ("cmpqi_z_used"): Likewise. From-SVN: r65522
Stephane Carrez committed -
PR c++/7910 * config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko. PR c++/7910 * g++.dg/ext/dllimport1.C: New test. From-SVN: r65519
Mark Mitchell committed -
2003-04-12 Paolo Carlini <pcarlini@unitus.it> Remove _M_buf_size_opt, use directly _M_buf_size instead. * include/bits/fstream.tcc (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove references to _M_buf_size_opt. * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise. * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename __bufsize to __in_avail and __size_opt to __buf_size. * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise. * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise. * include/std/std_streambuf.h (~basic_streambuf(), basic_streambuf()): Likewise, remove _M_buf_size_opt member. * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise. From-SVN: r65518
Paolo Carlini committed -
* configure.in: Check for wchar.h, mbstowcs, and wcswidth. * configure, config.in: Regenerate. * intl.c (gcc_gettext_width): New function. * intl.h: Prototype it. cp: * call.c (print_z_candidates): Use gcc_gettext_width, not strlen, to determine how much padding to use. From-SVN: r65517
Zack Weinberg committed -
From-SVN: r65514
Eric Botcazou committed -
2003-04-12 Paolo Carlini <pcarlini at unitus dot it> * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t), stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t): _M_buf_size_opt == 0 means only "not to use an allocated buffer" since a stack-based buffer is used for small values of the size_t parameter. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow). If _M_buf_size != 0 flush out the buffer (any kind, stack-based too). * testsuite/ext/stdio_filebuf_2.cc: New testfile. From-SVN: r65513
Paolo Carlini committed -
* config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option; recognize -mnorelax. (reg_class): Add Z_OR_S_REGS to represent soft registers with Z (REG_CLASS_NAMES): Add its name. (REG_CLASS_CONTENTS): Define its content. From-SVN: r65511
Stephane Carrez committed -
* config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack parameters so that offsets are valid for far definition. (__mulsi3): Likewise and use ret to return. (___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result. From-SVN: r65509
Stephane Carrez committed -
From-SVN: r65508
David Edelsohn committed -
2003-04-12 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9533 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto. From-SVN: r65507
Paolo Carlini committed -
* mklibgcc.in (libgcc-stage-start): For every multilib directory containing a libgcc.a, move lib* to the corresponding stage dir. From-SVN: r65505
Alexandre Oliva committed -
* Makefile.in (stage1-start, stage2-start, stage3-start, stage4-start): Move $(SPECS) to specs in stage dir. (unstage1 unstage2 unstage3 unstage4): Move specs in stage dir back as $(SPECS). From-SVN: r65504
Alexandre Oliva committed -
mklibgcc.in (libgcc-stage-start): Move into the stage directory object files from the non-libgcc/ multilib... * mklibgcc.in (libgcc-stage-start): Move into the stage directory object files from the non-libgcc/ multilib directories as well. From-SVN: r65503
Alexandre Oliva committed -
From-SVN: r65502
Geoffrey Keating committed -
From-SVN: r65501
Geoffrey Keating committed -
PR c++/9393 * doc/invoke.texi (Debugging Options): Document -frandom-seed. * configure.in: Check for gettimeofday. * tree.c (flag_random_seed): Define. (default_flag_random_seed): New. (append_random_chars): Use flag_random_seed rather than trying to acquire randomness here. * tree.h (default_flag_random_seed): Declare. * toplev.c (display_help): Add -frandom-seed and -fstack-limit-* descriptions. (decode_f_option): Handle -frandom-seed. (print_switch_values): Call default_flag_random_seed. * flags.h (flag_random_seed): Declare. * configure: Regenerate. * config.in: Regenerate. * config/alpha/t-crtfm: Use -frandom-seed. From-SVN: r65500
Geoffrey Keating committed -
* c-pch.c: Include flags.h. Add comments to routines. (struct c_pch_validity): New. (get_ident): Update PCH file version number. (pch_init): Output current debugging type. (c_common_valid_pch): Check debugging type. * Makefile.in (c-pch.o): Update dependencies. * flags.h (debug_type_names): Declare. * toplev.c (debug_type_names): Move out of decode_g_option. From-SVN: r65499
Geoffrey Keating committed -
From-SVN: r65497
Geoffrey Keating committed -
2003-04-11 Eric Christopher <echristo@redhat.com> * emit-rtl.c (gen_rtx): Fix typos. From-SVN: r65496
Eric Christopher committed -
From-SVN: r65495
GCC Administrator committed
-
- 11 Apr, 2003 6 commits
-
-
From-SVN: r65488
Richard Henderson committed -
PR c++/10202 * expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P not COMPLETE_TYPE_P for re-invoking layout_decl. * g++.dg/expr/incomplete1.C: New. From-SVN: r65484
Richard Henderson committed -
* doc/bugreport.texi: Fix paragraph breaking between sections in preparation for TeXinfo's paragraph indentation fixes. * doc/extend.texi: Ditto. * doc/invoke.texi: Ditto. * doc/objc.texi: Ditto. * doc/gcov.texi: Wrap 'gcov' in @command{}. * doc/invoke.texi (Darwin Options): Add a preamble. From-SVN: r65482
Simon Law committed -
2003-04-11 Bud Davis <bdavis9659@comcast.net> PR Fortran/9263 * gcc/f/data.c (ffedata_advance_): Check initial, final and increment values for INTEGER typeness. PR Fortran/1832 * libf2c/libI77/iio.c (z_putc): Check for overflowing length of output string. * gcc/f/news.texi: Document these fixes. PR Fortran/9263 * g77.f-torture/noncompile/9263.f: New test PR Fortran/1832 * g77.f-torture/execute/1832.f: New test From-SVN: r65481
Bud Davis committed -
* config/i386/i386.c (tls_model_chars): Remove. (ix86_encode_section_info, ix86_strip_name_encoding): Remove. (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P. (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL. (tls_symbolic_operand_1): Likewise. (legitimate_pic_address_disp_p): Use SYMBOL_REF_LOCAL_P. * config/i386/i386.h (TARGET_ENCODE_SECTION_INFO): Remove. (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove. * config/i386/winnt.c (i386_pe_encode_section_info): Replace bits "copied from i386.h" with default_encode_section_info. From-SVN: r65480
Richard Henderson committed -
* rtl.def (SYMBOL_REF): Add two 0 fields. * gengtype.c (adjust_field_rtx_def): Handle them. * print-rtl.c (print_rtx): Print them. * rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS): New. (SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New. (SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New. (SYMBOL_FLAG_SMALL, SYMBOL_REF_SMALL_P): New. (SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_TLS_MODEL): New. (SYMBOL_FLAG_EXTERNAL, SYMBOL_REF_EXTERNAL_P): New. (SYMBOL_FLAG_MACH_DEP): New. * optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL. * varasm.c (make_decl_rtl): Set SYMBOL_REF_DECL. (assemble_static_space): Set SYMBOL_REF_FLAGS. (assemble_trampoline_template): Likewise. (output_constant_def, force_const_mem): Likewise. (default_encode_section_info): New. * output.h: Declare it. * target-def.h (TARGET_ENCODE_SECTION_INFO): Use it. From-SVN: r65479
Richard Henderson committed
-