public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20689] New: strict aliasing with temporary variable never gives warnings
@ 2005-03-30  9:59 varun0005 at gmail dot com
  2005-03-30 10:07 ` [Bug c/20689] " falk at debian dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: varun0005 at gmail dot com @ 2005-03-30  9:59 UTC (permalink / raw)
  To: gcc-bugs

int i;
void *p=(void *)&i;
gives strict-aliasing warning
 but
int i,*o;
o=&i;
void *p= o;
doesn't give any warning

-- 
           Summary: strict aliasing with temporary variable never gives
                    warnings
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: varun0005 at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-07-27 23:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-30  9:59 [Bug c/20689] New: strict aliasing with temporary variable never gives warnings varun0005 at gmail dot com
2005-03-30 10:07 ` [Bug c/20689] " falk at debian dot org
2005-03-30 12:02 ` varun0005 at gmail dot com
2005-03-30 12:24 ` falk at debian dot org
2005-03-30 15:46 ` pinskia at gcc dot gnu dot org
2005-03-31  5:06 ` varun0005 at gmail dot com
2005-03-31 10:21 ` varun0005 at gmail dot com
2005-06-30  2:21 ` pinskia at gcc dot gnu dot org
2005-07-02  0:58 ` pinskia at gcc dot gnu dot org
2005-07-11 18:00 ` pinskia at gcc dot gnu dot org
2005-07-27 23:39 ` pinskia 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).