- 15 Nov, 2008 11 commits
-
-
PR target/38123 * config/i386/i386.c (ix86_gimplify_va_arg): Don't share valist between gpr and other COMPONENT_REFs. * gcc.c-torture/compile/pr38123.c: New test. From-SVN: r141889
Jakub Jelinek committed -
2008-11-15 Richard Guenther <rguenther@suse.de> PR tree-optimization/38051 * tree-ssa-alias.c (update_alias_info_1): Manually find written variables. * gcc.c-torture/execute/pr38051.c: New testcase. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r141887
Richard Guenther committed -
gcc/ 2008-11-15 Joshua Kinard <kumba@gentoo.org> * doc/invoke.texi (-mfix-r10000): Document. * config/mips/mips.opt (mfix-r10000): New option. * config/mips/mips-protos.h (mips_output_sync_loop): Declare. * config/mips/mips.h (MIPS_COMPARE_AND_SWAP): Use %?. (MIPS_COMPARE_AND_SWAP_12): Likewise. (MIPS_SYNC_OP): Likewise. (MIPS_SYNC_OP_12): Likewise. (MIPS_SYNC_OLD_OP_12): Likewise. (MIPS_SYNC_NEW_OP_12): Likewise. (MIPS_SYNC_OLD_OP): Likewise. (MIPS_SYNC_NAND): Likewise. (MIPS_SYNC_OLD_NAND): Likewise. (MIPS_SYNC_EXCHANGE): Likewise. (MIPS_SYNC_EXCHANGE_12): Likewise. (MIPS_SYNC_NEW_OP): Likewise, using %~ to fill branch-likely delay slots. (MIPS_SYNC_NEW_NAND): Likewise. * config/mips/mips.c (mips_print_operand_punctuation): Handle '~'. (mips_init_print_operand_punct): Treat '~' as a punctuation character. (mips_output_sync_loop): New function. (mips_override_options): Make -march=r10000 imply -mfix-r10000. Make -mfix-r10000 require branch-likely instructions. * config/mips/sync.md (sync_compare_and_swap<mode>): Use mips_output_sync_loop. (compare_and_swap_12): Likewise. (sync_add<mode>): Likewise. (sync_<optab>_12): Likewise. (sync_old_<optab>_12): Likewise. (sync_new_<optab>_12): Likewise. (sync_nand_12): Likewise. (sync_old_nand_12): Likewise. (sync_new_nand_12): Likewise. (sync_sub<mode>): Likewise. (sync_old_add<mode>): Likewise. (sync_old_sub<mode>): Likewise. (sync_new_add<mode>): Likewise. (sync_new_sub<mode>): Likewise. (sync_<optab><mode>): Likewise. (sync_old_<optab><mode>): Likewise. (sync_new_<optab><mode>): Likewise. (sync_nand<mode>): Likewise. (sync_old_nand<mode>): Likewise. (sync_new_nand<mode>): Likewise. (sync_lock_test_and_set<mode>): Likewise. (test_and_set_12): Likewise. gcc/testsuite/ 2008-11-15 Joshua Kinard <kumba@gentoo.org> Richard Sandiford <rdsandiford@goolemail.com> * gcc.target/mips/fix-r10000-1.c: New test. * gcc.target/mips/fix-r10000-2.c: Likewise. * gcc.target/mips/fix-r10000-3.c: Likewise. * gcc.target/mips/fix-r10000-4.c: Likewise. * gcc.target/mips/fix-r10000-5.c: Likewise. * gcc.target/mips/fix-r10000-6.c: Likewise. * gcc.target/mips/fix-r10000-7.c: Likewise. * gcc.target/mips/fix-r10000-8.c: Likewise. * gcc.target/mips/fix-r10000-9.c: Likewise. * gcc.target/mips/fix-r10000-10.c: Likewise. * gcc.target/mips/fix-r10000-11.c: Likewise. * gcc.target/mips/fix-r10000-12.c: Likewise. * gcc.target/mips/fix-r10000-13.c: Likewise. * gcc.target/mips/fix-r10000-14.c: Likewise. * gcc.target/mips/fix-r10000-15.c: Likewise. Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r141886
Joshua Kinard committed -
trans.c (emit_check): Put back a final save_expr to prevent exponential expansion during gimplification. * gcc-interface/trans.c (emit_check): Put back a final save_expr to prevent exponential expansion during gimplification. From-SVN: r141885
Geert Bosch committed -
* gcc.c (cc1_options): Fix comment. ada/ * gcc-interface/lang-specs.h: Expand -coverage and reorder switches. From-SVN: r141884
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Force constants initialized to a static constant to be statically allocated... * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Force constants initialized to a static constant to be statically allocated even if they are of a padding type, provided the original type also has constant size. From-SVN: r141883
Eric Botcazou committed -
2008-11-15 Laurent Guerby <laurent@guerby.net> PR ada/37993 * gcc-interface/Makefile.in: Add multilib handling for x86_64 on darwin. * system-darwin-x86_64.ads: New file. From-SVN: r141882
Laurent GUERBY committed -
PR c++/37561 * c-typeck.c (build_unary_op): Don't call get_unwidened. Use argtype instead of result_type. * typeck.c (cp_build_unary_op): Don't call get_unwidened. Use argtype instead of result_type. * gcc.dg/pr37561.c: New test. * g++.dg/other/increment1.C: New test. From-SVN: r141881
Jakub Jelinek committed -
2008-11-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/37988 * gfortran.dg/fmt_error_6.f90: New test. From-SVN: r141880
Jerry DeLisle committed -
2008-11-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/37988 * io.c (enum format_token): For readability replace FMT_POS with FMT_T, FMT_TL, and FMT_TR. (format_lex): Use new enumerators. (check_format): Add check for missing positive integer. From-SVN: r141879
Jerry DeLisle committed -
From-SVN: r141877
GCC Administrator committed
-
- 14 Nov, 2008 20 commits
-
-
ira-int.h (struct ira_loop_tree_node): Improve comments for subloop_next/next and subloops/childen fields. * ira-int.h (struct ira_loop_tree_node): Improve comments for subloop_next/next and subloops/childen fields. From-SVN: r141873
Adam Nemet committed -
* config/spu/spu-elf.h (STANDARD_STARTFILE_PREFIX_2): Disable default. (STANDARD_INCLUDE_DIR): Redefine to "/include". (LOCAL_INCLUDE_DIR): Undefine. * config/spu/t-spu-elf (NATIVE_SYSTEM_HEADER_DIR): Define. From-SVN: r141870
Ulrich Weigand committed -
PR c++/38030 * semantics.c (finish_call_expr): Remember the result of non-dependent overload resolution. From-SVN: r141866
Jason Merrill committed -
PR c++/37740 * call.c (build_aggr_conv): Increment i. From-SVN: r141865
Jason Merrill committed -
PR middle-end/38004 * g++.dg/vect/pr36648.cc: Check alignment requirement. From-SVN: r141864
Steve Ellcey committed -
2008-11-14 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/38098 * gcc.dg/cpp/subframework1.c: Use -Wno-deprecated. From-SVN: r141862
Jack Howarth committed -
2008-10-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/38033 * trans-array.c (gfc_trans_create_temp_array): Stabilize the 'to' expression. (gfc_conv_loop_setup): Use the end expression for the loop 'to' if it is available. 2008-10-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/38033 * gfortran.dg/array_section_2.f90: New test. From-SVN: r141861
Paul Thomas committed -
2008-11-14 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/37397 * ira-int.h (struct ira_allocno): New member bad_spill_p. (ALLOCNO_BAD_SPILL_P): New macro. * ira-color.c (push_allocnos_to_stack): Check ALLOCNO_BAD_SPILL_P. * ira-build.c (ira_create_allocno): Initialize ALLOCNO_BAD_SPILL_P. (create_cap_allocno, propagate_allocno_info, remove_unnecessary_allocnos): Set up or update ALLOCNO_BAD_SPILL_P. (update_bad_spill_attribute): New function. (ira_build): Call it. * ira-costs.c (record_reg_classes): Set up ALLOCNO_BAD_SPILL_P. From-SVN: r141860
Vladimir Makarov committed -
PR bootstrap/38014 PR bootstrap/37923 Revert: 2008-10-24 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo. * Makefile.in: Regenerated. 2008-10-22 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. (HOST_EXPORTS): Pass CPPFLAGS. (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. (LDFLAGS_FOR_TARGET): Initialize from configure script. (EXTRA_TARGET_FLAGS): Set CPPFLAGS. * Makefile.in, configure: Regenerated. * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, and CPPFLAGS_FOR_BUILD. From-SVN: r141859
Daniel Jacobowitz committed -
re PR tree-optimization/38104 (ICE segmentation fault (with -O3 when deref a NULL pointer in the code??)) PR tree-optimization/38104 * gimplify.c (gimple_regimplify_operands): Add referenced vars before calling mark_symbols_for_renaming, not after it. * g++.dg/tree-ssa/pr38104.C: New test. From-SVN: r141857
Jakub Jelinek committed -
* gcc.target/sh/pr37514.c: Remove. From-SVN: r141856
Kaz Kojima committed -
* config/sh/sh.h (OPTIMIZATION_OPTIONS): Revert last change. (OVERRIDE_OPTIONS): Likewise. * gcc.target/sh/pr37514.c: Remove. From-SVN: r141855
Kaz Kojima committed -
PR testsuite/37517 * gcc.target/i386/quad-sse.c: Tighten scan-assembler-not pattern. From-SVN: r141854
Uros Bizjak committed -
2008-11-14 Maxim Kuvyrkov <maxim@codesourcery.com> Andrew Stubbs <ams@codesourcery.com> Gunnar Von Boehn <gunnar@genesi-usa.com> gcc/ PR target/36134 * config/m68k/m68k.md (addsi3_5200): Add a new alternative preferring the shorter LEA insn over ADD.L where possible. gcc/testsuite/ PR target/36134 * gcc.target/m68k/pr36134.c: New test. Co-Authored-By: Andrew Stubbs <ams@codesourcery.com> Co-Authored-By: Gunnar Von Boehn <gunnar@genesi-usa.com> From-SVN: r141853
Maxim Kuvyrkov committed -
* gcc.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and <xmmintrin.h>, define __m64 and __m128 directly. From-SVN: r141852
Uros Bizjak committed -
2008-11-14 Thomas Schwinge <tschwinge@gnu.org> * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd systems, which are assumend to always provide SSP-support in glibc. * configure: Regenerate. From-SVN: r141851
Thomas Schwinge committed -
configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD, GNU/kNetBSD systems in the `*-*-linux*' case. 2008-11-14 Thomas Schwinge <tschwinge@gnu.org> * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD, GNU/kNetBSD systems in the `*-*-linux*' case. * configure: Regenerate. From-SVN: r141850
Thomas Schwinge committed -
re PR middle-end/36125 (FAIL: 26_numerics/complex/13450.cc: ICE in verify_gimple_expr, at tree-cfg.c:3962) PR middle-end/36125 * function.c (gimplify_parameters): For callee copies parameters, move TREE_ADDRESSABLE flag from the PARM_DECL to the local copy. * gcc.c-torture/compile/pr36125.c: New test. From-SVN: r141848
Jakub Jelinek committed -
PR c++/37932 * typeck2.c (process_init_constructor_record): Update bitfield handling. (check_narrowing): Update bitfield handling, print source type. From-SVN: r141843
Jason Merrill committed -
From-SVN: r141841
GCC Administrator committed
-
- 13 Nov, 2008 9 commits
-
-
2008-11-13 Thomas Schwinge <tschwinge@gnu.org> PR target/28102 * config.gcc (*-*-gnu*): Move Alpha parts into the `alpha*-*-gnu*', x86 parts into the `i[34567]86-*-linux*' and parts that are independent of the processor architecture into the `*-*-linux*' cases. (*-*-linux*): Consider `linux.opt' only for Linux-based configurations. * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Redefine. (TARGET_OS_CPP_BUILTINS, LINK_SPEC): Don't redefine. [TARGET_LIBC_PROVIDES_SSP] (TARGET_THREAD_SSP_OFFSET): Undefine. * config/gnu.h (NO_IMPLICIT_EXTERN_C): Don't redefine. (HURD_TARGET_OS_CPP_BUILTINS): Don't define, but instead... (LINUX_TARGET_OS_CPP_BUILTINS): Redefine. From-SVN: r141838
Thomas Schwinge committed -
From-SVN: r141837
Uros Bizjak committed -
gcc/testsuite/ * gcc.target/mips/loongson-muldiv-1.c: New test. * gcc.target/mips/loongson-muldiv-2.c: Likewise. From-SVN: r141836
Richard Sandiford committed -
gcc/ 2008-11-13 Ruan Beihong <ruanbeihong@gmail.com> * config/mips/loongson.md (<u>div<mode>3, <u>mod<mode>3): New patterns. * config/mips/loongson2ef.md (ls2_imult): Handle imul3nc. (ls2_idiv): Likewise idiv3. (ls2_prefetch): New reservation. * config/mips/mips.h (ISA_HAS_PREFETCH): Add TARGET_LOONGSON_2EF. * config/mips/mips.md (type): Add imul3nc and idiv3. (length): Handle idiv3. (any_mod): New code_iterator. (u): Handle MOD and UMOD. (mul<mode>3): Generate mul<mode>3_mul3_ls2ef on Loongson targets. (prefetch): Handle TARGET_LOONGSON_2EF. From-SVN: r141835
Ruan Beihong committed -
From-SVN: r141831
Joseph Myers committed -
PR libgomp/37938 * config/linux/ia64/mutex.h: New. From-SVN: r141830
Steve Ellcey committed -
PR c++/27017 * dwarf2out.c (prune_unused_types_walk_local_classes): New function. (prune_unused_types_walk): Call it for non-perennial local classes. Set die_mark to 2 if recursing on children. If die_mark is 1 on entry, just set it to 2 and recurse on children, don't walk attributes again. * g++.dg/debug/dwarf2/localclass1.C: New test. * g++.dg/debug/dwarf2/localclass2.C: New test. From-SVN: r141829
Jakub Jelinek committed -
in warning. From-SVN: r141826
Martin Michlmayr committed -
* gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mno-mmx for i?86-*-* and x86_64-*-* targets * g++.dg/compat/struct-layout-1_generate.c (dg-options): Add -fno-common for *-*-darwin* *-*-mingw32* *-*-cygwin* targets. From-SVN: r141825
Uros Bizjak committed
-