[Bug target/83822] trunk/gcc/config/rs6000/rs6000-string.c:970]: (style) Redundant condition

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 10 10:30:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83822

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Similar thing in a different file:

trunk/gcc/config/rs6000/rs6000-c.c:646]: (style) Redundant condition:
TARGET_HARD_FLOAT. '!A || (A && B)' is equivalent to '!A || B'

Source code is

  if (!TARGET_HARD_FLOAT
      || (TARGET_HARD_FLOAT && !TARGET_DOUBLE_FLOAT))
    builtin_define ("_SOFT_DOUBLE");


More information about the Gcc-bugs mailing list