--- Comment #7 from pault at gcc dot gnu dot org 2006-06-25 18:11 ---
Fixed on trunk and 4.1
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from pault at gcc dot gnu dot org 2006-06-25 18:08 ---
Subject: Bug 20874
Author: pault
Date: Sun Jun 25 18:08:13 2006
New Revision: 114994
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114994
Log:
2006-06-25 Paul Thomas <[EMAIL PROTECTED]>
PR fortran/
--- Comment #5 from pault at gcc dot gnu dot org 2006-06-25 15:11 ---
Subject: Bug 20874
Author: pault
Date: Sun Jun 25 15:11:02 2006
New Revision: 114987
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114987
Log:
2006-06-25 Paul Thomas <[EMAIL PROTECTED]>
PR fortran/
--- Comment #4 from pault at gcc dot gnu dot org 2006-06-22 18:26 ---
> > we should check that an elemental function doesn't return a pointer.
a pointer already yields:
INTEGER, pointer :: MM ! should be scalar
1
Error: POINTER attribute conflicts with
--- Comment #3 from pault at gcc dot gnu dot org 2006-06-20 23:33 ---
FX,
> which makes me think that simply having as != NULL is enough to know that it's
> not a scalar.
That's my opinion too. I know that it works because I have tried it! I was
"persuaded" otherwise after a discussio
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-06-19 22:11
---
Regarding your patch:
+ /* An elemental function is required to return a scalar 12.7.1 */
+ if (sym->attr.elemental && sym->attr.function
+ && sym->as && sym->as->rank)
I'm not sure why the condition sy
--- Comment #1 from paul dot richard dot thomas at cea dot fr 2006-06-19
09:25 ---
Created an attachment (id=11695)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11695&action=view)
Patch to fix PR
I will submit this tonight.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?
--
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed||1
Keywords||accepts-