re PR target/83822 (trunk/gcc/config/rs6000/rs6000-string.c:970]: (style) Redundant condition)
2018-03-30 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> PR target/83822 * config/rs6000/rs6000-string.c (expand_compare_loop): Fix redundant condition. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Fix redundant condition. From-SVN: r258975
This commit is contained in:
parent
cd6094bf7c
commit
37ca383f91
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
2018-03-30 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
||||
|
||||
PR target/83822
|
||||
* config/rs6000/rs6000-string.c (expand_compare_loop): Fix redundant
|
||||
condition.
|
||||
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Fix redundant
|
||||
condition.
|
||||
|
||||
2018-03-30 Julia Koval <julia.koval@intel.com>
|
||||
|
||||
PR target/84413
|
||||
|
|
|
@ -642,8 +642,7 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile)
|
|||
cpp_get_callbacks (pfile)->macro_to_expand = rs6000_macro_to_expand;
|
||||
}
|
||||
}
|
||||
if (!TARGET_HARD_FLOAT
|
||||
|| (TARGET_HARD_FLOAT && !TARGET_DOUBLE_FLOAT))
|
||||
if (!TARGET_HARD_FLOAT || !TARGET_DOUBLE_FLOAT)
|
||||
builtin_define ("_SOFT_DOUBLE");
|
||||
/* Used by lwarx/stwcx. errata work-around. */
|
||||
if (rs6000_cpu == PROCESSOR_PPC405)
|
||||
|
|
|
@ -966,8 +966,7 @@ expand_compare_loop (rtx operands[])
|
|||
rtx final_cleanup = gen_label_rtx ();
|
||||
rtx cmp_rem_before = gen_reg_rtx (word_mode);
|
||||
/* Compare one more word_mode chunk if needed. */
|
||||
if (!bytes_is_const
|
||||
|| (bytes_is_const && bytes_remaining >= load_mode_size))
|
||||
if (!bytes_is_const || bytes_remaining >= load_mode_size)
|
||||
{
|
||||
/* If remainder length < word length, branch to final
|
||||
cleanup compare. */
|
||||
|
|
Loading…
Add table
Reference in a new issue