public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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

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).