This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR driver/47547: WHOPR, can't use /dev/null as an output file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]