• Russ Cox's avatar
    cmd/go/internal/work: do not write trivial.c when testing gcc flags · 92c35824
    Russ Cox authored
    CL 61111 disabled the writing of trivial.c in -n mode, which
    made -n mode at least inconsistent with regular mode in
    how it was testing for flags. We think that both were getting
    the same answer, so avoid creating the file in both modes
    to make sure.
    
    If this CL turns out to be wrong, then when we revert it we
    should make sure that the empty file is written even in -n mode,
    because this check affects the command-line flags printed
    by other commands in that mode.
    
    Change-Id: I0a050bfc148fe5a9d430a153d7816b2821277f0d
    Reviewed-on: https://go-review.googlesource.com/78115
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    92c35824
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...