- 15 Oct, 2002 16 commits
-
-
* class.c (check_field_decls): Remove empty_p parameter. Instead, clear CLASSTYPE_EMPTY_P. (build_base_field): Likewise. (build_base_fields): Likewise. (check_bases_and_members): Likewise. (create_vtbl_ptr): Likewise. (layout_class_type): Likewise. Ensure that empty classes have size zero when used as base classes in the 3.2 ABI. (finish_struct_1): Initialize CLASSTYPE_EMPTY_P and CLASSTYPE_NEARLY_EMPTY_P. Adjust calls to avoid passing empty_p parameter. (is_empty_class): Correct definition when using post-3.2 ABI. * cp-tree.h (lang_type_class): Add empty_p. (CLASSTYPE_EMPTY_P): New macro. From-SVN: r58170
Mark Mitchell committed -
From-SVN: r58169
Richard Sandiford committed -
* config/s390/s390.c (s390_split_branches): Add return value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104. (find_base_register_in_addr): New function. (find_base_register_ref): New function. (replace_base_register_ref): New function. (struct constant_pool): Add members pool_insn, insns, and anchor. Remove member last_insn. (s390_start_pool): Initialize them. (s390_end_pool): Emit pool placeholder insn. (s390_add_pool_insn): New function. (s390_find_pool): Use insns bitmap instead of addresses. (s390_dump_pool): Replace placeholder insn. Emit anchor. Replace unspec 104 by local-pool-relative references. (s390_output_constant_pool): Output anchor label if required. (s390_output_symbolic_const): Handle unspec 104 and 105. (s390_add_pool): Remove, replace by ... (s390_add_constant, s390_find_constant): ... these new functions. (s390_add_anchor): New function. (s390_chunkify_pool): Delete, replace by ... (s390_chunkify_start, s390_chunkify_finish, s390_chunkify_cancel): ... these new functions. (s390_optimize_prolog): Add parameter TEMP_REGNO. Recompute register live data for special registers. (s390_fixup_clobbered_return_reg): New function. (s390_machine_dependent_reorg): Rewrite to use new s390_chunkify_... routines. config/s390/s390.md ("reload_base"): Rename to ... ("reload_base_31"): ... this. ("reload_base_64"): New insn. ("reload_base2"): Remove. ("reload_anchor"): New insn. ("pool"): New insn. s390.c (s390_pool_overflow): Remove. s390.h (s390_pool_overflow): Likewise. s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow. From-SVN: r58168
Ulrich Weigand committed -
cp: * init.c (build_delete): Do not apply save_expr for arrays. (build_vec_delete): Likewise. testsuite: * g++.dg/init/ctor1.C: New test. From-SVN: r58166
Nathan Sidwell committed -
From-SVN: r58165
J"orn Rennecke committed -
2002-10-15 Janis Johnson <janis187@us.ibm.com> * doc/install.texi: Formatting changes for conformance to HTML 4.01. From-SVN: r58164
Janis Johnson committed -
2002-10-15 Andrew Haley <aph@redhat.com> * java-tree.h (java_inlining_merge_static_initializers): Declare. (java_inlining_map_static_initializers): Declare. From-SVN: r58163
Andrew Haley committed -
From-SVN: r58159
Ulrich Weigand committed -
PR opt/7409 * loop.c (loop_regs_scan): Mark registers used for function argument passing as MAY_NOT_OPTIMIZE. From-SVN: r58158
Ulrich Weigand committed -
From-SVN: r58157
J"orn Rennecke committed -
* i386.md (movv2di_internal): New pattern. (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate. (movv2di): New expander. * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands. * i386.c (ix86_expand_timode_binop_builtin): Delete. (builtin_description): Add SSE1 logicals; rename SSE2 logicals. (ix86_init_mmx_sse_builtins): Kill SSE1 logicals. (ix86_expand_builtin): Likewise. * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2, sse_andti3, sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2, sse_andnti3, sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2, sse_orti3, sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2, sse_xorti3): Kill. (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3, sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders. (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3, *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns. (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3, *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns. * xmmintrin.h (__m128i): Define as __v2di. PR c/7344 * predict.c (can_predict_insn_p): New function. (estimate_probability): Avoid unnecesary work. (process_note_prediction): Likewise. * toplev.c (rest_of_compilation): Account early branch prediction pass as TV_BRANCH_PROB. PR c++/6419 (expand_expr): Use DECL_RTL_SET_P. From-SVN: r58156
Jan Hubicka committed -
From-SVN: r58155
GCC Administrator committed -
decl.c (layout_var_decl): Call layout_decl even for variables whose type is an array with unspecified bounds. * decl.c (layout_var_decl): Call layout_decl even for variables whose type is an array with unspecified bounds. From-SVN: r58149
Mark Mitchell committed -
From-SVN: r58148
Roger Sayle committed -
2002-10-14 Benjamin Kosnik <bkoz@redhat.com> * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to c_locale_impl. * testsuite/abi_check.cc (line_to_symbol_info): Collect size info. * docs/html/abi.txt: Update. From-SVN: r58147
Benjamin Kosnik committed -
2002-10-14 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/static_members.cc (test02): Less provincial. From-SVN: r58144
Benjamin Kosnik committed
-
- 14 Oct, 2002 18 commits
-
-
2002-10-14 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/static_members.cc (test02): Disable for systems without named locale support. * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume running the testsuites in "C" environment. Add new tests. * docs/html/22_locale/locale.html: Update. From-SVN: r58142
Benjamin Kosnik committed -
From-SVN: r58141
Richard Henderson committed -
* config/i386/i386.c (k6_cost): Correct typo. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r58139
Roger Sayle committed -
PR optimization/6631 * Makefile.in (function.o): Depend on langhooks.h. * alias.c (objects_must_conflict_p): Check honor_readonly when examining TYPE_READONLY. * function.c (assign_stack_temp_for_type): Likewise. PR optimization/6631 * g++.dg/opt/const2.C: New test. From-SVN: r58136
Mark Mitchell committed -
PR c++/7176 * g++.dg/parse/friend1.C: New test. * g++.old-deja/g++.pt/memtemp64.C: Adjust. PR c++/7176 * lex.c (do_identifier): Add another option for the parsing parameter. * parse.y (do_id): Use it. From-SVN: r58135
Mark Mitchell committed -
* config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix): Swap zero extension arguments. (umaxhi3): Fix instruction class. PR target/7211 (prefetch): Fix prefetch instructions. PR target/7238 (pkwb): Fix output constraint. From-SVN: r58133
Falk Hueffner committed -
* config/mips/mips.c (print_operand): Increase buffer size for real numbers. From-SVN: r58132
Alexandre Oliva committed -
2002-10-14 Andrew Haley <aph@redhat.com> * libjava.lang/StaticConstructor.java: New. * libjava.lang/StaticConstructor.out: New. From-SVN: r58131
Andrew Haley committed -
PR opt/8165 * gcse.c (adjust_libcall_notes): Revert last change. * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM. From-SVN: r58130
Richard Henderson committed -
2002-10-14 Andrew Haley <aph@redhat.com> * tree-inline.c (remap_block): All local class initialization flags go in the outermost scope. (expand_call_inline): Call java_inlining_map_static_initializers. (expand_call_inline): Call java_inlining_merge_static_initializers. * java/lang.c (merge_init_test_initialization): New. (java_inlining_merge_static_initializers): New. (inline_init_test_initialization): New. (java_inlining_map_static_initializers): New. * tree-inline.c (expand_call_inline): Convert retvar to expected type. From-SVN: r58129
Andrew Haley committed -
From-SVN: r58128
Graham Stott committed -
From-SVN: r58124
Aldy Hernandez committed -
* c-common.c (c_common_type_for_mode): Add V2HImode case. * tree.c (build_common_tree_nodes_2): Initialize unsigned_V2HI_type_node and V2HI_type_node. * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE. (unsigned_V2HI_type_node, V2HI_type_node): Define. From-SVN: r58123
J"orn Rennecke committed -
* config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Handle TARGET_64BIT. * gcc.dg/20021014-1.c: New test. From-SVN: r58120
Jakub Jelinek committed -
* config/mips/vr.h (DRIVER_SELF_SPECS): Define. * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32. (MULTILIB_DIRNAMES): Remove long32. (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs. (MULTILIB_REDUNDANT_DIRS): Remove. From-SVN: r58116
Richard Sandiford committed -
From-SVN: r58115
GCC Administrator committed -
* doc/tm.texi (DRIVER_SELF_SPECS): Document. * gcc.c (driver_self_specs): New variable. (do_self_spec): New function. (main): Use it to process driver_self_specs. From-SVN: r58109
Richard Sandiford committed -
From-SVN: r58102
Richard Henderson committed
-
- 13 Oct, 2002 5 commits
-
-
From-SVN: r58100
Mark Wielaard committed -
From-SVN: r58099
Mark Wielaard committed -
From-SVN: r58098
GCC Administrator committed -
* include/bits/stl_threads.h (_GLIBCPP_mutex, _GLIBCPP_mutex_init,_GLIBCPP_mutex_address, _GLIBCPP_mutex_address_init, _GLIBCPP_once): Declare in namespace __gnu_cxx. (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx names. Adjust copyright. From-SVN: r58092
Danny Smith committed -
2002-10-12 Benjamin Kosnik <bkoz@redhat.com> * testsuite/abi_check.cc (hash<string>): Specialize. Simplify. Check compatible symbol versions. * config/linker-map.gnu: Clarify, explicitly export std::codecvt::c* symbols. * testsuite/22_locale/static_members.cc (test02): Avoid null strings. From-SVN: r58091
Benjamin Kosnik committed
-
- 12 Oct, 2002 1 commit
-
-
PR preprocessor/7862 PR preprocessor/8190 * gcc.c (cpp_unique_options): Don't delete .d files. Remove stray whitespace. From-SVN: r58088
Neil Booth committed
-