https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49283
Manuel López-Ibáñez changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49283
--- Comment #3 from bruno at clisp dot org 2011-06-06 20:33:07 UTC ---
(In reply to comment #2)
> [GCC] optimizes [...]
> moving the + 3 from the LHS and combining it with the constant offset
> on the RHS. That is only valid if p + 3 does not get
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49283
--- Comment #2 from Richard Guenther 2011-06-06
10:38:33 UTC ---
1) Line 2026 contains the expression
(p < buff + sizeof buff - 1)
GCC only looks at local tuple stmts when emitting the warning, so I suppose
it sees sth like
p = &buff[...];
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49283
Manuel López-Ibáñez changed:
What|Removed |Added
Keywords||diagnostic
CC|