[Bug middle-end/77964] [7 Regression] Linux kernel firmware loader miscompiled
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 14 00:11:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77964
--- Comment #11 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> Looks like a kernel issue. An asm ("", "+r"(x)); is needed in the source for
> __start_builtin_fw and __end_builtin_fw
Shouldn't we recommend "+g" instead of "+r"?
(In reply to Markus Trippelsdorf from comment #9)
> Is subtracting undefined, too?
>
> - for (b_fw = __start_builtin_fw; b_fw != __end_builtin_fw; b_fw++) {
> + for (b_fw = __start_builtin_fw; __end_builtin_fw - b_fw; b_fw++) {
See bug 77813.
More information about the Gcc-bugs
mailing list