1. 16 Nov, 2008 2 commits
  2. 15 Nov, 2008 14 commits
    • re PR libfortran/37294 (Namelist I/O to array character internal units) · 7e278259
      2008-11-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/37294
      	* gfortran.dg/namelist_57.f90: New test.
      	* gfortran.dg/namelist_print_1.f: Adjust test conditions.
      
      From-SVN: r141893
      Jerry DeLisle committed
    • re PR libfortran/37294 (Namelist I/O to array character internal units) · 94bc6c1e
      2008-11-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/37294
      	* io/write.c (namelist_write_newline): Use array loop specification to
      	advance to next internal array unit record. (namelist_write): Adjust to
      	accomodate the internal array unit behavior.
      
      From-SVN: r141892
      Jerry DeLisle committed
    • re PR fortran/37926 (Program gives wrong output (connected to char len)) · 4d45d495
      2008-11-15  Paul Thomas  <pault@gcc.gnu.org>
      
              PR fortran/37926
              * trans-expr.c (gfc_add_interface_mapping): Transfer the formal
      	arglist and the always_explicit attribute if the dummy arg is a
      	procedure.
      
      2008-11-15  Paul Thomas  <pault@gcc.gnu.org>
      
              PR fortran/37926
              * gfortran.dg/dummy_procedure_3.f90: New test.
      
      From-SVN: r141890
      Paul Thomas committed
    • re PR target/38123 (error: incorrect sharing of tree nodes ap->fp_offset = D.2748;) · 6d8f280f
      	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
    • re PR tree-optimization/38051 (Miscompilation of glibc's memcmp) · 63894637
      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
    • invoke.texi (-mfix-r10000): Document. · ee9a72e5
      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… · 7348f18c
      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. · 708bceb7
      	* 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… · a5b8aacd
      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
    • re PR ada/37993 (missing Ada multilib support for darwin) · 4364e851
      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
    • re PR c++/37561 (Revision 140405 caused g++.old-deja/g++.mike/warn1.C) · b70cef5d
      	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
    • re PR fortran/37988 (Edit descriptor checking (compile time) for "<Holerith>T)") · 91ddf5a1
      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
    • re PR fortran/37988 (Edit descriptor checking (compile time) for "<Holerith>T)") · 74657812
      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
    • Daily bump. · e344d690
      From-SVN: r141877
      GCC Administrator committed
  3. 14 Nov, 2008 20 commits
  4. 13 Nov, 2008 4 commits
    • re PR target/28102 (GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared) · 3328a3b7
      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
    • * testsuite/ChangeLog: Add missing ChangeLog entry. · ab70111b
      From-SVN: r141837
      Uros Bizjak committed
    • loongson-muldiv-1.c: New test. · ffe6ff66
      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
    • loongson.md (<u>div<mode>3, [...]): New patterns. · 1a0f175d
      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