public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm
@ 2005-05-06 14:43 pinskia at gcc dot gnu dot org
2005-05-06 14:46 ` [Bug c/21419] " pinskia at gcc dot gnu dot org
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 14:43 UTC (permalink / raw)
To: gcc-bugs
The following code is accepted now in 4.0.0 and above but should not be:
void sigaddset(const int set)
{
__asm__("" : "=m"(set) );
}
--
Summary: [4.0/4.1 Regression] Accepts writting to const via asm
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
@ 2005-05-06 14:46 ` pinskia at gcc dot gnu dot org
2005-05-06 14:48 ` pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 14:46 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
2005-05-06 14:46 ` [Bug c/21419] " pinskia at gcc dot gnu dot org
@ 2005-05-06 14:48 ` pinskia at gcc dot gnu dot org
2005-05-06 14:56 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 14:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06 14:48 -------
This also happens with the C++ front-end too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
2005-05-06 14:46 ` [Bug c/21419] " pinskia at gcc dot gnu dot org
2005-05-06 14:48 ` pinskia at gcc dot gnu dot org
@ 2005-05-06 14:56 ` pinskia at gcc dot gnu dot org
2005-05-06 14:57 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 14:56 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.0 3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-05-06 14:56 ` pinskia at gcc dot gnu dot org
@ 2005-05-06 14:57 ` pinskia at gcc dot gnu dot org
2005-05-09 20:46 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 14:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06 14:57 -------
(In reply to comment #1)
> This also happens with the C++ front-end too.
Which I filed as PR 21422 as I think it is a related issue but not fully the same bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-05-06 14:57 ` pinskia at gcc dot gnu dot org
@ 2005-05-09 20:46 ` pinskia at gcc dot gnu dot org
2005-07-08 1:37 ` mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09 20:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-09 20:46 -------
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
So failing since the tree-ssa was merged in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-09 20:46:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-05-09 20:46 ` pinskia at gcc dot gnu dot org
@ 2005-07-08 1:37 ` mmitchel at gcc dot gnu dot org
2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:37 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-07-08 1:37 ` mmitchel at gcc dot gnu dot org
@ 2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-09-25 12:37 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |bonzini at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |09/msg01557.html
Status|NEW |ASSIGNED
Last reconfirmed|2005-09-10 16:15:26 |2005-09-25 12:37:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
@ 2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-09-25 12:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-25 12:36 -------
*** Bug 21422 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
@ 2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-09-25 12:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-25 12:41 -------
*** Bug 21421 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
@ 2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
2005-09-27 15:59 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-09-25 12:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-25 12:41 -------
*** Bug 21420 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
@ 2005-09-27 15:59 ` mmitchel at gcc dot gnu dot org
2005-09-29 14:53 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 15:59 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0/4.1 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (10 preceding siblings ...)
2005-09-27 15:59 ` mmitchel at gcc dot gnu dot org
@ 2005-09-29 14:53 ` cvs-commit at gcc dot gnu dot org
2005-09-29 16:20 ` [Bug c/21419] [4.0 " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-29 14:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-29 14:53 -------
Subject: Bug 21419
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bonzini@gcc.gnu.org 2005-09-29 14:53:39
Modified files:
gcc : ChangeLog gimplify.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: pr21419.c
Log message:
gcc:
2005-09-29 Paolo Bonzini <bonzini@gnu.org>
PR c/21419
* gimplify.c (gimplify_asm_expr): Raise an error if an output is
read-only.
testsuite:
2005-09-29 Paolo Bonzini <bonzini@gnu.org>
PR c/21419
* gcc.dg/pr21419.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10047&r2=2.10048
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&r1=2.154&r2=2.155
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6113&r2=1.6114
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr21419.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (11 preceding siblings ...)
2005-09-29 14:53 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-29 16:20 ` pinskia at gcc dot gnu dot org
2005-09-30 8:51 ` bonzini at gcc dot gnu dot org
2005-09-30 8:54 ` cvs-commit at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-29 16:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-29 16:20 -------
Fixed at least on the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.0 4.1.0 |4.0.0 4.0.2
Known to work|3.4.0 3.3.3 |3.4.0 3.3.3 4.1.0
Summary|[4.0/4.1 Regression] Accepts|[4.0 Regression] Accepts
|writting to const via asm |writting to const via asm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (12 preceding siblings ...)
2005-09-29 16:20 ` [Bug c/21419] [4.0 " pinskia at gcc dot gnu dot org
@ 2005-09-30 8:51 ` bonzini at gcc dot gnu dot org
2005-09-30 8:54 ` cvs-commit at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-09-30 8:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-30 08:51 -------
Now committed to 4.0 branch as well.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work|3.4.0 3.3.3 4.1.0 |3.4.0 3.3.3 4.1.0 4.0.3
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug c/21419] [4.0 Regression] Accepts writting to const via asm
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
` (13 preceding siblings ...)
2005-09-30 8:51 ` bonzini at gcc dot gnu dot org
@ 2005-09-30 8:54 ` cvs-commit at gcc dot gnu dot org
14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-30 8:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-30 08:54 -------
Subject: Bug 21419
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: bonzini@gcc.gnu.org 2005-09-30 08:54:00
Modified files:
gcc : ChangeLog gimplify.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: pr21419.c
Log message:
gcc:
2005-09-30 Paolo Bonzini <bonzini@gnu.org>
PR c/21419
* gimplify.c (gimplify_asm_expr): Raise an error if an output is
read-only.
testsuite:
2005-09-30 Paolo Bonzini <bonzini@gnu.org>
PR c/21419
* gcc.dg/pr21419.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.438&r2=2.7592.2.439
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.113.2.12&r2=2.113.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.419&r2=1.5084.2.420
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr21419.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21419
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2005-09-30 8:54 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-06 14:43 [Bug c/21419] New: [4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
2005-05-06 14:46 ` [Bug c/21419] " pinskia at gcc dot gnu dot org
2005-05-06 14:48 ` pinskia at gcc dot gnu dot org
2005-05-06 14:56 ` pinskia at gcc dot gnu dot org
2005-05-06 14:57 ` pinskia at gcc dot gnu dot org
2005-05-09 20:46 ` pinskia at gcc dot gnu dot org
2005-07-08 1:37 ` mmitchel at gcc dot gnu dot org
2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
2005-09-25 12:37 ` bonzini at gcc dot gnu dot org
2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
2005-09-27 15:59 ` mmitchel at gcc dot gnu dot org
2005-09-29 14:53 ` cvs-commit at gcc dot gnu dot org
2005-09-29 16:20 ` [Bug c/21419] [4.0 " pinskia at gcc dot gnu dot org
2005-09-30 8:51 ` bonzini at gcc dot gnu dot org
2005-09-30 8:54 ` cvs-commit 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).