public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm
  2005-05-06 14:46 [Bug c/21420] New: [3.4/4.0/4.1 Regression] pinskia at gcc dot gnu dot org
@ 2005-05-06 14:46 ` pinskia at gcc dot gnu dot org
  2005-05-06 14:49 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ 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
----------------------------------------------------------------------------
            Summary|[3.4/4.0/4.1 Regression]    |[3.4/4.0/4.1 Regression]
                   |                            |Accepts writting to const
                   |                            |via asm


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


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

* [Bug c/21420] New: [3.4/4.0/4.1 Regression]
@ 2005-05-06 14:46 pinskia at gcc dot gnu dot org
  2005-05-06 14:46 ` [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 14:46 UTC (permalink / raw)
  To: gcc-bugs

The following code in 3.4.0 and above does not warn/error our about assignment of read only location:
static inline void sigaddset(const int set, int i)
{
        __asm__("" : "=r"(set) );
}

THis is just like 21419 but this time a "static inline" function instead.

-- 
           Summary: [3.4/4.0/4.1 Regression]
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid, diagnostic
          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=21420


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

* [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm
  2005-05-06 14:46 [Bug c/21420] New: [3.4/4.0/4.1 Regression] pinskia at gcc dot gnu dot org
  2005-05-06 14:46 ` [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
@ 2005-05-06 14:49 ` pinskia at gcc dot gnu dot org
  2005-05-09 20:49 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 14:49 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.0 3.4.0 4.0.0
      Known to work|                            |3.3.3
   Target Milestone|---                         |3.4.4


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


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

* [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm
  2005-05-06 14:46 [Bug c/21420] New: [3.4/4.0/4.1 Regression] pinskia at gcc dot gnu dot org
  2005-05-06 14:46 ` [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
  2005-05-06 14:49 ` pinskia at gcc dot gnu dot org
@ 2005-05-09 20:49 ` pinskia at gcc dot gnu dot org
  2005-05-19 17:50 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09 20:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-09 20:49 -------
: Search converges between 2003-08-29-trunk (#338) and 2003-08-30-trunk (#339).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-09 20:49:36
               date|                            |


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


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

* [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm
  2005-05-06 14:46 [Bug c/21420] New: [3.4/4.0/4.1 Regression] pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-05-09 20:49 ` pinskia at gcc dot gnu dot org
@ 2005-05-19 17:50 ` mmitchel at gcc dot gnu dot org
  2005-07-22 21:34 ` pinskia at gcc dot gnu dot org
  2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:50 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.4                       |3.4.5


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


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

* [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm
  2005-05-06 14:46 [Bug c/21420] New: [3.4/4.0/4.1 Regression] pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-05-19 17:50 ` mmitchel at gcc dot gnu dot org
@ 2005-07-22 21:34 ` pinskia at gcc dot gnu dot org
  2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 21:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-22 21:13 -------
Moving to 4.0.2 pre Mark.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.5                       |4.0.2


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


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

* [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm
  2005-05-06 14:46 [Bug c/21420] New: [3.4/4.0/4.1 Regression] pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-07-22 21:34 ` pinskia at gcc dot gnu dot org
@ 2005-09-25 12:41 ` bonzini at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ 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 -------
The patch for 21419 fixes this as well.

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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-09-25 12:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-06 14:46 [Bug c/21420] New: [3.4/4.0/4.1 Regression] pinskia at gcc dot gnu dot org
2005-05-06 14:46 ` [Bug c/21420] [3.4/4.0/4.1 Regression] Accepts writting to const via asm pinskia at gcc dot gnu dot org
2005-05-06 14:49 ` pinskia at gcc dot gnu dot org
2005-05-09 20:49 ` pinskia at gcc dot gnu dot org
2005-05-19 17:50 ` mmitchel at gcc dot gnu dot org
2005-07-22 21:34 ` pinskia at gcc dot gnu dot org
2005-09-25 12:41 ` bonzini 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).