This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] PR34556 Rejects valid with bogus error message: parameter initalization
- From: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- To: "Jerry DeLisle" <jvdelisle at verizon dot net>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 14 Jan 2008 10:08:10 +0100
- Subject: Re: [patch, fortran] PR34556 Rejects valid with bogus error message: parameter initalization
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=tIqiQ2ck1AGDbaEub1QVig39vqti+GQ++8znAASmWn8=; b=I0n01nWu69R1ZuE17zJ0t7m51KIR/F7WHOCjClKrW3OEkli0vhJxnnhkLxaDrl17Vw+usWem4nLvq6iaxajzxpV+LTeKGZ3QruqQddMnaGcDFgJot2HAtrzLeROucwddzHQmsp+b1iOTukm6ZK1M8G6oFIClWf4S14AllMOY8Fk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VDmGoAf471E2IxpTRsuh5Ssj6MBYE1ywVMd0jPprjE1o09mzCIvNKqlbs/a2adZvEbYhlOUDuzeCNvKsFmH4KPAYXL4yR0Y9wypFdnljZ4B5+FaJ34KQFk6i7N2LipEj/QOu5MRRsvo8LbflfltBZam8+QHkwK+CvoXNfc3iNnc=
> OK for trunk?
The patch fails if I change the order of the constructors in the
'source' argument.
integer, parameter, dimension (linem, nplam) :: nxttab = &
reshape ([[(6, i= 1, 2*linem) ], [(i, i= 1,linem)], &
max ([(i, i= 1,linem)], [(10*i, i= 1,linem)])], &
[linem, nplam ])
I think that you are on the right track but a bit more is needed:)
Cheers
Paul