[PATCH] incomplete asm constraints in arch/i386/pci/pcbios.c
This fixes a "miscompile" HP reported against gcc 3.3 with -march-pentium4. It turned out to be a non-complete asm contraint. the existing constraint on "opt" was on the address of "opt", which allowed gcc to reorder the setting of the fields inside opt to beyond the asm that uses it, which is less than useful at best.
Showing
Please register or sign in to comment