[Bug tree-optimization/126729] [17 Regression] factor load does not handle scalar_storage_order correctly.

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126729

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Also missing it setting it for REF_REVERSE_STORAGE_ORDER:
```
int f2(void *a, bool b, bool bb)
{
  if (b)
  {
    union U1 t = *((union U1*)a);
    if (bb)
      return t.i[0];
    return t.s.a;
  }
  {
    union U1 t = *((union U1*)a);
    if (bb)
      return t.i[0];
    return t.s.a;
  }
}
```
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.