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.