- 08 Mar, 2004 5 commits
-
-
* fold-const.c (tree_expr_nonnegative_p): Reformat checks for builtins. From-SVN: r79088
Kaveh R. Ghazi committed -
PR target/14471 * configure.ac (Target-specific assembler checks) <cris-*-*>: New case, checking for -no-mul-bug-abort option. * configure, config.in: Regenerate. * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround and -mno-mul-bug-workaround. * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart") ("mulsidi3", "umulsidi3"): Prefix output template with "%!". ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"): Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG. * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make sure mulu.d is not last on cache-line. * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION. (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros. (TARGET_SWITCHES): New options -mmul-bug-workaround and -mno-mul-bug-workaround. (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG. (PRINT_OPERAND_PUNCT_VALID_P): Include '!'. * config/cris/cris.c (cris_operand_extend_operator): Clarify relation to MULT in head comment. (cris_op_str): Abort for MULT. (cris_print_operand) <case '!'>: New case. From-SVN: r79086
Hans-Peter Nilsson committed -
PR target/14471 * configure.ac (Target-specific assembler checks) <cris-*-*>: New case, checking for -no-mul-bug-abort option. * configure, config.in: Regenerate. * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround and -mno-mul-bug-workaround. * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart") ("mulsidi3", "umulsidi3"): Prefix output template with "%!". ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"): Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG. * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make sure mulu.d is not last on cache-line. * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION. (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros. (TARGET_SWITCHES): New options -mmul-bug-workaround and -mno-mul-bug-workaround. (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG. (PRINT_OPERAND_PUNCT_VALID_P): Include '!'. * config/cris/cris.c (cris_operand_extend_operator): Clarify relation to MULT in head comment. (cris_op_str): Abort for MULT. (cris_print_operand) <case '!'>: New case. From-SVN: r79085
Hans-Peter Nilsson committed -
2004-03-08 Benjamin Kosnik <bkoz@redhat.com> * include/bits/allocator.h: Switch defaults to mt_alloc. From-SVN: r79084
Benjamin Kosnik committed -
From-SVN: r79081
GCC Administrator committed
-
- 07 Mar, 2004 18 commits
-
-
PR debug/11983 * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to dw_val_class_vec. Replace use throughout file. (dw_float_const): Delete. (dw_vec_const): New. (dw_val_struct_union): Rename val_float to val_vec. Replace use throughout file. (add_AT_vec): Rename from add_AT_float. Add elt_size param. (same_dw_val_p): Adjust vec comparison. Use memcmp. (size_of_die): Adjust dw_val_class_vec sizing. (output_die): Output dw_val_class_vec. (insert_int, extract_int, insert_float): New functions. (add_const_value_attribute): Use insert_float for CONST_DOUBLE. Handle CONST_VECTOR. (add_location_or_const_value_attribute): Handle CONST_VECTOR. From-SVN: r79077
Alan Modra committed -
2004-03-07 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and AltiVec abi cannot co-exist. * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same. From-SVN: r79074
Aldy Hernandez committed -
From-SVN: r79071
Jan Hubicka committed -
* config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12. ("*lshrsi3"): Also accept an immediate for 68HC12. ("*ashrsi3_const"): Likewise. ("*ashrsi3"): Likewise. ("*ashlsi3_const"): Likewise. ("*ashlsi3"): Likewise. ("cmphi_1_hc12"): Compare two hard register by pushing them and comparing with a pop; don't use a split for that. ("cmphi split"): Disable compare split for 68HC12. * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate the status operands if they have side effects. From-SVN: r79068
Stephane Carrez committed -
* defaults.h (LEGITIMIZE_ADDRESS): Provide a default definition. * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, config/ia64/ia64.h, config/mcore/mcore.h, config/mmix/mmix.h, config/ns32k/ns32k.h, config/pdp11/pdp11.h, config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove. * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default definition. From-SVN: r79066
Kazu Hirata committed -
* fold-const.c (fold) <IOR_EXPR>: Fold x | x as x. <XOR_EXPR>: Fold x ^ x as zero. <AND_EXPR>: Fold x & x as x. From-SVN: r79065
Roger Sayle committed -
* fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform "foo++ == const" into "++foo == const+incr". * gcc.c-torture/execute/20040307-1.c: New test case. From-SVN: r79064
Roger Sayle committed -
* testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for prototypes. (main): Initialize style. From-SVN: r79062
Andreas Jaeger committed -
* config/mips/mips.c (mips_in_small_data_p): Return false if TARGET_ABICALLS. testsuite/ * gcc.dg/torture/mips-sdata-1.c: Restrict to mips*-*-elf*. From-SVN: r79060
Richard Sandiford committed -
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push the stack register. (expand_prologue): Don't make an interrupt or a trap handler a far symbol. (m68hc11_initial_elimination_offset): Likewise. From-SVN: r79058
Stephane Carrez committed -
From-SVN: r79054
Richard Henderson committed -
* config/ns32k/ns32k-protos.h: Add a prototype for ns32k_notice_update_cc. * config/ns32k/ns32k.c (ns32k_notice_update_cc): New. * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call ns32k_notice_update_cc. From-SVN: r79053
Kazu Hirata committed -
ChangeLog: * config/s390/s390.md ("load_multiple", "*load_multiple_di", "*load_multiple_si"): Allow only if reload_completed. ("store_multiple", "*store_multiple_di", "*store_multiple_si"): Likewise. testsuite/ChangeLog: * gcc.dg/20040306-1.c: New test. From-SVN: r79045
Ulrich Weigand committed -
2004-03-06 Benjamin Kosnik <bkoz@redhat.com> * include/ext/mt_allocator.h (_S_initialize): If !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex. From-SVN: r79044
Benjamin Kosnik committed -
2004-03-06 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/12658 * src/locale_init.cc (locale::locale): Lock critical regions with external mutexes. (locale::global): Same. * include/bits/concurrence.h (__glibcxx_mutex_define_initialized): Add in once bits for cases without __GTHREAD_MUTEX_INIT. (__glibcxx_mutex_lock): Same. * config/cpu/generic/atomicity.h: Remove _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h. * src/misc-inst.cc: Move all locking bits out of this file. * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK. * src/misc-inst.cc: Same. * config/cpu/hppa/atomicity.h: Same. * config/linker-map.gnu: Remove types in the signature of atomic exports, as they may vary. From-SVN: r79043
Benjamin Kosnik committed -
* gcc.dg/sibcall-3.c (recurser_void1, recurser_void2): Make them static. * gcc.dg/sibcall-4.c (recurser_void1, recurser_void2): Likewise. From-SVN: r79042
Kazu Hirata committed -
PR c/14465 * gcc.dg/decl-6.c: New test. From-SVN: r79038
Eric Botcazou committed -
From-SVN: r79035
GCC Administrator committed
-
- 06 Mar, 2004 17 commits
-
-
* config/vax/vax-protos.h: Add a prototype for vax_notice_update_cc. * config/vax/vax.c (vax_notice_update_cc): New. * config/vax/vax.h (NOTICE_UPDATE_CC): Call vax_notice_update_cc. From-SVN: r79032
Kazu Hirata committed -
* collect2.c (main): Only export initfunc and finifunc if LD_INIT_SWITCH not defined. (scan_prog_file): Only export constructors and destructors if LD_INIT_SWITCH not defined. Only export symbols not found in shared objects. From-SVN: r79031
David Edelsohn committed -
* pa.md (icacheflush): Reorder operands to make match_scratch operand last. * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument from calls to gen_icacheflush. From-SVN: r79029
John David Anglin committed -
* config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New. (TARGET_LONG_DOUBLE_128): New. (TARGET_SWITCHES): Add long-double-{128,64}. (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128. (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New. (WIDEST_HARDWARE_FP_SIZE): New. (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__. * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128 if TARGET_VAX_FLOAT. * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove. (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128. From-SVN: r79026
Richard Henderson committed -
* config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix botched rtx class conversion. From-SVN: r79025
Richard Henderson committed -
* gcc.dg/torture/builtin-explog-1.c: Add comments for each test. Rename LOGPOW -> LOG_POW. (SQRT_EXP, POW_EXP): New. From-SVN: r79024
Kaveh R. Ghazi committed -
* tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P, BUILTIN_CBRT_P, BUILTIN_ROOT_P): New macros. * builtins.c (fold_builtin_logarithm, fold_builtin): Use new macros. * fold-const.c (fold_mathfn_compare, fold): Likewise. From-SVN: r79023
Kaveh R. Ghazi committed -
2004-03-06 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc: Tweak the comment preceding has_facet: doesn't throw. From-SVN: r79022
Paolo Carlini committed -
2004-03-06 Paolo Carlini <pcarlini@suse.de> * testsuite/22_locale/money_get/get/char/1.cc: Clean up. * testsuite/22_locale/money_get/get/char/2.cc: Likewise. * testsuite/22_locale/money_get/get/char/3.cc: Likewise. * testsuite/22_locale/money_get/get/char/4.cc: Likewise. * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. From-SVN: r79019
Paolo Carlini committed -
re PR target/14343 (internal error while using vector instructions [gcc 3.4.0 20040225 (prerelease)].) PR target/14343 * config/i386/i386.md (movv2di_internal): Conditionalize on TARGET_SSE, not TARGET_SSE2. From-SVN: r79016
Eric Botcazou committed -
PR c/14114 * gcc.dg/decl-5.c: New test. From-SVN: r79012
Eric Botcazou committed -
2004-03-06 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_float, num_get<>::_M_extract_int, num_get<>::do_get(bool&), __pad<>::_S_pad): Prefer plain operator== to traits::eq(). * testsuite/testsuite_character.h (struct __gnu_test::character): Provide operator==. * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char): Likewise. From-SVN: r79011
Paolo Carlini committed -
2004-03-05 Chris Demetriou <cgd@broadcom.com> * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete duplicated line. From-SVN: r79010
Chris Demetriou committed -
From-SVN: r79009
Kaveh R. Ghazi committed -
2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com> * rtl.h (mem_expr_equal_p): Function prototype added. * cfgcleanup.c (merge_memattrs): New function. (flow_find_cross_jump): Call merge_memattrs for matching insns. * emit-rtl.c (mem_expr_equal_p): New function. 2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.dg/20040305-1.c: New test. From-SVN: r79005
Andreas Krebbel committed -
[gcc/ChangeLog] 2004-03-05 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (synth_module_prologue): Const-qualify objc_selector type if using the GNU runtime; fix generated signatures for objc_msg_lookup and objc_msg_lookup_super to match what GNU ObjC headers provide; reformat and clean up. (synth_self_and_ucmd_args): Use previously constructed (and hence possibly const-qualified) objc_selector type. From-SVN: r79004
Ziemowit Laski committed -
From-SVN: r79001
GCC Administrator committed
-