https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
Roger Sayle changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
--- Comment #8 from CVS Commits ---
The master branch has been updated by Roger Sayle :
https://gcc.gnu.org/g:0192c3eedbc7e6fe703abd8b321f400ddb02adf7
commit r12-2242-g0192c3eedbc7e6fe703abd8b321f400ddb02adf7
Author: Roger Sayle
Date: Mon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
--- Comment #7 from Jakub Jelinek ---
Another question is whether we shouldn't extend the short_shift stuff in
build_binary_op also to COMPOUND_EXPRs with INTEGER_CST on the ultimate rhs.
unsigned int f1 (unsigned short x) { return x >> 12; }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
--- Comment #6 from CVS Commits ---
The master branch has been updated by Roger Sayle :
https://gcc.gnu.org/g:5f5fbb550af7d9d6cb56ae8f607fea0eccaa9295
commit r12-2238-g5f5fbb550af7d9d6cb56ae8f607fea0eccaa9295
Author: Roger Sayle
Date: Mon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
--- Comment #5 from Zdenek Sojka ---
(In reply to Jakub Jelinek from comment #4)
> Isn't the testcase UB? It reads uninitialized u (though it doesn't use the
> value for anything).
You are very right about that! The value is used, even though
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
Roger Sayle changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403
H.J. Lu changed:
What|Removed |Added
CC||hjl.tools at gmail dot com
Ever