From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24668 invoked by alias); 8 Jul 2005 21:19:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24587 invoked by alias); 8 Jul 2005 21:19:44 -0000 Date: Fri, 08 Jul 2005 21:21:00 -0000 Message-ID: <20050708211944.24585.qmail@sourceware.org> From: "cvs-commit at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050212162405.19926.sgk@troutmask.apl.washington.edu> References: <20050212162405.19926.sgk@troutmask.apl.washington.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/19926] [4.0 only] Incorrect rank with PARAMETER and array element. X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg01052.txt.bz2 List-Id: ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-08 21:19 ------- Subject: Bug 19926 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: kargl@gcc.gnu.org 2005-07-08 21:19:28 Modified files: gcc/fortran : ChangeLog intrinsic.c match.c primary.c trans-array.c trans-array.h trans-decl.c trans-stmt.c Log message: Backport from the mainline: PR fortran/21257 (port from g95) * match.c (gfc_match_label): Detect duplicate labels. * gfortran.dg/duplicate_labels.f90: New test. PR fortran/19926 * primary.c (gfc_match_rvalue): expr_type can be EXPR_CONSTANT for an array; check that sym->as is NULL. * gfortran.dg/pr19926.f90: New test. PR fortran/17792 PR fortran/21375 * trans-array.c (gfc_array_deallocate): pstat is new argument (gfc_array_allocate): update gfc_array_deallocate() call. (gfc_trans_deferred_array): ditto. * trans-array.h: update gfc_array_deallocate() prototype. * trans-decl.c (gfc_build_builtin_function_decls): update declaration * trans-stmt.c (gfc_trans_deallocate): Implement STAT= feature. * intrinsic.c (gfc_intrinsic_func_interface): Enable errors for generic functions whose simplification routine return FAILURE. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.76&r2=1.335.2.77 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.44.2.3&r2=1.44.2.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/match.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.31.8.7&r2=1.31.8.8 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/primary.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.22.2.4&r2=1.22.2.5 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.39.2.5&r2=1.39.2.6 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.7.18.1&r2=1.7.18.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.54.2.3&r2=1.54.2.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-stmt.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.24.6.5&r2=1.24.6.6 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19926