public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
       [not found] <bug-31094-4@http.gcc.gnu.org/bugzilla/>
@ 2012-04-24  8:51 ` slayoo at staszic dot waw.pl
  2013-06-25  9:08 ` dominiq at lps dot ens.fr
  2013-08-28  8:25 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: slayoo at staszic dot waw.pl @ 2012-04-24  8:51 UTC (permalink / raw)
  To: gcc-bugs

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

Sylwester Arabas <slayoo at staszic dot waw.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slayoo at staszic dot
                   |                            |waw.pl

--- Comment #6 from Sylwester Arabas <slayoo at staszic dot waw.pl> 2012-04-24 08:50:52 UTC ---
Perhaps that's somehow related to the issue described in this message:
http://gcc.gnu.org/ml/fortran/2012-04/msg00122.html
Sylwester


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

* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
       [not found] <bug-31094-4@http.gcc.gnu.org/bugzilla/>
  2012-04-24  8:51 ` [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping slayoo at staszic dot waw.pl
@ 2013-06-25  9:08 ` dominiq at lps dot ens.fr
  2013-08-28  8:25 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-06-25  9:08 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is this PR fixed by revision 165559 or not?


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

* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
       [not found] <bug-31094-4@http.gcc.gnu.org/bugzilla/>
  2012-04-24  8:51 ` [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping slayoo at staszic dot waw.pl
  2013-06-25  9:08 ` dominiq at lps dot ens.fr
@ 2013-08-28  8:25 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-08-28  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Not sure - the middle-end now has the 'fn spec' attribute, so middle-end
support
is ready.  The revision in question only marks IO library calls properly,
not as requested user functions with INTENT(IN)/INTENT(OUT) (?)

So, closing the middle-end part as fixed (this was a middle-end bug).

Eventually a Fortran bug still needs to be opened.


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

* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
  2007-03-09  7:17 [Bug middle-end/31094] New: " burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-10-08 11:23 ` matz at gcc dot gnu dot org
@ 2009-10-08 11:26 ` matz at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: matz at gcc dot gnu dot org @ 2009-10-08 11:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from matz at gcc dot gnu dot org  2009-10-08 11:26 -------
See also my mail http://gcc.gnu.org/ml/fortran/2009-08/msg00200.html
about this issue.


-- 


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


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

* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
  2007-03-09  7:17 [Bug middle-end/31094] New: " burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-01-10 16:47 ` manu at gcc dot gnu dot org
@ 2009-10-08 11:23 ` matz at gcc dot gnu dot org
  2009-10-08 11:26 ` matz at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: matz at gcc dot gnu dot org @ 2009-10-08 11:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from matz at gcc dot gnu dot org  2009-10-08 11:23 -------
We're (slowly) working on this.


-- 

matz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matz at gcc dot gnu dot org
         AssignedTo|unassigned at gcc dot gnu   |matz at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-04-22 23:14:03         |2009-10-08 11:23:04
               date|                            |


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


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

* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
  2007-03-09  7:17 [Bug middle-end/31094] New: " burnus at gcc dot gnu dot org
  2007-03-09 10:34 ` [Bug middle-end/31094] " rguenth at gcc dot gnu dot org
  2008-01-10 16:10 ` manu at gcc dot gnu dot org
@ 2008-01-10 16:47 ` manu at gcc dot gnu dot org
  2009-10-08 11:23 ` matz at gcc dot gnu dot org
  2009-10-08 11:26 ` matz at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-01-10 16:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2008-01-10 15:40 -------
Actually, that is for Wuninitialized. For a missed optimisation:

#include <stdio.h>
char foo()
{
  char str[] = "Hola";

  char c;

  printf("%s", str);
  c = str[0];
  return c;
}


-- 


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


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

* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
  2007-03-09  7:17 [Bug middle-end/31094] New: " burnus at gcc dot gnu dot org
  2007-03-09 10:34 ` [Bug middle-end/31094] " rguenth at gcc dot gnu dot org
@ 2008-01-10 16:10 ` manu at gcc dot gnu dot org
  2008-01-10 16:47 ` manu at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-01-10 16:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from manu at gcc dot gnu dot org  2008-01-10 15:38 -------
Isn't this similar to 

include <stdio.h>
main()
{
 char foo[10];
 printf("%s", foo);
}

and other functions that we know for sure don't modify their arguments. It
seems a missed optimisation not only for Fortran.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org


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


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

* [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping
  2007-03-09  7:17 [Bug middle-end/31094] New: " burnus at gcc dot gnu dot org
@ 2007-03-09 10:34 ` rguenth at gcc dot gnu dot org
  2008-01-10 16:10 ` manu at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-03-09 10:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-03-09 10:33 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org, rguenth at gcc dot gnu
                   |                            |dot org, dnovillo at redhat
                   |                            |dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-09 10:33:54
               date|                            |


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


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

end of thread, other threads:[~2013-08-28  8:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-31094-4@http.gcc.gnu.org/bugzilla/>
2012-04-24  8:51 ` [Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping slayoo at staszic dot waw.pl
2013-06-25  9:08 ` dominiq at lps dot ens.fr
2013-08-28  8:25 ` rguenth at gcc dot gnu.org
2007-03-09  7:17 [Bug middle-end/31094] New: " burnus at gcc dot gnu dot org
2007-03-09 10:34 ` [Bug middle-end/31094] " rguenth at gcc dot gnu dot org
2008-01-10 16:10 ` manu at gcc dot gnu dot org
2008-01-10 16:47 ` manu at gcc dot gnu dot org
2009-10-08 11:23 ` matz at gcc dot gnu dot org
2009-10-08 11:26 ` matz 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).