[Bug fortran/20874] elemental function ought to be scalar

2006-06-25 Thread pault at gcc dot gnu dot org
--- 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=gccview=revrev=114987 Log: 2006-06-25 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/20874] elemental function ought to be scalar

2006-06-25 Thread pault at gcc dot gnu dot org
--- 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=gccview=revrev=114994 Log: 2006-06-25 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/20874] elemental function ought to be scalar

2006-06-25 Thread pault at gcc dot gnu dot org
--- 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

[Bug fortran/20874] elemental function ought to be scalar

2006-06-22 Thread pault at gcc dot gnu dot org
--- 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

[Bug fortran/20874] elemental function ought to be scalar

2006-06-20 Thread pault at gcc dot gnu dot org
--- 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 discussion

[Bug fortran/20874] elemental function ought to be scalar

2006-06-19 Thread paul dot richard dot thomas at cea dot fr
--- 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=11695action=view) Patch to fix PR I will submit this tonight. Paul --

[Bug fortran/20874] elemental function ought to be scalar

2006-06-19 Thread fxcoudert at gcc dot gnu dot org
--- 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 sym-as-rank

[Bug fortran/20874] elemental function ought to be scalar

2005-04-23 Thread tobi at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Keywords|