[Bug target/111165] [13 regression] builtin strchr miscompiles on Debian/x32 with dietlibc
tg at mirbsd dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 5 13:30:47 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111165
--- Comment #20 from Thorsten Glaser <tg at mirbsd dot org> ---
I would like some assistance in debugging this further. I had been able to work
around this by…
-static int varsub(Expand *, const char *, const char *, unsigned int *, int
*);
+static int varsub(Expand *, const char *, const char *, unsigned int *, int *)
+#if defined(__GNUC__) && (__GNUC__ >= 13)
+ __attribute__((__noinline__))
+#endif
+ ;
… but now, on GCC 14, again with dietlibc on x32, it happens again, so the
underlying problem is still present.
More information about the Gcc-bugs
mailing list