From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 0B08239518AA for ; Thu, 24 Sep 2020 03:14:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0B08239518AA Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 08O3E5JF012651 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Sep 2020 23:14:11 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 08O3E5JF012651 Received: from [10.0.0.11] (173-246-6-90.qc.cable.ebox.net [173.246.6.90]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 52CF61E509; Wed, 23 Sep 2020 23:14:05 -0400 (EDT) In-Reply-To: To: Lifang Xia Cc: Cooper Qu , binutils@sourceware.org From: Simon Marchi Subject: Re: [PATCH] CSKY: Add objdump option -M abi-names. Message-ID: <68e6c524-f571-a4eb-d240-9229b48eb580@polymtl.ca> Date: Wed, 23 Sep 2020 23:14:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Thu, 24 Sep 2020 03:14:05 +0000 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-DCC: debian: antispam2020.polymtl.ca 1169; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2020 03:14:28 -0000 Hi, This patch causes: libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I/home/simark/src/binutils-gdb/opcodes -I. -I/home/simark/src/binutils-gdb/opcodes -I../bfd -I/home/simark/src/binutils-gdb/opcodes/../include -I/home/simark/src/binutils-gdb/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -g3 -O0 -fsanitize=address -MT csky-dis.lo -MD -MP -MF .deps/csky-dis.Tpo -c /home/simark/src/binutils-gdb/opcodes/csky-dis.c -o csky-dis.o /home/simark/src/binutils-gdb/opcodes/csky-dis.c: In function ‘csky_output_operand’: /home/simark/src/binutils-gdb/opcodes/csky-dis.c:849:7: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 849 | if (IS_CSKY_V1 (mach_flag)) | ^~ /home/simark/src/binutils-gdb/opcodes/csky-dis.c:851:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 851 | strcat (str, buf); | ^~~~~~ with $ gcc --version gcc (GCC) 10.2.0 Simon