https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646
--- Comment #11 from Richard Biener ---
Happens via
(gdb) bt
#0 redirect_to_unreachable (e=0x76891820)
at /space/rguenther/src/svn/trunk3/gcc/ipa-inline-analysis.c:735
#1 0x00bc9325 in edge_set_predicate (e=0x76891820,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646
--- Comment #10 from Richard Biener ---
Fixing that with
void __attribute__((noinline,noclone)) broken(u64* shost)
{
u8 node_name[8] __attribute__((aligned(__alignof(u64 = { 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
*shost = wwn_t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646
--- Comment #9 from Richard Biener ---
Note that the testcase is strictly invalid as it has 8-byte aligned node_name[]
passed to wwn_to_u64 which ends up performing a 64bit load on it via __swab64p.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646
Richard Biener changed:
What|Removed |Added
Keywords||wrong-code
Status|UNCONFIRM