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] | |
On Sat, May 16, 2009 at 8:17 AM, H.J. Lu <hjl.tools@gmail.com> wrote: > 2009/5/16 Manuel López-Ibáñez <lopezibanez@gmail.com>: >> That is strange, it should not warn for constants. Is it really 0 or >> something else? > > > I open a bug report with a testcase: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40172 > > Hi, I am checking this patch to fix bootstrap. Tested on Linux/Intel64 and Linux/ia64. -- H.J. --- gcc/ 2009-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/40172 * c-common.c (warn_logical_operator): Don't warn if one of expression isn't always true or false. gcc/testscase/ 2009-05-17 H.J. Lu <hongjiu.lu@intel.com> PR c/40172 * gcc.dg/torture/pr40172.c: New.
Attachment:
gcc-pr40172-1.patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |