[Bug c++/94067] New: [10 Regression] ICE on rotate with -Wconversion since r10-6527
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 6 10:30:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94067
Bug ID: 94067
Summary: [10 Regression] ICE on rotate with -Wconversion since
r10-6527
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
Since r10-6527-gaaa26bf496a646778ac861aed124d960b5bf549f we ICE with
-Wconversion on
static inline unsigned short
swap (unsigned short x)
{
return (x >> 8) | static_cast<unsigned short>(x << 8);
}
More information about the Gcc-bugs
mailing list