Re: [PATCH] Fix clang warnings.

2021-04-21 Thread Jeff Law via Gcc-patches
On 4/21/2021 2:18 AM, Martin Liška wrote: Hello. The patch silents Clang warnings: 1) if (TARGET_MACHO ) ... #if TARGET_MACHO can be replaced with #if TARGET_MACHO 2) add_AT_vms_delta is used only if VMS_DEBUGGING_INFO is defined 3) tree.c:13454:16: warning: result of comparison of constan

[PATCH] Fix clang warnings.

2021-04-21 Thread Martin Liška
Hello. The patch silents Clang warnings: 1) if (TARGET_MACHO ) ... #if TARGET_MACHO can be replaced with #if TARGET_MACHO 2) add_AT_vms_delta is used only if VMS_DEBUGGING_INFO is defined 3) tree.c:13454:16: warning: result of comparison of constant 42405 with expression of type 'enum tree_cod