[Bug c/18050] -Wsequence-point reports false positives
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 18 22:35:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-18 22:35 -------
We cannot just ignore ADDR_EXPR outright though (this is undefined):
struct x
{
int i;
};
void g(struct x*, int *);
void f(struct x *y)
{
g(y++, &y->i);
}
I think I have a fix will test the fix.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18050
More information about the Gcc-bugs
mailing list