This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33192] New: __imag operator drops side effects in subexpr
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2007 05:21:22 -0000
- Subject: [Bug c/33192] New: __imag operator drops side effects in subexpr
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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