> But Gcc should continue to clear it too, because old Linux exists.
This does not buy you anything except slowing down all your code unnecessarily. Any user
might use a binary built with some other compiler, like the precompiled commercial MySQL
server, or a game. Software running through Wine is probably built with Visual Studio. A JIT
like Mono or Java might generate code that doesn't reset DF. A developer might be using TCC
for ultra-fast compiles. There is also LLVM: I don't know, but it might not do the DF clear
either.
See what I mean about other compilers? Do you wish to have every one of them also clear DF on
every function?
Posted Mar 15, 2008 0:07 UTC (Sat) by nix (subscriber, #2304)
[Link]
ICC has apparently never cleared DF. I guess nobody's ever tried compiling
programs that make heavy use of asynchronous signal handlers with ICC on
Linux...
GCC 4.3.0 exposes a kernel bug
Posted Mar 15, 2008 2:23 UTC (Sat) by giraffedata (subscriber, #1954)
[Link]