This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11427] Problem with conditional expressions as l-values
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2003 17:07:42 -0000
- Subject: [Bug c/11427] Problem with conditional expressions as l-values
- References: <20030703193348.11427.bonet@cs.ucla.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11427
kazu at cs dot umass dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kazu at cs dot umass dot edu
------- Additional Comments From kazu at cs dot umass dot edu 2003-07-05 17:07 -------
Confirmed with mainline 2003-07-05 13:00GMT i686-pc-linux-gnu
struct s {
int m;
};
void
foo (struct s *p, int a)
{
(0 <= a ? p[a] : p[-a]).m = 0;
}