public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: Lifang Xia <lifang_xia@c-sky.com>
Cc: Cooper Qu <cooper.qu@linux.alibaba.com>, binutils@sourceware.org
Subject: Re: [PATCH] CSKY: Add objdump option -M abi-names.
Date: Wed, 23 Sep 2020 23:14:04 -0400	[thread overview]
Message-ID: <68e6c524-f571-a4eb-d240-9229b48eb580@polymtl.ca> (raw)
In-Reply-To: 


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


             reply	other threads:[~2020-09-24  3:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24  3:14 Simon Marchi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-17  6:30 Cooper Qu
2020-09-23 15:50 ` Lifang Xia
2020-09-25 13:18   ` Alan Modra
2020-09-25 16:45     ` Cooper Qu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68e6c524-f571-a4eb-d240-9229b48eb580@polymtl.ca \
    --to=simon.marchi@polymtl.ca \
    --cc=binutils@sourceware.org \
    --cc=cooper.qu@linux.alibaba.com \
    --cc=lifang_xia@c-sky.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).