https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88131
Bug ID: 88131 Summary: `gcc -S pp_assembly.S - o OutputFile.s` writes to STDOUT instead of `OutputFile.s` Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: pskocik at gmail dot com Target Milestone: --- `gcc -S pp_assembly.S -o OutFile.s` or `gcc -S pp_assembly.sx -o OutFile.s` or should behave the same as `gcc -E pp_assembly.S -o OutFile.s` or `gcc -E pp_assembly.sx -o OutFile.s` respectively but in the `-S` case, the `-o` option is ignored. (Clang does it correctly.)