aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-17oops, one extra typo.Jan Hubicka1-1/+1
From-SVN: r58256
2002-10-17Replace "ior" by "or".Jan Hubicka3-7/+7
From-SVN: r58255
2002-10-17* gcc.dg/20021017-2.c: New test.Jan Hubicka2-0/+69
From-SVN: r58253
2002-10-17re PR other/8062 (double precision loads and stores missing from xmmintrin.h)Jan Hubicka5-1/+187
* mmintrin.h: Guard by __MMX__ * xmmintrin.h: Guard by __SSE__ PR other/8062 * xmmintrin.h (_MM_SHUFFLE2): New macro. (_mm_load*_?d): New functions. (_mm_set*_?d): New functions. (_mm_store*_?d): New functions. From-SVN: r58252
2002-10-17pt.c (convert_template_argument): Revert this change: 2002-10-16 Mark ↵Mark Mitchell3-3/+9
Mitchell <mark@codesourcery.com> * pt.c (convert_template_argument): Revert this change: 2002-10-16 Mark Mitchell <mark@codesourcery.com> * pt.c (convert_template_argument): Do not fold non-type template rguments when inside a template. * g++.dg/abi/mangle17.C: Adjust. From-SVN: r58251
2002-10-17re PR rtl-optimization/7630 (gcc 3.2 breaks on Mozilla 1.0's JS sources with ↵Jan Hubicka1-5/+8
-march=pentium4) PR opt/7630 * reload.c (reload_inner_reg_of_subreg): New argument output; (push_reload): Update call. From-SVN: r58248
2002-10-17Really commit patch announced at Oct 14 PR c/7344Jan Hubicka2-7/+24
Really commit patch announced at Oct 14 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 other/8048 Found by Ian Ollmann * xmmintrin.h (_mm_shuffle_pd): Fix typo. (_mm_load?_pd): Likewise. (_mm_store?_pd): Likewise. PR target/7386 * i386.c (builtin_description):Drop cmpg[te]s[sd]. * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using swapped alternative. PR opt/7630 * reload1.c (reload_inner_reg_of_subreg): New argument output; (push_reload): Update call. From-SVN: r58247
2002-10-17Really commit patch announced at Oct 14 PR c/7344Jan Hubicka3-13/+30
Really commit patch announced at Oct 14 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. From-SVN: r58246
2002-10-17init.c (expand_default_init): Handle brace-enclosed initializers correctly.Mark Mitchell4-10/+26
* init.c (expand_default_init): Handle brace-enclosed initializers correctly. * g++.dg/init/array8.C: New test. From-SVN: r58245
2002-10-17Daily bump.GCC Administrator2-2/+2
From-SVN: r58244
2002-10-17mips-abi.exp: New test.Richard Sandiford3-0/+130
* gcc.dg/special/mips-abi.exp: New test. * gcc.dg/special/mips-abi.s: Empty file used by the above. From-SVN: r58238
2002-10-17config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines if using ↵Richard Sandiford4-2/+12
mips/elf.h or mips/elf64.h. * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines if using mips/elf.h or mips/elf64.h. * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove. * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove. From-SVN: r58237
2002-10-17configure.in: Add *-freebsd* to cross list.Momchil Velikov3-1210/+2369
2002-10-17 Momchil Velikov <velco@fadata.bg> Loren J. Rittle <ljrittle@acm.org> * configure.in: Add *-freebsd* to cross list. * configure: Rebuilt. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> From-SVN: r58236
2002-10-17mangle.c (write_expression): Correct handling of enumeration constants.Mark Mitchell6-5/+50
* 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
2002-10-17locale_facets.h (__timepunct::__timepunct): Allocate _M_name_timepunct.Benjamin Kosnik5-37/+53
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
2002-10-17re PR c++/7478 (internal compiler error on static_cast inside template)Mark Mitchell4-2/+22
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
2002-10-16rs6000.c (function_arg): Set inner mode of V1DI to SI.Aldy Hernandez2-0/+8
2002-10-16 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to SI. From-SVN: r58227
2002-10-16paranoia.cc (ENUM_BITFIELD): New.Richard Henderson2-78/+89
* 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
2002-10-16* gcc.c-torture/execute/20020720-1.x: Don't XFAIL for mips.Kaveh R. Ghazi2-2/+5
From-SVN: r58224
2002-10-16* gcc.dg/weak/typeof-2.c: For S/390 targets, return before baz3 test.Ulrich Weigand2-0/+6
From-SVN: r58222
2002-10-16* config.table: Use mh-s390pic for s390x too.Jakub Jelinek2-0/+5
From-SVN: r58221
2002-10-16linux.h (ASM_DOUBLE, [...]): Remove.Ulrich Weigand4-168/+163
* 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
2002-10-16re PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)Mark Mitchell4-1/+27
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
2002-10-16linker-map.gnu: Add exports for codecvt constructors where size_t == ↵Benjamin Kosnik2-3/+12
unsigned long. 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
2002-10-16re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns ↵Tom Tromey3-0/+8
small chunks) 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
2002-10-16re PR c++/7386 (ran gcc compiler and it said to report htebug)Jan Hubicka4-29/+42
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
2002-10-16Daily bump.GCC Administrator2-2/+2
From-SVN: r58194
2002-10-16Remove bogus copyright message in my last entry.David O'Brien1-2/+1
From-SVN: r58188
2002-10-15real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS as arguments.Richard Henderson30-129/+149
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
2002-10-15* jcf-parse.c (get_constant): Fix type warning.Richard Henderson2-1/+5
From-SVN: r58186
2002-10-15decl.c (reshape_init): Fix typo.Mark Mitchell10-20/+198
* 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
2002-10-15Fix x86 miscompilation of gdb mips simulator.Jim Wilson3-5/+26
* 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
2002-10-15call.c (call_builtin_trap): New fn.Jason Merrill2-5/+30
* 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
2002-10-15* expr.c (do_tablejump): Fix typo in my previous commit.Jan Hubicka2-2/+6
From-SVN: r58179
2002-10-15cvs commit fubar.Andrew Haley1-0/+1
From-SVN: r58178
2002-10-15Fix bad checkin.Andrew Haley1-1/+1
From-SVN: r58177
2002-10-15EvaluationOrder.java (EvaluationOrder): New.Andrew Haley3-0/+30
2002-10-15 Andrew Haley <aph@redhat.com> * libjava.lang/EvaluationOrder.java (EvaluationOrder): New. * libjava.lang/EvaluationOrder.out (EvaluationOrder): New. From-SVN: r58176
2002-10-15configure, [...]: Rebuilt.Ranjit Mathew4-90/+158
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
2002-10-15class.c (check_field_decls): Remove empty_p parameter.Mark Mitchell5-57/+104
* 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
2002-10-15* config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.Richard Sandiford2-1/+5
From-SVN: r58169
2002-10-15s390.c (s390_split_branches): Add return value.Ulrich Weigand4-176/+692
* 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
2002-10-15init.c (build_delete): Do not apply save_expr for arrays.Nathan Sidwell4-6/+71
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
2002-10-15* sh.md (movv8qi_i+2): Don't split if source is -1.J"orn Rennecke2-1/+7
From-SVN: r58165
2002-10-15install.texi: Formatting changes for conformance to HTML 4.01.Janis Johnson2-158/+86
2002-10-15 Janis Johnson <janis187@us.ibm.com> * doc/install.texi: Formatting changes for conformance to HTML 4.01. From-SVN: r58164
2002-10-15java-tree.h (java_inlining_merge_static_initializers): Declare.Andrew Haley2-0/+7
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
2002-10-15* gcc.c-torture/execute/20021015-1.c: New test.Ulrich Weigand2-0/+34
From-SVN: r58159
2002-10-15re PR rtl-optimization/7409 (loop optimization)Ulrich Weigand2-0/+25
PR opt/7409 * loop.c (loop_regs_scan): Mark registers used for function argument passing as MAY_NOT_OPTIMIZE. From-SVN: r58158
2002-10-15* gcc.dg/weak/typeof-2.c: For SH targets, return before baz3 test.J"orn Rennecke2-0/+9
From-SVN: r58157
2002-10-15re PR c/7344 (performance regression on huge case statements)Jan Hubicka12-249/+475
* 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
2002-10-15Daily bump.GCC Administrator2-2/+2
From-SVN: r58155