public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38273]  New: Cray pointers: Document that
@ 2008-11-26  8:49 burnus at gcc dot gnu dot org
  2009-03-14  9:58 ` [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values pault at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-11-26  8:49 UTC (permalink / raw)
  To: gcc-bugs

http://groups.google.com/group/comp.lang.fortran/msg/b535884fdbd62f39

Intel has: in the manual
  "A pointer cannot be a function return value."

As gfortran also rejects it,
   Error: CRAY POINTER attribute conflicts with FUNCTION attribute at (1) 
one could also add it to the manual, or to say it in James Van Buskirk's words:

"We can see that gfortran doesn't like function results to be cray
pointers either, although I can't find this in the gfortran manual."


-- 
           Summary: Cray pointers: Document that
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38273


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values
  2008-11-26  8:49 [Bug fortran/38273] New: Cray pointers: Document that burnus at gcc dot gnu dot org
@ 2009-03-14  9:58 ` pault at gcc dot gnu dot org
  2009-03-28 17:12 ` fxcoudert at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2009-03-14  9:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pault at gcc dot gnu dot org  2009-03-14 09:58 -------
There is no reason at all why this cannot be fixed.

Adding non-standard on non-standard doesn't seem too bad:-)

Paul


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38273


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values
  2008-11-26  8:49 [Bug fortran/38273] New: Cray pointers: Document that burnus at gcc dot gnu dot org
  2009-03-14  9:58 ` [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values pault at gcc dot gnu dot org
@ 2009-03-28 17:12 ` fxcoudert at gcc dot gnu dot org
  2010-06-10 19:51 ` fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-28 17:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-03-28 17:12:06
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38273


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values
  2008-11-26  8:49 [Bug fortran/38273] New: Cray pointers: Document that burnus at gcc dot gnu dot org
  2009-03-14  9:58 ` [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values pault at gcc dot gnu dot org
  2009-03-28 17:12 ` fxcoudert at gcc dot gnu dot org
@ 2010-06-10 19:51 ` fxcoudert at gcc dot gnu dot org
  2010-06-10 20:03 ` fxcoudert at gcc dot gnu dot org
  2010-06-10 20:04 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2010-06-10 19:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2010-06-10 19:51 -------
Patch proposed at: http://gcc.gnu.org/ml/fortran/2010-06/msg00099.html


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
                URL|                            |http://gcc.gnu.org/ml/fortra
                   |                            |n/2010-06/msg00099.html
             Status|NEW                         |ASSIGNED
           Keywords|                            |patch
   Last reconfirmed|2009-03-28 17:12:06         |2010-06-10 19:51:38
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38273


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values
  2008-11-26  8:49 [Bug fortran/38273] New: Cray pointers: Document that burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-06-10 19:51 ` fxcoudert at gcc dot gnu dot org
@ 2010-06-10 20:03 ` fxcoudert at gcc dot gnu dot org
  2010-06-10 20:04 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2010-06-10 20:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2010-06-10 20:03 -------
Subject: Bug 38273

Author: fxcoudert
Date: Thu Jun 10 20:02:39 2010
New Revision: 160569

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160569
Log:
        PR fortran/38273
        * gfortran.texi: Document that Cray pointers cannot be function
        results.

        PR fortran/36234
        * gfortran.texi: Document lack of support for syntax
        "complex FUNCTION name*16()", and existence of alternative
        legacy syntax "complex*16 FUNCTION name()".

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38273


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values
  2008-11-26  8:49 [Bug fortran/38273] New: Cray pointers: Document that burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-06-10 20:03 ` fxcoudert at gcc dot gnu dot org
@ 2010-06-10 20:04 ` fxcoudert at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2010-06-10 20:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2010-06-10 20:03 -------
Fixed.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38273


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-10 20:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-26  8:49 [Bug fortran/38273] New: Cray pointers: Document that burnus at gcc dot gnu dot org
2009-03-14  9:58 ` [Bug fortran/38273] Cray pointers: Document that pointers cannot be function return values pault at gcc dot gnu dot org
2009-03-28 17:12 ` fxcoudert at gcc dot gnu dot org
2010-06-10 19:51 ` fxcoudert at gcc dot gnu dot org
2010-06-10 20:03 ` fxcoudert at gcc dot gnu dot org
2010-06-10 20:04 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).