[Bug middle-end/33272] Compiler does not take advantage of restrict

2008-10-01 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2008-10-01 14:38 ---
The implementation detail of restrict makes the alias-oracle not work properly.
Dup of PR14187 - restrict should be a PTA thing.

*** This bug has been marked as a duplicate of 14187 ***


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


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



[Bug middle-end/33272] Compiler does not take advantage of restrict

2007-11-04 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2007-11-05 00:08 ---
Subject: Bug 33272

Author: pinskia
Date: Mon Nov  5 00:08:04 2007
New Revision: 129888

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129888
Log:
Index: ChangeLog
===
--- ChangeLog   (revision 129887)
+++ ChangeLog   (working copy)
@@ -6447,6 +6447,7 @@

 2007-09-02  Joseph Myers  [EMAIL PROTECTED]

+   PR c/29237
PR middle-end/33272
* c-decl.c (grokdeclarator): Apply qualifiers to type of parameter
decayed from array.
Index: testsuite/ChangeLog
===
--- testsuite/ChangeLog (revision 129887)
+++ testsuite/ChangeLog (working copy)
@@ -3041,6 +3041,7 @@

 2007-09-02  Joseph Myers  [EMAIL PROTECTED]

+   PR C/29237
PR middle-end/33272
* gcc.dg/c99-arraydecl-3.c: New test.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug middle-end/33272] Compiler does not take advantage of restrict

2007-09-01 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2007-09-01 11:15 ---
Nearly a dup.  Search for restrict and missed-optimization, alias for more
of them.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

  BugsThisDependsOn||14187, 16913
   Severity|normal  |enhancement
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||alias
   Last reconfirmed|-00-00 00:00:00 |2007-09-01 11:15:21
   date||


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



[Bug middle-end/33272] Compiler does not take advantage of restrict

2007-09-01 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2007-09-01 20:12 ---
Well for the RTL level, with this code, one problem is that iv-opts messes up:
  ivtmp.34 = (long unsigned int) (*(b + 64))[j];

There is a bug for the iv-opts issue too (though I have not had time to look
into fixing it the correct way, iv-opts needs a real rewrite).

And also PRE does not remap the pretmp for restrict (this already filed).


-- 


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



[Bug middle-end/33272] Compiler does not take advantage of restrict

2007-09-01 Thread jsm28 at gcc dot gnu dot org


--- Comment #3 from jsm28 at gcc dot gnu dot org  2007-09-02 00:11 ---
Subject: Bug 33272

Author: jsm28
Date: Sun Sep  2 00:11:20 2007
New Revision: 128018

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128018
Log:
PR middle-end/33272
* c-decl.c (grokdeclarator): Apply qualifiers to type of parameter
decayed from array.

testsuite:
* gcc.dg/c99-arraydecl-3.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/c99-arraydecl-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/testsuite/ChangeLog


-- 


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