This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/11427] Problem with conditional expressions as l-values


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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]