- 18 Aug, 2001 13 commits
-
-
* optabs.h (OTI_flodiv, flodiv_optab): Kill. * genopinit.c: Put floating point divide insns in sdiv_optab. * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab. * config/gofast.h, config/c4x/c4x.h, config/ia64/hpux_longdouble.h, config/mips/mips.h, config/pa/long_double.h, config/rs6000/sysv4.h, config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab. * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv. (init_optabs): Use init_optabv for overflow-trapping optabs. Don't init flodiv_optab. Give mov_optab, movstrict_optab, and cmp_optab RTX codes so have_insn_for can find them. * optabs.c (expand_simple_binop, expand_simple_unop, have_insn_for, gen_sub3_insn): New interfaces. * expr.h: Prototype new functions. (enum optab_methods): Move here from optabs.h. * builtins.c, combine.c, doloop.c, function.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c: Use new functions instead of working directly with optabs. * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c, unroll.c: Don't include optabs.h. * caller-save.c, combine.c, function.c, stmt.c: Just include insn-codes.h, not optabs.h. * Makefile.in: Update dependencies. * combine.c (make_compound_operation, simplify_comparison): Fix typos testing for this or that instruction. From-SVN: r45008
Zack Weinberg committed -
* configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0. * config/cpu/m68k/bits/atomicity.h: New file. From-SVN: r45006
Andreas Schwab committed -
* mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when generating libgcc.a. From-SVN: r45005
Herman A.J. ten Brugge committed -
* except.c (TYPE_HASH): Delete. * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not HOST_WIDE_INT. * tree.c (TYPE_HASH): Delete. * tree.h (TYPE_HASH): Define. ch: * tree.c (TYPE_HASH): Moved to ../tree.h. cp: * decl.c: Cast argument to size_t, not HOST_WIDE_INT, in calls to GNU_xref_start_scope and GNU_xref_end_scope. * tree.c (TYPE_HASH): Moved to ../tree.h. From-SVN: r45004
Kaveh R. Ghazi committed -
* config/mips/mips.md (adddi3_internal_2+1): Remove contraints from define_split. (adddi3_internal_2+2): Likewise. (eh_set_lr_di+1): Likewise. From-SVN: r45002
Graham Stott committed -
* cppinit.c (init_standard_includes): Reverse accidentally included hunk from prefix.c patch. From-SVN: r45001
Neil Booth committed -
From-SVN: r45000
GCC Administrator committed -
* gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer starting from zero offset. From-SVN: r44997
Jeff Sturm committed -
2001-08-17 Benjamin Kosnik <bkoz@redhat.com> Implement std::collate. * config/locale/collate_specializations_gnu.cc: Add here, implement in MT-safe way. * config/locale/collate_specializations_generic.cc: Add here, but in a less sophisticated manner. * include/bits/locale_facets.tcc (collate): Add generic definition. * include/bits/locale_facets.h (~collate): Mark virtual. (collate::_M_compare_helper): New. (collate::_M_transform_helper): New. * src/locale.cc: Remove unnecessary specializations. * src/string-inst.cc: Tweak instantiation of ctors. * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate. * aclocal.m4: Regenerate. * configure: Regenerate. * src/Makefile.am (sources): Add collate.cc. * src/Makefile.in: Regenerate. * testsuite/22_locale/collate_byname.cc: New. * testsuite/22_locale/collate.cc: New file. * testsuite/22_locale/collate_char_members.cc: New file. * testsuite/22_locale/collate_wchar_t_members.cc: New file. From-SVN: r44996
Benjamin Kosnik committed -
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and merged local changes. From-SVN: r44994
Tom Tromey committed -
2001-08-17 Hans-J. Boehm <Hans_Boehm@hp.com> * boehm.cc: Include gc_local_alloc.h if appropriate. (GC_GENERIC_MALLOC): Don't define. (MAYBE_MARK): Redefine for GC 6.0. (_Jv_MarkObj): Mark class differently. (_Jv_AllocArray): Use GC_generic_malloc. From-SVN: r44993
Hans Boehm committed -
* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ... * dwarf2asm.c: ... here. * dwarfout.c: Remove them. * varasm.c (assemble_integer): Add align parameter. (assemble_real, output_constant, output_constructor): Likewise. * output.h: Update decls. * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c, config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c, config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h, config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md: Update all callers. * final.c (end_final): Abort profile block generation if we havn't layed it out properly. * output.h (assemble_eh_integer): Remove stale decl. * varasm.c (assemble_zeros): Tidy; use assemble_integer. (min_align): New. (assemble_integer): Handle unaligned data. (assemble_real): Abort on unaligned data. (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does anything useful. (default_dtor_section_asm_out_destructor): Use assemble_align. (default_named_section_asm_out_constructor): Likewise. (default_ctor_section_asm_out_constructor): Likewise. * config/darwin.c (machopic_asm_out_constructor): Likewise. (machopic_asm_out_destructor): Likewise. * config/nextstep.c (nextstep_asm_out_constructor): Likewise. (nextstep_asm_out_destructor): Likewise. * config/alpha/alpha.c (vms_asm_out_constructor): Likewise. (vms_asm_out_destructor): Likewise. * java/class.c (emit_register_classes): Add align parameter to call to assemble_integer. From-SVN: r44992
Richard Henderson committed -
* config/mips/iris6.h (TARGET_IRIX6): New. (current_section_name, current_section_flags): New. (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New. (MAX_OFILE_ALIGNMENT): New. (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section. * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove. (copy_file_data): Split out from (mips_asm_file_end): ... here. (mips_asm_file_start): Remove extra .section directive. Use tmpfile instead of mips_make_temp_file. (mips_unique_section): Use const char * as needed for warnings. (iris6_asm_named_section_1): Renamed from iris6_asm_named_section; re-add align parameter. (iris6_asm_named_section): New. (iris_section_align_entry_eq, iris_section_align_entry_hash): New. (iris6_asm_output_align, iris6_section_align_1): New. (iris6_asm_file_start, iris6_asm_file_end): New. * config/mips/mips-protos.h: Update decls. From-SVN: r44991
Richard Henderson committed
-
- 17 Aug, 2001 27 commits
-
-
* doc/install.texi (Install GCC): Add links to build status pages. (Specific): Ditto. (Final install): Ditto; request updates for specific info From-SVN: r44988
Janis Johnson committed -
2001-08-17 Alexandre Petit-Bianco <apbianco@redhat.com> * libjava.compile/XercesBug.java: New file. (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01066.html) From-SVN: r44987
Alexandre Petit-Bianco committed -
* cpperror.c (print_location): Don't take a file name; use the line map instead. (_cpp_begin_message): Similarly. (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning, cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update. (cpp_pedwarn_with_file_and_line): Remove. * cppfiles.c (stack_include_file): Update; set filename to stdin here when appropriate. * cpphash.h (struct cpp_buffer): Remove nominal_fname. (_cpp_begin_message): Don't take a file name. * cppinit.c: Add comment. * cpplex.c: Fix end-of-directive indicator. * cpplib.c: Don't include intl.h. (run_directive, do_diagnostic): Update. (do_line): Update to not use nominal_fname. (cpp_push_buffer): Don't take a filename. * cpplib.h (struct ht): Remove. (cpp_push_buffer): Don't take a filename. (cpp_pedwarn_with_file_and_line): Remove. * cppmacro.c (struct cpp_macro): Remove file. (builtin_macro): Update. (_cpp_create_definition): Update. * cppmain.c: Correct comment. * fix-header.c (read_scan_file): Update. From-SVN: r44986
Neil Booth committed -
(Specific): Ditto. (Final install): Ditto; request updates for specific info. From-SVN: r44985
Janis Johnson committed -
2001-08-17 Mark J Roberts <mjr@anarcast.net> * java/math/BigInteger.java (randBytes): New method. (BigInteger(int,Random)): Use randBytes. From-SVN: r44984
Mark J Roberts committed -
* sbitmap.c: Fix comment formatting. * sched-deps.c: Likewise. * sibcall.c: Likewise. * simplify-rtx.c: Likewise. * ssa.c: Likewise. * ssa-ccp.c: Likewise. * stor-layout.c: Likewise. * timevar.c: Likewise. * toplev.c: Likewise. * unwind-dw2.c: Likewise. * unwind-dw2-fde.c: Likewise. * varasm.c: Likewise. From-SVN: r44983
Kazu Hirata committed -
2001-08-16 Alexandre Petit-Bianco <apbianco@redhat.com> * jcf-parse.c (load_class): New locals saved and class_loaded. If loading a class_or_name fails, try considering an innerclass name and load the enclosing context. * parse.y (resolve_inner_class): New function. (find_as_inner_class): Added leading comment. (register_incomplete_type): Keep the current context as enclosing context for JDEP_FIELD dependencies. (do_resolve_class): Locals new_class_decl and super initialized to NULL. Call resolve_inner_class, explore the enclosing context superclass if necessary. Fixes PR java/4007 2001-08-12 Alexandre Petit-Bianco <apbianco@redhat.com> * decl.c (init_decl_processing): exception_type_node, class_not_found_type_node, and no_class_def_found_type_node initialized. predef_filenames augmented accordingly. instinit_identifier_node initialized. * java-tree.def (INSTANCE_INITIALIZERS_EXPR): Entry removed. * java-tree.h (enum java_tree_index): New entries JTI_EXCEPTION_TYPE_NODE, JTI_CLASS_NOT_FOUND_TYPE_NODE, JTI_NO_CLASS_DEF_FOUND_TYPE_NODE, JTI_INSTINIT_IDENTIFIER_NODE. (exception_type_node): New macro. (class_not_found_type_node): Likewise. (no_class_def_found_type_node): Likewise. (instinit_identifier_node): Likewise. (PREDEF_FILENAMES_SIZE): Adjusted. (TYPE_HAS_FINAL_VARIABLE): Fixed typo. (struct lang_type): Fixed typo in bitfield name. (DECL_INSTINIT_P): New macro. (ID_INSTINIT_P): Likewise. * jcf-write.c (generate_classfile): instinit$ bears the Synthetic attribute. * parse.y (encapsulate_with_try_catch): New function. (generate_instinit): Likewise. (build_instinit_invocation): Likewise. (ctors_unchecked_throws_clause_p): Likewise. (add_instance_initializer): Deleted. (build_instance_initializer): Likewise. (in_instance_initializer): Likewise. (check_method_redefinition): instinit$ not to be verified. (java_complete_expand_methods): Generate instinit$, simplified code. (build_dot_class_method): Eliminated unnecessary locals. Use encapsulate_with_try_catch, removed unnecessary code. (fix_constructors): New local iii. Use build_instinit_invocation. (patch_method_invocation): Added comment. (maybe_use_access_method): Don't consider instinit$. (find_applicable_accessible_methods_list): Shorten the search for instinit$ too. (java_complete_lhs): case INSTANCE_INITIALIZERS_EXPR removed. (patch_return): Use DECL_INSTINIT_P instead of in_instance_initializer. (patch_throw_statement): Likewise. Fixed typo. 2001-08-09 Alexandre Petit-Bianco <apbianco@redhat.com> * expr.c (java_lang_expand_expr): Call `expand_end_bindings' and `poplevel' in the right order. (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01061.html ) From-SVN: r44982
Alexandre Petit-Bianco committed -
pa.h (RETURN_IN_MEMORY): Return types with a size that is varable or larger than an integer in memory. * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable or larger than an integer in memory. From-SVN: r44981
John David Anglin committed -
* system.h: Forward-declare struct rtx_def, struct rtvec_def, and union tree_node. Typedef rtx, rtvec, and tree. Fix comment. * rtl.h: Don't forward-declare union tree_node here. Don't typedef rtx or rtvec here. Change all uses of struct rtx_def *, struct rtvec_def *, or union tree_node * to use rtx, rtvec, and tree respectively. * tree.h: Don't forward-declare struct rtx_def here. Don't typedef tree here. Change all uses of struct rtx_def *, struct rtvec_def *, or union tree_node * to use rtx, rtvec, and tree respectively. From-SVN: r44980
Zack Weinberg committed -
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. * configure: Regenerate. From-SVN: r44979
Christopher Faylor committed -
From-SVN: r44978
Richard Henderson committed -
* config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h, config/mips/openbsd.h: Fix typos last change. From-SVN: r44977
Richard Henderson committed -
* doc/invoke.texi (Optimize Options): The default for -finline-limit is 600. From-SVN: r44975
Gerald Pfeifer committed -
From-SVN: r44974
Richard Henderson committed -
* varasm.c (text_section): Allow TEXT_SECTION to override the printing of TEXT_SECTION_ASM_OP. * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION. (DATA_SECTION, BSS_SECTION): Remove. * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME, RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME): Rename from s/_NAME//. * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16. (ASM_DECLARE_FUNCTION_NAME): Move file switching ... (TEXT_SECTION): ... here. New. * config/mips/elf.h (TEXT_SECTION): New; no file switching. * config/mips/elf64.h, config/mips/netbsd.h: Likewise. * config/mips/openbsd.h: Likewise. * config/mips/mips.c (mips_asm_file_start): Tidy file switching test. (mips_asm_file_end): Likewise test. (mips_output_function_epilogue): Likewise. Switch back to data section after emitting the function. From-SVN: r44973
Richard Henderson committed -
From-SVN: r44969
Tom Tromey committed -
* dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here. (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info. From-SVN: r44968
Richard Henderson committed -
* varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN. * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__, __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__): Add aligned attribute. From-SVN: r44966
Richard Henderson committed -
From-SVN: r44965
Tom Tromey committed -
From-SVN: r44964
Hans Boehm committed -
From-SVN: r44963
Hans Boehm committed -
2001-08-10 Andrew Haley <aph@cambridge.redhat.com> * config/sh/sh.md: Add modes to unspecs in first insn to match those in the second. * Makefile.in: Fix collect2 copy for Cygwin. From-SVN: r44962
Andrew Haley committed -
* function.c (put_var_into_stack): Temporarily clear DECL_RTL. (assign_params): Avoid setting DECL_RTL to unfinished RTX. (expand_function_start): Likewise. * stmt.c (expand_decl): Likewise. * varasm.c (make_decl_rtx): Likewise. From-SVN: r44961
Jan Hubicka committed -
* final.c: Undo my previous accidental checkin. * output.h: Likewise. * tm.texi: Likewise. From-SVN: r44960
Jan Hubicka committed -
From-SVN: r44959
GCC Administrator committed -
* cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS on COMPOUND_EXPRs. From-SVN: r44956
Mark Mitchell committed -
* varasm.c (named_section_flags): Remove align parameter. * varasm.c, dwarf2out.c: Update all callers. * output.h: Update prototypes. * target.h (target.asm_out.named_section): Remove align parameter. * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c, config/sh/sh.c, config/sparc/sparc.c: Update implementations to match. * varasm.c (in_named_entry_eq, in_named_entry_hash): New. (get_named_section_flags, set_named_section_flags): New. (named_section_flags): Use them. (named_section): Do decl vs section flags check here... (default_section_type_flags): ... not here. (init_varasm_once): Create in_named_htab. (resolve_unique_section): Mark reloc unused. From-SVN: r44953
Richard Henderson committed
-