This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR driver/47547: WHOPR, can't use /dev/null as an output file
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Diego Novillo <dnovillo at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 01 Feb 2011 06:14:57 +0000
- Subject: Re: PATCH: PR driver/47547: WHOPR, can't use /dev/null as an output file
- References: <20110131190309.GA24032@intel.com> <AANLkTin=AGXKM9k4erSXgS393cKC6LKssfi3SQrh0NFf@mail.gmail.com> <AANLkTinzo8oc-2cdM95n-oq_7YT=5v2cmWxpTV6_S4H4@mail.gmail.com>
On 31/01/2011 19:30, H.J. Lu wrote:
> On Mon, Jan 31, 2011 at 11:09 AM, Diego Novillo <dnovillo@google.com> wrote:
>> On Mon, Jan 31, 2011 at 14:03, H.J. Lu <hongjiu.lu@intel.com> wrote:
>>
>>> @@ -392,6 +392,7 @@ run_gcc (unsigned argc, char *argv[])
>>> if (linker_output)
>>> {
>>> char *output_dir, *base, *name;
>>> + bool bit_bucket = !strcmp (linker_output, HOST_BIT_BUCKET);
>> strcmp != 0, please.
>
> Will do.
You mean "strcmp == 0" not "!=", in this instance. (Just in case you didn't
already spot it.)
cheers,
DaveK