public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/33192]  New: __imag operator drops side effects in subexpr
@ 2007-08-26  5:21 sabre at nondot dot org
  2007-08-26  9:00 ` [Bug c/33192] " pinskia at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sabre at nondot dot org @ 2007-08-26  5:21 UTC (permalink / raw)
  To: gcc-bugs

GCC miscompiles this:

int bar();
void foo() {
  int X = __imag bar();
}

to not call bar.

-Chris


-- 
           Summary: __imag operator drops side effects in subexpr
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sabre at nondot dot org


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


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

end of thread, other threads:[~2008-10-16 17:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-26  5:21 [Bug c/33192] New: __imag operator drops side effects in subexpr sabre at nondot dot org
2007-08-26  9:00 ` [Bug c/33192] " pinskia at gmail dot com
2007-08-26  9:00 ` [Bug c/33192] New: " Andrew Pinski
2007-08-26 14:56 ` [Bug c/33192] " rguenth at gcc dot gnu dot org
2008-10-16 17:08 ` jsm28 at gcc dot gnu dot org
2008-10-16 17:13 ` jsm28 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).