* [Bug c++/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
@ 2003-06-28 4:37 ` pinskia at physics dot uc dot edu
2003-08-29 21:13 ` jason at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-28 4:37 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2003-05-12 00:00:00 |2003-06-28 04:37:41
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-28 04:37 -------
Should not be in waiting as it is analysised and confirmed as a bug on the mainline
already and the waiting use is only for waiting for response from the submitter and this is
waiting from a developer.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
2003-06-28 4:37 ` [Bug c++/6392] Problems with __restrict__ type qualifier (array) pinskia at physics dot uc dot edu
@ 2003-08-29 21:13 ` jason at gcc dot gnu dot org
2003-10-09 8:39 ` cvs-commit at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2003-08-29 21:13 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jason at gcc dot gnu dot org|jason at redhat dot com
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
2003-06-28 4:37 ` [Bug c++/6392] Problems with __restrict__ type qualifier (array) pinskia at physics dot uc dot edu
2003-08-29 21:13 ` jason at gcc dot gnu dot org
@ 2003-10-09 8:39 ` cvs-commit at gcc dot gnu dot org
2003-10-09 8:39 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-09 8:39 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-09 08:39 -------
Subject: Bug 6392
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2003-10-09 08:39:34
Added files:
gcc/testsuite/g++.dg/ext: restrict1.C
Log message:
PR c++/6392
* cp/tree.c (build_cplus_array_type): Handle all quals the same.
(cp_build_qualified_type_real): Look through arrays first.
* c-common.c (c_build_qualified_type): Look through arrays first.
(c_apply_type_quals_to_decl): Look through arrays.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/restrict1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
` (2 preceding siblings ...)
2003-10-09 8:39 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-09 8:39 ` cvs-commit at gcc dot gnu dot org
2003-10-09 14:55 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-09 8:39 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-09 08:38 -------
Subject: Bug 6392
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2003-10-09 08:38:46
Modified files:
gcc : ChangeLog c-common.c
gcc/cp : ChangeLog tree.c
Log message:
PR c++/6392
* cp/tree.c (build_cplus_array_type): Handle all quals the same.
(cp_build_qualified_type_real): Look through arrays first.
* c-common.c (c_build_qualified_type): Look through arrays first.
(c_apply_type_quals_to_decl): Look through arrays.
* c-common.c (c_apply_type_quals_to_decl): Unset TREE_READONLY for
types with constructors.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1346&r2=2.1347
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&r1=1.461&r2=1.462
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3721&r2=1.3722
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&r1=1.349&r2=1.350
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
` (3 preceding siblings ...)
2003-10-09 8:39 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-09 14:55 ` pinskia at gcc dot gnu dot org
2003-10-09 15:30 ` jason at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-09 14:55 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|rejects-valid |pessimizes-code
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-09 14:55 -------
Now only causes pessimizes-code.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
` (4 preceding siblings ...)
2003-10-09 14:55 ` pinskia at gcc dot gnu dot org
@ 2003-10-09 15:30 ` jason at gcc dot gnu dot org
2003-12-26 3:28 ` [Bug optimization/6392] " pinskia at gcc dot gnu dot org
2005-09-28 5:17 ` [Bug middle-end/6392] " ian at airs dot com
7 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2003-10-09 15:30 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jason at redhat dot com |unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug optimization/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
` (5 preceding siblings ...)
2003-10-09 15:30 ` jason at gcc dot gnu dot org
@ 2003-12-26 3:28 ` pinskia at gcc dot gnu dot org
2005-09-28 5:17 ` [Bug middle-end/6392] " ian at airs dot com
7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-26 3:28 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Keywords| |alias
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/6392] Problems with __restrict__ type qualifier (array)
[not found] <20020421061600.6392.schmid@snake.iap.physik.tu-darmstadt.de>
` (6 preceding siblings ...)
2003-12-26 3:28 ` [Bug optimization/6392] " pinskia at gcc dot gnu dot org
@ 2005-09-28 5:17 ` ian at airs dot com
7 siblings, 0 replies; 10+ messages in thread
From: ian at airs dot com @ 2005-09-28 5:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ian at airs dot com 2005-09-28 05:16 -------
I think we should just close this PR. In comment #9 Andrew suggests that this
should be a pessimizes-code, but there is no test case for that and no reason to
think that we do pessimize the code. If there is some problem with the
implementation of an array of restrict qualified elements, I think we should put
that in a new PR with a test case.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392
^ permalink raw reply [flat|nested] 10+ messages in thread