[Bug target/103100] [11/12/13 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 31 17:49:10 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100

--- Comment #17 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Another testcase which is now affecting us at Marvell in our early firmware:
```
void f(const char*);

void g(void)
{
  char t[32] = "0l2345678";
  f(t);
}

```
So I am planning on getting back on this patch starting today.


More information about the Gcc-bugs mailing list