- 17 Oct, 2002 3 commits
-
-
* mangle.c (write_expression): Correct handling of enumeration constants. (write_template_arg): Likewise. * pt.c (convert_template_argument): Do not fold non-type template arguments when inside a template. * g++.dg/abi/mangle16.C: New test. * g++.dg/abi/mangle17.C: Likewise. From-SVN: r58234
Mark Mitchell committed -
2002-10-16 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate _M_name_timepunct. (__timepunct::~__timepunct): Deallocate, remove specialization declarations. (messages::messages): Allocate _M_name_messages. (messages::~messages): Deallocate. (messages_byname): Same. * config/locale/gnu/time_members.cc (__timepunct::~__timepunct): Remove. * config/locale/generic/time_members.cc (__timepunct::~__timepunct): Remove. * docs/html/install.html: Add es_MX, en_PH to required locales list. From-SVN: r58232
Benjamin Kosnik committed -
PR c++/7478 * cvt.c (convert_to_reference): Allow references as the incoming type. PR c++/7478 * g++.dg/template/ref1.C: New test. From-SVN: r58230
Mark Mitchell committed
-
- 16 Oct, 2002 14 commits
-
-
2002-10-16 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to SI. From-SVN: r58227
Aldy Hernandez committed -
* paranoia.cc (ENUM_BITFIELD): New. (class): Define as klass around real.h. (real_c_float): Not a template any longer; define MODE as a class static constant; use real_format elements for SIZE. Update uses of real_to_decimal and real_to_hexadecimal. (main): Change -g argument to use a format name. (mode_for_size): Remove. From-SVN: r58226
Richard Henderson committed -
From-SVN: r58224
Kaveh R. Ghazi committed -
From-SVN: r58222
Ulrich Weigand committed -
From-SVN: r58221
Jakub Jelinek committed -
* config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove. (LPREFIX): Likewise. (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h. * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Move from linux.h. (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX. * config/s390/s390.c (s390_function_profiler): Use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX. From-SVN: r58219
Ulrich Weigand committed -
PR c++/7524 * g++.dg/init/array7.C: New test. PR c++/7524 * method.c (do_build_assign_ref): Use cp_build_qualified_type, not build_qualified_type. From-SVN: r58217
Mark Mitchell committed -
2002-10-16 Benjamin Kosnik <bkoz@redhat.com> * config/linker-map.gnu: Add exports for codecvt constructors where size_t == unsigned long. From-SVN: r58208
Benjamin Kosnik committed -
Fix for PR libgcj/8234: * java/util/zip/natInflater.cc (reset): Reset avail_in. * java/util/zip/natDeflater.cc (reset): Reset avail_in. From-SVN: r58205
Tom Tromey committed -
PR target/7386 * i386.c (builtin_description):Drop cmpg[te]s[sd]. * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using swapped alternative. * doc/extend.texi (X86 Built-in Functions): Remove killed builtins. From-SVN: r58202
Jan Hubicka committed -
From-SVN: r58194
GCC Administrator committed -
From-SVN: r58188
David O'Brien committed -
gcc/ * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS as arguments. Bound DIGITS by the available buffer size. (real_to_hexadecimal): Likewise. * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes. (REAL_VALUE_TO_DECIMAL): Remove. * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c, sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c, config/i370/i370.h, config/i386/i386.c, config/i960/i960.c, config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h, config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c, config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to use real_to_decimal directly, and with the proper arguments. * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove. gcc/cp/ * error.c (dump_expr): Use real_to_decimal directly, and with the new arguments. gcc/f/ * target.h (ffetarget_print_real1, ffetarget_print_real2): Use real_to_decimal directly, and with the new arguments. From-SVN: r58187
Richard Henderson committed -
From-SVN: r58186
Richard Henderson committed
-
- 15 Oct, 2002 23 commits
-
-
* decl.c (reshape_init): Fix typo. * cp-tree.h (operator_name_info_t): Add arity. * lex.c (init_operators): Initialize it. * mangle.c (write_conversion_operator_name): New function. (write_unqualified_name): Use it. (write_template_args): Accept template arguments as a TREE_LIST. (write_expression): Adjust handling of qualified names to match specification. * g++.dg/init/array6.C: New test. * g++.dg/abi/mangle13.C: Likewise. * g++.dg/abi/mangle14.C: Likewise. * g++.dg/abi/mangle15.C: Likewise. From-SVN: r58185
Mark Mitchell committed -
* reload1.c (merge_assigned_reloads): After converting overlapping reloads to RELOAD_OTHER, abort if there are now conflicting reloads. * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok. From-SVN: r58184
Jim Wilson committed -
* call.c (call_builtin_trap): New fn. (convert_arg_to_ellipsis): Use it. Downgrade error to warning. (build_call): Don't set current_function_returns_abnormally outside a function. From-SVN: r58180
Jason Merrill committed -
From-SVN: r58179
Jan Hubicka committed -
From-SVN: r58178
Andrew Haley committed -
From-SVN: r58177
Andrew Haley committed -
2002-10-15 Andrew Haley <aph@redhat.com> * libjava.lang/EvaluationOrder.java (EvaluationOrder): New. * libjava.lang/EvaluationOrder.out (EvaluationOrder): New. From-SVN: r58176
Andrew Haley committed -
2002-10-15 Ranjit Mathew <rmathew@hotmail.com> * configure, config.h.in: Rebuilt. * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG. From-SVN: r58175
Ranjit Mathew committed -
* 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
-