From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8637 invoked by alias); 31 May 2007 18:51:38 -0000 Received: (qmail 8116 invoked by alias); 31 May 2007 18:51:19 -0000 Date: Thu, 31 May 2007 18:52:00 -0000 Message-ID: <20070531185119.8115.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31994] conjg(transpose(a)) produces wrong answer. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg02845.txt.bz2 ------- Comment #11 from pault at gcc dot gnu dot org 2007-05-31 18:51 ------- Subject: Bug 31994 Author: pault Date: Thu May 31 18:50:56 2007 New Revision: 125235 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125235 Log: 2007-05-31 Paul Thomas backport from trunk PR fortran/31483 * trans-expr.c (gfc_conv_function_call): Give a dummy procedure the correct type if it has alternate returns. PR fortran/31540 * resolve.c (resolve_fl_procedure): Resolve constant character lengths. PR fortran/31867 PR fortran/31994 * trans-array.c (gfc_conv_expr_descriptor): Obtain the stored offset for non-descriptor, source arrays and correct for stride not equal to one before writing to field of output descriptor. 2007-05-31 Paul Thomas backport from trunk PR fortran/31483 * gfortran.dg/altreturn_5.f90: New test. PR fortran/31540 * gfortran.dg/char_result_5.f90: New test. PR fortran/31867 * gfortran.dg/char_length_5.f90: New test. PR fortran/31994 * gfortran.dg/array_reference_1.f90: New test. Added: branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/altreturn_5.f90 branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/array_reference_1.f90 branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/char_length_5.f90 branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/char_result_13.f90 Modified: branches/gcc-4_2-branch/gcc/fortran/ChangeLog branches/gcc-4_2-branch/gcc/fortran/resolve.c branches/gcc-4_2-branch/gcc/fortran/trans-array.c branches/gcc-4_2-branch/gcc/fortran/trans-expr.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31994