Suggestion: make -pipe the default
Ken Raeburn
raeburn@cygnus.com
Tue Sep 15 14:14:00 GMT 1998
steve_snyder@gilbarco.com (Steve Snyder) writes:
> I'd like to suggestion that the -pipe switch be made the default when compiling
> with egcs.
>
> In these days of cheap RAM, why not spend some of it in making the compiler
> faster by default? Those (rare?) users who have a problem with piped data could
> use --no-pipe (or something like that) to have temp files created instead.
>
> What do you think?
What about when assembly listings (-Wa,-a...) are desired?
Currently gas can't do that with input from a pipe, and the most
straightforward way to get it to do it would involve writing the input
into a temporary file. We could do that, or have gcc recognize some
-Wa options (or add new options to gcc itself that translate to gas
listing options) and disable the pipe, or require an additional
--no-pipe option on the command line when listings are wanted.
Any suggestions which way it should be done?
We should also make sure that cc1 tells the assembler to die quietly
when a fatal error is detected, so that it doesn't emit warnings of
its own because the input file was incomplete.
More information about the Gcc
mailing list