- 03 Dec, 2001 6 commits
-
-
cp: PR g++/3381 * parse.y (named_complex_class_head_sans_basetype): Add new reduction. * Make-lang.in (parse.c): Adjust expected conflict count. testsuite: * g++.dg/other/scope1.C: New test. * g++.dg/template/explicit-instantiation.C: Remove XFAIL From-SVN: r47546
Nathan Sidwell committed -
From-SVN: r47545
GCC Administrator committed -
* class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the immediate binfos for our virtual bases. From-SVN: r47543
Jason Merrill committed -
* config/rs6000/rs6000.h (MASK_ALTIVEC_ABI, MASK_LONG_DOUBLE_128): Delete. (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET, TARGET_AIX_STRUCT_RET): New flags. (TARGET_SWITCHES): Remove entries for -mlong-double-128 and -mlong-double-64. Add entries for -m(no-)aix-struct-return and -m(no-)svr4-struct-return. (TARGET_OPTIONS): Add entry for -mlong-double-. (rs6000_long_double_size_string, rs6000_long_double_type_size, rs6000_altivec_abi): Declare. (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI, LONG_DOUBLE_TYPE_SIZE): Change definitions to match. (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return structures of size <= 8 bytes in registers. (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'. * config/rs6000/rs6000.c (rs6000_long_double_size_string, rs6000_long_double_type_size, rs6000_altivec_abi): New globals. (rs6000_override_options): Set rs6000_long_double_type_size from rs6000_long_double_size_string, if nonzero. Set the MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if not already set. (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a target_flags bit. (rs6000_init_builtins): This hook now takes no arguments. * config/rs6000/netbsd.h, config/rs6000/linux.h: Define DRAFT_V4_STRUCT_RET to 1. From-SVN: r47541
Zack Weinberg committed -
2001-12-02 Phil Edwards <pme@gcc.gnu.org> * docs/html/ext/howto.html: Update list of implemented DRs. * docs/html/ext/lwg-active.html: Import R20 from upstream. * docs/html/ext/lwg-defects.html: Import R20 from upstream. From-SVN: r47540
Phil Edwards committed -
c-typeck.c (really_start_incremental_init, [...]): Avoid constructor_max_index being other than an INTEGER_CST. * c-typeck.c (really_start_incremental_init, push_init_level): Avoid constructor_max_index being other than an INTEGER_CST. testsuite: * gcc.dg/vla-init-1.c: New test. From-SVN: r47539
Joseph Myers committed
-
- 02 Dec, 2001 20 commits
-
-
* config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned. (ASM_GENERATE_INTERNAL_LABEL): Same. (UNIQUE_SECTION): Fix typo. From-SVN: r47538
David Edelsohn committed -
From-SVN: r47537
Richard Kenner committed -
From-SVN: r47536
Ben Elliston committed -
From-SVN: r47535
Richard Henderson committed -
* rtl.h (mem_attrs): Rename decl to expr; adjust all users. (MEM_EXPR): Rename from MEM_DECL; adjust all users. * emit-rtl.c (set_mem_expr): Rename from set_mem_decl. * expr.h, final.c, reload1.c: Adjust users. * alias.c (nonoverlapping_component_refs_p): New. (decl_for_component_ref, adjust_offset_for_component_ref): New. (nonoverlapping_memrefs_p): Use them. * emit-rtl.c (component_ref_for_mem_expr): New. (set_mem_attributes): Use it. (set_mem_offset): New. * expr.c (expand_assignment): Call set_mem_attributes for inner references; adjust the memory offset as needed. * print-rtl.c (print_mem_expr): New. (print_rtx): Use it. From-SVN: r47534
Richard Henderson committed -
From-SVN: r47533
Douglas B Rupp committed -
* config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro. (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG. (ASM_SPEC): Don't redefine. (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define. * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm. * config/alpha/vms-dwarf2.asm: New file. * Makefile.in (OBJS): Add vmsdbgout.c and its rule. * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG. * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks. (vmsdbgout_after_prologue): New declaration. * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE. * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address. * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG. (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG. (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address. (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG. Test VMS_DEBUGGING_INFO. (final_end_function): Test for VMS_AND_DWARF2_DEBUG. (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG. * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG. * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and VMS_AND_DWARF2_DEBUG. (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG. (decode_g_option): Add "vms" to debug_type_names. (process_options): Set vmsdbg_debug_hooks if -gvms. (lang_independent_init): Emit line number for VMS unless -g0. * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG. * vmsdbg.h, vmsdbgout.c: New files. From-SVN: r47532
Douglas B Rupp committed -
* Fix typos in ChangeLog. From-SVN: r47531
Toon Moene committed -
From-SVN: r47530
Richard Kenner committed -
2001-01-02 Toon Moene <toon@moene.indiv.nluug.nl> PR fortran/4885 * endfile.c (t_runc): After ftruncate. seek to end-of-file. From-SVN: r47529
Toon Moene committed -
* cfgrtl.c (purge_all_dead_edges): Initialize variable. * dwarf2out.c (is_cxx): Prototype. * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true' warning. * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning. From-SVN: r47528
Kaveh R. Ghazi committed -
From-SVN: r47527
Richard Kenner committed -
From-SVN: r47526
Bryce McKinlay committed -
2001-12-02 Tang Ching-Hui <nicholas@cs.nthu.edu.tw> Alexandre Petit-Bianco <apbianco@redhat.com> * expr.c: call save_expr on array for correct evaluation order, modified comment, fixed indentation. * parse.y: (patch_assignment): Correctly extract the array base from the tree generate by build_java_arrayaccess, added comments. (patch_array_ref): Remove SAVE_EXPR on ARRAY_REF. Fixes PR java/3096, PR java/3803, PR java/3965. Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com> From-SVN: r47525
Tang Ching-Hui committed -
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify. * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address rather than simplify_subreg. Check for volatile-ness. Check that we're not splitting one slow operation into two slow operations. In gcc/testsuite/: * gcc.c-torture/compile/structs.c: New testcase from GDB. From-SVN: r47524
Geoffrey Keating committed -
From-SVN: r47522
GCC Administrator committed -
* emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT before shifting. From-SVN: r47521
David Edelsohn committed -
* Makefile.am (nat_files, x_nat_files): Make sure the dependencies don't get deleted if compilation fails. * Makefile.in: Rebuilt. From-SVN: r47520
Bryce McKinlay committed -
From-SVN: r47519
Neil Booth committed -
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading capital from diagnostics. * c-lex.c (cb_file_change): Similarly. * c-parse.in : Similarly. * cfgrtl.c (verify_flow_info): Similarly. * collect2.c: Similarly. * cppfiles.c (find_include_file): Similarly. * cppinit.c (cpp_handle_option): Similarly. * cpplex.c (cpp_spell_token): Similarly. * cppmain.c (do_preprocessing): Similarly. * gcc.c (translate_options, process_command, do_spec1, main, pfatal_execute): Similarly. * genattr.c (main): Similarly. * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp, write_test_expr, main): Similarly. * gencodes.c (main): Similarly. * genconfig.c (main): Similarly. * genconstants.c (main): Similarly. * genemit.c (main): Similarly. * genextract.c (main): Similarly. * genflags.c (main): Similarly. * genopinit.c (main): Similarly. * genoutput.c (process_template, main): Similarly. * genpeep.c (main): Similarly. * genrecog.c (main): Similarly. * gensupport.c (is_predicable, identify_predicable_attribute, alter_predicate_for_insn, init_md_reader_args, main): Similarly. * ggc-page.c (alloc_anon): Similarly. * mips-tfile.c (add_string, add_procedure, add_file, read_line, parse_begin, parse_bend, parse_def, parse_end, parse_file, parse_stabs_common, parse_stabs, write_varray, write_object, read_seek, copy_object, main, error): Similarly. * profile.c (compute_branch_probabilities): Similarly. * reg-stack.c (check_asm_stack_operands): Similarly. * reload.c (find_reloads): Similarly. * reload1.c (spill_failure, failed_reload): Similarly. * rtl-error.c (_fatal_insn_not_found): Similarly. * toplev.c (read_integral_parameter, crash_signal, decode_f_option, set_target_switch, parse_options_and_default_flags) : Similarly. * tradcif.y (parse_number, yylex): Similarly. * tradcpp.c (main, fancy_abort): Similarly. * tree.c (tree_check_failed): Similarly. * varray.c (varray_check_failed): Similarly. * xcoffout.c (xcoff_output_standard_types): Similarly. cp: * call.c (build_java_interface_fn_ref): Similarly. * except.c (is_admissible_throw_operand): Similarly. * init.c (build_java_class_ref): Similarly. * xref.c (open_xref_file): Similarly. objc: * objc-act.c (get_object_ref, lookup_and_install_protocols, build_objc_string_object, objc_declare_alias, build_ivar_chain, finish_message_expr, build_protocol_expr, is_public, start_class): Similarly. testsuite: * objc.dg/alias.m: Update. * objc.dg/class-1.m: Update. * objc.dg/const-str-1.m: Update. * objc.dg/fwd-proto-1.m: Update. * objc.dg/id-1.m: Update. * objc.dg/super-class-1.m: Update. From-SVN: r47518
Neil Booth committed
-
- 01 Dec, 2001 13 commits
-
-
* c-decl.c (duplicate_decls, parmlist_tags_warning): Remove trailing period from diagnostics. * c-lex.c (cb_file_change): Similarly. * cppmacro.c (check_trad_stringification): Similarly. * gcc.c (do_spec_1): Similarly. * genattr.c (main): Similarly. * genattrtab.c (main, operate_exp, make_length_attrs): Similarly. * gencodes.c (main): Similarly. * genconfig.c (main): Similarly. * genconstants.c (main): Similarly. * genemit.c (main): Similarly. * genextract.c (main): Similarly. * genopinit.c (main): Similarly. * genoutput.c (main): Similarly. * genpeep.c (main): Similarly. * genrecog.c (main): Similarly. * mips-tfile.c (add_file, error): Similarly. * profile.c (init_branch_prob): Similarly. * reload1.c (spill_failure): Similarly. * stmt.c (parse_output_constraint): Similarly. * varasm.c (assemble_variable): Similarly. cp: * class.c (finish_struct): Similarly. * decl.c (check_tag_decl): Similarly. * lex.c (cxx_set_yydebug): Similarly. * typeck2.c (friendly_abort): Similarly. java: * expr.c (expand_byte_code): Similarly. * jcf-parse.c (load_class, jcf_parse): Similarly. * jcf-write.c (generate_classfile): Similarly. * lex.c (java_lex): Similarly. From-SVN: r47517
Neil Booth committed -
* m68k.c (init_FPA_table): Provide static prototype. * mips/abi64.h (mips_function_value): Move prototype to ... * mips-protos.h (mips_function_value): ... here. * mips.c: Include halfpic.h. * output.h (rdata_section): Prototype. From-SVN: r47516
Kaveh R. Ghazi committed -
* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF. * m88k.c (m88k_svr3_asm_out_constructor, m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN && !OBJECT_FORMAT_ELF. * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF. * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF. * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF. From-SVN: r47515
Kaveh R. Ghazi committed -
rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex LO_SUM addresses less than word size are not legitimate... * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex LO_SUM addresses less than word size are not legitimate, because they lead to invalid SUBREGs. * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise. From-SVN: r47514
Geoffrey Keating committed -
unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges. 2001-12-01 Olivier Hainque <hainque@act-europe.fr> * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges. From-SVN: r47510
Olivier Hainque committed -
2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * ginclude/ppc-asm.h (JUMP_TARGET): New macro. * config/rs6000/tramp.asm: Use it. From-SVN: r47509
Franz Sirl committed -
From-SVN: r47507
GCC Administrator committed -
* gencheck.c, gengenrtl.c: Don't define xmalloc. * gensupport.c: Don't define xstrdup, xcalloc, xrealloc, xmalloc. * f/fini.c: Use xmalloc. From-SVN: r47506
Zack Weinberg committed -
2001-11-30 Benjamin Kosnik <bkoz@redhat.com> libstdc++/3150 DR/266 * libsupc++/exception (bad_exception::~bad_exception()): Remove declaration. * libsupc++/new (bad_alloc::~bad_alloc()): Remove. * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove. (bad_typeid::~bad_typeid()): Remove. * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition. (bad_typeid::~bad_typeid()): Same. * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same. * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same. * include/bits/std_iomanip.h: Tweak. From-SVN: r47505
Benjamin Kosnik committed -
From-SVN: r47504
John David Anglin committed -
2001-12-01 Graham Stott <grahams@redhat.com> * Makefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency. * misc.c: Include optabs.h (gnat_tree_code_type): Make static and const. (gnat_tree_code_length): Likewise. (gnat_tree_code_name): Likewise. (update_setjmp_buf): Obtain operands mode from insn_data. From-SVN: r47503
Graham Stott committed -
rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf... 2001-11-30 Daniel Berlin <dan@cgsoftware.com> * config/rs6000/rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf, *_16qi,_8hi, rename existing V4SI ones to *_4si. (altivec_init_builtins): Ditto. (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file. * config/rs6000/rs6000.md: Add attribute types vecsimple, veccomplex, vecfloat, and vecperm, for altivec instructions. Modify altivec patterns to use approriate attribute type. Modify altivec patterns to match RTL operations where approriate (IE no unspec where we can avoid it). Add vector unit scheduling for ppc7450. Rename patterns to what they are where approriate (altivec_vaddfp->addv4sf3, etc) * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR. Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used. * config/rs6000/sysv4.h: Add -mcpu=7450. * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed _builtin_altivec_ld_interal function. From-SVN: r47502
Daniel Berlin committed -
configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isascii, gettimeofday. * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isascii, gettimeofday. * config.in, configure: Regenerate. f: * Make-lang.in: Delete references to proj.[co], proj-h.[co]. * proj.c: Delete file. From-SVN: r47501
Kaveh R. Ghazi committed
-
- 30 Nov, 2001 1 commit
-
-
From-SVN: r47499
Zoltan Hidvegi committed
-