Messages in this thread | | | Date | Tue, 4 Aug 1998 15:23:12 +0200 (MET DST) | From | Mikael Pettersson <> | Subject | Re: floating-point abuse in 2.1.113 |
| |
On Tue, 4 Aug 1998, Stefan Traby wrote:
> Hmmm, another point of view: > "-msoft-float" does not find these types of typos: > > static int eb64p_indices[] = {0,0,1.2}; > ^^^^ > > while intelligent egrepping does... (arch/alpha/setup.c) > (already reported, unfixed.) > So grepping can be safely used for casts too. > ;-}
Ok, but have you actually done a grep over the entire linux-2.1.11x kernel sources looking for f.p. constants? I have, and there are like 99.99% false hits from all those version numbers included in the source code, so finding the real offenders will take some effort. In contrast, adding -msoft-float to CFLAGS catches the dangerous stuff (f.p. instructions) with zero cost for the kernel and minimal effort for developers.
/Mikael
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |