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: 2.19 -enable-targets=all one error in m68k-dis.c due to longjmp, easily fixed with volatile


On Sun, Nov 23, 2008 at 03:13:34AM +0000, Jay wrote:
> /src/binutils-2.19/opcodes/m68k-dis.c: In function 'print_insn_m68k':
> /src/binutils-2.19/opcodes/m68k-dis.c:1474: warning: argument 'info' might be cl
> obbered by 'longjmp' or 'vfork'

These warnings are a royal pain, because they are almost always false
due to the simplistic nature of the gcc analysis behind their
generation.  In this particular case I'm quite sure the warning is
false, so it isn't a good idea to slow down this function by making
"info" volatile.  Perhaps we should turn off -Werror in the opcodes/
directory instead as there isn't a way to turn off just the longjmp
without turning off a bunch of other errors.

-- 
Alan Modra
Australia Development Lab, IBM


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