This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binutils/bfd/coffcode.h: FAAL through


Hi Dilian,

> can you also add /* Fall through */ in ld/lexsup.c:line 710?

No! :-)

But I am not being mean.  The %F in call to einfo on line 709 
makes the call fatal, so einfo will not return.  Hence it cannot
fall through into the case statement below.  I have however added
a "break;" statement instead so that anyone reading the code,
including gcc's new fall through detector, will not think that
there is an accidental cascade.

Cheers
  Nick

ld/ChangeLog
2016-11-14  Nick Clifton  <nickc@redhat.com>

	* lexsup.c (parse_args): Add break at end of default case.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]