- 30 Jul, 2004 9 commits
-
-
tree-ssa-alias.c (compute_points_to_and_addr_escape): If a pointer escapes through a function call... * tree-ssa-alias.c (compute_points_to_and_addr_escape): If a pointer escapes through a function call, assume that the callee will dereference it. (add_pointed_to_var): Assume that VALUE is always an ADDR_EXPR. (collect_points_to_info_r): Only call add_pointed_to_var if the value is an ADDR_EXPR. From-SVN: r85353
Diego Novillo committed -
* gcc.dg/vmx/vmx.exp: Explain why we skip tests for powerpc-eabispe. From-SVN: r85346
Aldy Hernandez committed -
* java/util/zip/GZIPInputStream.java (GZIPInputStream): Increase buffer size to 4k. * java/util/zip/GZIPOutputStream.java (GZIPOutputStream): Likewise. * java/util/zip/Inflater.java (setInput): Merged formating with GNU classpath. * java/util/zip/InflaterInputStream.java (InflaterInputStream): Increase buffer size to 4k. (fill): Throw exception if stream ends early. (read): Merged endless-loop with GNU classpath. (skip): Increase buffer size to 2k. From-SVN: r85340
Michael Koch committed -
* tree-ssa-alias.c (create_alias_map_for): Do not get the alias set of the inner type of ARRAY_TYPEs. From-SVN: r85338
Diego Novillo committed -
* gnu/java/awt/EmbeddedWindow.java (addNotify): Use AccessController to allow execution of privileged code. From-SVN: r85337
Michael Koch committed -
From-SVN: r85331
Aldy Hernandez committed -
* lib/g++.exp (g++_link_flags): Check whether LD_LIBRARY_PATH already contains $ld_library_path. * lib/gfortran.exp (gfortran_link_flags): Likewise. From-SVN: r85329
Richard Sandiford committed -
From-SVN: r85321
GCC Administrator committed -
tree-ssa-ccp.c (visit_assignment): Move code to prevent setting a non-register to UNDEFINED right before the call... * tree-ssa-ccp.c (visit_assignment): Move code to prevent setting a non-register to UNDEFINED right before the call to set_lattice_value. From-SVN: r85318
Diego Novillo committed
-
- 29 Jul, 2004 28 commits
-
-
From-SVN: r85316
Kaz Kojima committed -
2004-07-29 Paolo Carlini <pcarlini@suse.de> PR libstdc++/14220 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float): Don't clip the precision passed down to __convert_from_v: 22.2.2.2.2 nowhere says so. * testsuite/22_locale/num_put/put/char/14220.cc: New. * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise. From-SVN: r85315
Paolo Carlini committed -
tree-ssa.c (verify_flow_sensitive_alias_info): When comparing points-to sets of different pointers... * tree-ssa.c (verify_flow_sensitive_alias_info): When comparing points-to sets of different pointers, make sure the second pointer is actually referenced in the code. From-SVN: r85314
Diego Novillo committed -
* g++.dg/ext/stmtexpr2.C (alt1): Rename from expected. (alt2, which): New. (Check): Accept either alternative. From-SVN: r85313
Richard Henderson committed -
From-SVN: r85312
Richard Henderson committed -
* config/ia64/ia64.c (setjmp_operand): Delete, unused. (got_symbolic_operand): Remove unreachable code. * config/ia64/ia64.h (PREDICATE_CODES): Remove entry for setjmp_operand; add entry for tls_symbolic_operand. * config/ia64/ia64-protos.h: Remove all prototypes of predicate functions. From-SVN: r85311
Zack Weinberg committed -
2004-07-29 Paolo Carlini <pcarlini@suse.de> * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31. From-SVN: r85310
Paolo Carlini committed -
* c-common.h (lang_post_pch_load): New variable. * c-pch.c (lang_post_pch_load): Define it. (c_common_read_pch): Use it. * cgraphunit.c (record_call_1): Give the front end a chance to record additional needed entities when a variable is marked as needed. * tlink.c (recompile_files): Robustify. (scan_linker_output): If a symbol is assigned to a file, but after recompilation is not present there, issue an error message. * cp-tree.h (IDENTIFIER_REPO_CHOSEN): Define. (lang_decl_flags): Narrow the width of "languages". Add repo_available_p. (DECL_NEEDED_P): Remove. (FOR_EACH_CLONE): New macro. (DECL_REPO_AVAILABLE_P): Likewise. (DECL_TINFO_P): Likewise. (set_linkage_according_to_type): Declare. (import_export_vtable): Remove. (import_export_tinfo): Likewise. (mark_needed): New function. (decl_needed_p): Likewise. (note_vauge_linkage_fn): Likewise. (init_repo): Change prototype. (repo_template_used): Remove. (repo_template_instantiated): Likewise. (repo_emit_p): New function. (repo_export_class_p): Likewise. (no_linkage_check): Change prototype. * class.c (set_linkage_according_to_type): New function. (build_vtable): Use it. Do not call import_export_vtable. Set DECL_IGNORED_P if appropriate. * decl.c (duplicate_decls): Preserve DECL_REPO_AVAILABLE_P. (make_rtL_for_nonlocal_decls): Check for template instantiations explicitly. (grokfndecl): Adjust call to no_linkage_check. (set_linkage_for_static_data_member): New function. (grokvardecl): Use it. Adjust call to no_linkage_check. (grokdeclarator): Use set_linkage_for_static_data_member. * decl2.c (note_vague_linkage_fn): New function. (note_vague_linkage_var): Likewise. (finish_static_data_member_decl): Use it. (import_export_vtable): Remove. (import_export_class): Use repo_export_class_p. (var_finalized_p): Simplify. (maybe_emit_vtables): Simplify. (mark_needed): New function. (decl_needed_p): Likewise. (import_export_decl): Add documentation and consistency checks. Use repo_emit_p. Handle virtual tables and RTTI information here. (import_export_tinfo): Remove. (write_out_vars): Call import_export_decl. (cxx_callgraph_analyze_expr): Ensure that all vtables are emitted whenever one is. (finish_file): Use decl_needed_p. Do not call import_export_decl for undefined static data members. Do not warn about undefined inlines when using a repository. (mark_used): Use note_vague_linkage_fn. Always defer template instantiations. * lex.c (cxx_init): Adjust call to init_repo. Always set flag_unit_at_a-time. * method.c (synthesize_method): Remove unncessary import_export_decl call. (implicitly_declare_fn): Use set_linkage_according_to_type. * optimize.c (maybe_clone_body): Use FOR_EACH_CLONE. * pt.c (instantiate_class_template): Don't redundantly add classes to keyed_classes. Don't call repo_template_used. (tsubst_decl): Set DECL_INTERFACE_KNOWN for instantiations of templates with internal linkage. (check_instantiated_args): Adjust call to no_linkage_check. (instantiate_template): Use FOR_EACH_CLONE. (mark_definable): New function. (mark_decl_instantiated): Use it. (do_decl_instantiation): Adjust tests for explicit instantiation after "extern template". (instantiate_class_member): Do not use repo_template_instantiated. (do_type_instantiation): Simplify. (instantiate_decl): Use mark_definable. Check repo_emit_p. Simplify. * repo.c (repo_get_id): Remove. (original_repo): Remove. (IDENTIFIER_REPO_USED): Remove. (IDENTIFIER_REPO_CHOSEN): Remove. Remove all #if 0'd code. (repo_template_used): Remove. (repo_template_instantiated): Remove. (temporary_obstack_initialized_p): New variable. (init_repo): Register with lang_post_pch_load. Avoid creating identifiers unnecessarily. Don't use original_repo. Close the file here. (reopen_repo_file_for_write): Not here. (finish_repo): Always write out a new repository file. (repo_emit_p): New function. (repo_export_class_p): Likewise. * rtti.c (get_tinfo_decl): Use set_linkage_according_to_type. (involves_incomplete_p): New function. (tinfo_base_init): Use it. (ptr_initializer): Remove non_public_ptr parameter. (ptm_initializer): Likewise. (get_pseudo_ti_init): Likewise. (unemitted_tinfo_decl_p): Remove. (emit_tinfo_decl): Use import_export_decl. * semantics.c (expand_body): Move updates of static_ctors and static_dtors to ... (expand_or_defer_fn): ... here. * tree.c (no_linkage_check): Add relaxed_p parameter. * g++.dg/abi/inline1.C: New test. * g++.dg/abi/local1-a.cc: Likewise. * g++.dg/abi/local1.C: Likewise. * g++.dg/abi/mangle11.C: Tweak location of warnings. * g++.dg/abi/mangle12.C: Likewise. * g++.dg/abi/mangle17.C: Likewise. * g++.dg/abi/mangle20-2.C: Likewise. * g++.dg/opt/interface1.C: Likewise. * g++.dg/opt/interface1.h: Likewise. * g++.dg/opt/interface1-a.cc: New test. * g++.dg/parse/repo1.C: New test. * g++.dg/template/repo1.C: Likewise. * g++.dg/warn/Winline-1.C: Likewise. * lib/gcc-dg.exp (gcc-dg-test-1): Fix -frepo handling. From-SVN: r85309
Mark Mitchell committed -
* tree-ssa-loop-im.c (force_move_till_expr, force_move_till): Take orig_loop argument and pass it to set_level. (schedule_sm): Pass the correct orig_loop to force_move_till. From-SVN: r85308
Zdenek Dvorak committed -
* cfgloop.c (update_latch_info): Update dominator of the new block. (canonicalize_loop_headers, flow_loops_find): Do not free dominance info. * dominance.c (verify_dominators): Check that the dominance tree is connected. (recount_dominator): Ignore unreachable blocks. (iterate_fix_dominators): Cleanup old dominance information before recomputing it. From-SVN: r85307
Zdenek Dvorak committed -
* tree-ssa-operands.c (get_expr_operands): Revert changes to ADDR_EXPR processing introduced by: 2004-06-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * tree-ssa-operands.c (get_expr_operands): Minor rearrangements. testsuite/ChangeLog * gcc.dg/tree-ssa/20040729-1.c: New test. From-SVN: r85306
Diego Novillo committed -
* doc/implement-c.texi: Add C90 subclause references. Point to preprocessor documentation instead of duplicating it. Add points only present in C90. Fill in documentation for all points. From-SVN: r85305
Joseph Myers committed -
From-SVN: r85302
John David Anglin committed -
2004-07-29 Paolo Carlini <pcarlini@suse.de> Petur Runolfsson <peturr02@ru.is> PR libstdc++/12658 (continued) * src/locale_init.cc (locale::locale, locale::global): Use a single locale_mutex instead of two separate mutexes. Co-Authored-By: Petur Runolfsson <peturr02@ru.is> From-SVN: r85301
Paolo Carlini committed -
2004-07-29 Pat Haugen <pthaugen@us.ibm.com> * ra.h (single_reg_in_regclass): Declare. * ra.c (single_reg_in_regclass): Define. (first_hard_reg): New. (init_ra): Initialize single_reg_in_regclass. * ra-colorize.c (ok_class): New. (coalesce, aggressive_coalesce, extended_coalesce_2): Use it. From-SVN: r85300
Pat Haugen committed -
2004-07-29 Michael Koch <konqueror@gmx.de> * gnu/java/lang/MainThread.java: Explicitely import used classes. (args): Make it type String[]. From-SVN: r85299
Michael Koch committed -
2004-07-29 Paolo Carlini <pcarlini@suse.de> PR libstdc++/16813 * include/debug/map.h (insert(_InputIterator, _InputIterator)): Fix typo. * testsuite/23_containers/map/insert/16813.cc: New. From-SVN: r85295
Paolo Carlini committed -
2004-07-29 Dalibor Topic <robilad@kaffe.org> * gnu/java/awt/ComponentDataBlitOp.java, gnu/java/beans/ExplicitBeanInfo.java, gnu/java/beans/IntrospectionIncubator.java, gnu/java/beans/editors/ColorEditor.java, gnu/java/beans/editors/FontEditor.java, gnu/java/beans/editors/NativeBooleanEditor.java, gnu/java/beans/editors/NativeByteEditor.java, gnu/java/beans/editors/NativeDoubleEditor.java, gnu/java/beans/editors/NativeFloatEditor.java, gnu/java/beans/editors/NativeIntEditor.java, gnu/java/beans/editors/NativeLongEditor.java, gnu/java/beans/editors/NativeShortEditor.java, gnu/java/beans/editors/StringEditor.java, gnu/java/io/ClassLoaderObjectInputStream.java, gnu/java/io/decode/Decoder.java, gnu/java/io/encode/Encoder.java, gnu/java/lang/ClassHelper.java, gnu/java/locale/Calendar.java, gnu/java/locale/Calendar_de.java, gnu/java/locale/Calendar_en.java, gnu/java/locale/Calendar_nl.java, gnu/java/locale/LocaleInformation_de.java, gnu/java/locale/LocaleInformation_en.java, gnu/java/locale/LocaleInformation_nl.java: Cleaned up imports. From-SVN: r85293
Dalibor Topic committed -
2004-07-29 Dalibor Topic <robilad@kaffe.org> * gnu/java/awt/ComponentDataBlitOp.java, gnu/java/beans/ExplicitBeanInfo.java, gnu/java/beans/IntrospectionIncubator.java, gnu/java/beans/editors/ColorEditor.java, gnu/java/beans/editors/FontEditor.java, gnu/java/beans/editors/NativeBooleanEditor.java, gnu/java/beans/editors/NativeByteEditor.java, gnu/java/beans/editors/NativeDoubleEditor.java, gnu/java/beans/editors/NativeFloatEditor.java, gnu/java/beans/editors/NativeIntEditor.java, gnu/java/beans/editors/NativeLongEditor.java, gnu/java/beans/editors/NativeShortEditor.java, gnu/java/beans/editors/StringEditor.java, gnu/java/io/ClassLoaderObjectInputStream.java, gnu/java/io/decode/Decoder.java, gnu/java/io/encode/Encoder.java, gnu/java/lang/ClassHelper.java, gnu/java/locale/Calendar.java, gnu/java/locale/Calendar_de.java, gnu/java/locale/Calendar_en.java, gnu/java/locale/Calendar_nl.java, gnu/java/locale/LocaleInformation_de.java, gnu/java/locale/LocaleInformation_en.java, gnu/java/locale/LocaleInformation_nl.java: Cleaned up imports. From-SVN: r85292
Dalibor Topic committed -
* gcov-io.h: Allow zero tag as EOF indicator. (gcov_is_eof): Remove. (gcov_truncate): Remove. * gcov-io.c (gcov_seek): Always SEEK_SET. * libgcov.c (gcov_exit): Don't use gcov_truncate. Write explicit EOF tag. * coverage.c (read_counts_file): Don't use gcov_is_eof. * gcov-dump.c (dump_file): Likewise. * gcov.c (read_graph_file, read_count_file): Likewise. From-SVN: r85291
Nathan Sidwell committed -
2004-07-29 Phil Edwards <phil@codesourcery.com> * docs/html/faq/index.html: Update version references. Make clear that code from SGI has diverged greatly. Remove references to library snapshots and what's-new sections. * docs/html/faq/index.txt: Regenerate. From-SVN: r85289
Phil Edwards committed -
* c-decl.c (complete_array_type): Don't gratuitously copy maxindex. Check it always has a type. From-SVN: r85288
Nathan Sidwell committed -
* rtl.c (currently_expanding_to_rtl): New. * rtl.h (currently_expanding_to_rtl): Export it. * cfgexpand.c (tree_cfg_expand): Set/clear it at entry/exit. * config/alpha/alpha.c (alpha_expand_mov): Remove old RTL inliner hack. * config/sh/sh.c: Replace rtx_equal_function_value_matters with currently_expanding_to_rtl. * config/sh/sh.md: Likewise. * config/ia64/ia64.c (got_symbolic_operand): Likewise. From-SVN: r85287
Steven Bosscher committed -
2004-07-29 Alexandre Oliva <aoliva@redhat.com> * config.gcc: Build multilibs for sh2a and sh2a-single by default. * config/sh/sh.h (SUPPORT_SH2A, SUPPORT_SH2A_SINGLE): Define by default. Split their tests out of the corresponding SH4 multilibs. * config/sh/t-sh (MULTILIB_MATCHES): Don't ever use SH4 or SH4a multilibs for SH2a. 2004-07-28 Alexandre Oliva <aoliva@redhat.com> * config.gcc: Handle sh2a multilibs and cpu selection. * config/sh/sh.h: Likewise. Handle sh2a command line flags. * config/sh/t-mlib-sh2a: New. * config/sh/t-mlib-sh2a-nofpu: New. * config/sh/t-mlib-sh2a-single: New. * config/sh/t-mlib-sh2a-single-only: New. 2004-07-09 Nick Clifton <nickc@redhat.com> Issue 43400 * config/sh/sh.h (DRIVER_SELF_SPECS): Issue an error message if -ml and -m2a are used together. 2004-03-23 DJ Delorie <dj@redhat.com> * config/sh/sh.c (sh_builtin_saveregs): Use the double code only when we have a double-sized FPU. 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/sh/lib1funcs.asm (set_fpscr): Don't build if __SH2A_NOFPU__ is set. * config/sh/elf.h (SUBTARGET_ASM_ISA_SPEC): Add cases for -msh2a-nofpu, -msh2a-single and -msh2a-single-only 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/sh/crt1.asm: Don't generate FPU instructions if __SH2A_NOFPU__ is set. 2004-02-20 DJ Delorie <dj@delorie.com> * config/sh/sh.md (movsf_i, movsf_ie, movsf, ble, bge): Disable for sh2a-nofpu. 2004-02-20 Fred Fish <fnf@redhat.com>, Corinna Vinschen <vinschen@redhat.com> * config/sh/t-sh (MULTILIB_OPTIONS): Add 2a-nofpu. (MULTILIB_EXCEPTIONS): Don't build littel-endian on sh2a. 2004-02-18 DJ Delorie <dj@redhat.com> * config/sh/sh.c (broken_move): Add support for movi20. * config/sh/sh.h: Likewise. (SHIFT_COUNT_TRUNCATED): Set for sh2a. * config/sh/sh.md (udivsi3_sh2a): New. (udivsi3): Call it. (divsi3_sh2a): New. (divsi3): Call it. (mul_r): New. (ashlsi3_sh2a): New. (ashrsi3_sh2a): New. (lshrsi3_sh2a): New. (movsi_i): Disable for sh2a. (movsi_ie): Add movi20. (movsf_i, movsf_ie, movsf, ble, untyped_call): Explicitly enable sh2a, for -m2a-nofpu mode. 2004-02-13 DJ Delorie <dj@redhat.com> * config/sh/lib1funcs.asm: Handle double vs single better. * config/sh/sh.h: Likewise. 2004-02-09 DJ Delorie <dj@redhat.com> * config/sh/crt1.asm: Add support for sh2a. * config/sh/elf.h: Likewise. * config/sh/lib1funcs.asm: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.md: Likewise. * config/sh/sh.h: Likewise. * config/sh/t-sh: Likewise. From-SVN: r85286
Alexandre Oliva committed -
* config/frv/frv.md (movqi_internal, movhi_internal, movsi_internal): Add backup alternatives for memory inputs. From-SVN: r85284
Alexandre Oliva committed -
From-SVN: r85283
Bryce McKinlay committed -
2004-07-28 Bryce McKinlay <mckinlay@redhat.com> * README: Remove obsolete info. Update bug URL. * THANKS: Updated. From-SVN: r85282
Bryce McKinlay committed -
From-SVN: r85280
GCC Administrator committed
-
- 28 Jul, 2004 3 commits
-
-
* config/darwin.c (darwin_one_byte_bool): New global variable. * config/darwin.h (darwin_one_byte_bool): Declare. (SUBTARGET_OPTIONS): Define macro. (for -mone-byte-bool flag.) * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Conditionalize on value of darwin_one_byte_bool. * doc/invoke.texi: Document -mone-byte-bool flag. * testsuite/gcc.dg/darwin-bool-1.c: New test. * testsuite/gcc.dg/darwin-bool-2.c: New test. From-SVN: r85277
Matt Austern committed -
2004-07-28 Eric Christopher <echristo@redhat.com> * c-common.c (c_common_unsafe_for_reeval): Delete. * c-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete use. * c-pretty-print.c (pp_c_expression): Delete UNSAVE_EXPR case. * calls.c (fix_unsafe_tree): Delete. (expand_call): Delete code which used above. * dojump.c (do_jump): Delete UNSAVE_EXPR case. * expr.c (expand_expr_real_1): Ditto. * fold-const.c (non_lvalue): Ditto. * langhooks-def.h (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. (lhd_unsafe_for_reeval): Ditto. * langhooks.c (lhd_unsafe_for_reeval): Ditto. * langhooks.h (unsafe_for_reeval): Ditto. (unsave_expr_now): Adjust comment. * tree-inline.c (copy_body_r): Delete UNSAVE_EXPR bits. (estimate_num_insns_1): Ditto. * tree-pretty-print.c (dump_generic_node): Ditto. * tree.c (expr_align): Ditto. (unsave_expr): Delete. (unsafe_for_reeval): Ditto. * tree.h (unsafe_for_reeval, unsave_expr): Ditto. * tree.def (UNSAVE_EXPR): Delete. * objc/objc-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. 2004-07-28 Eric Christopher <echristo@redhat.com> * cp-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. 2004-07-28 Eric Christopher <echristo@redhat.com> * lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Delete. (java_unsafe_for_reeval): Ditto. From-SVN: r85276
Eric Christopher committed -
* tree.h (enum tls_model): Move ... * coretypes.h: ... here. From-SVN: r85275
Zack Weinberg committed
-