[Patch] Fix redundant comparison in gcc::Common::ConstructJob

Hans Wennborg hans at chromium.org
Sun Mar 17 07:52:17 PDT 2013


Hi all,

I found the suspect expression "Arch == llvm::Triple::x86_64 || Arch
== llvm::Triple::x86_64" in gcc::Common::ConstructJob. It seems the
right-hand side used to check for powerpc64, but got lost in a
refactoring.

The attached patch fixes this and tries to update the test too.

Please take a look!

Thanks,
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc_construct_job_ppc64_fix.patch
Type: application/octet-stream
Size: 1397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130317/c8762aaf/attachment.obj>


More information about the cfe-commits mailing list