This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: SH opcodes: compiler warning clean-up
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: SH opcodes: compiler warning clean-up
- From: Andreas Schwab <schwab at suse dot de>
- Date: 04 Jun 2001 21:07:21 +0200
- Cc: binutils at sources dot redhat dot com
- References: <orelt0rikw.fsf@guarana.lsd.ic.unicamp.br>
Alexandre Oliva <aoliva@redhat.com> writes:
|> I'm checking this in under the obviously-correct rule:
|>
|> Index: opcodes/ChangeLog
|> from Alexandre Oliva <aoliva@redhat.com>
|>
|> * sh-opc.h (sh_table): Complete last element entry to avoid
|> compiler warning.
|>
|> Index: opcodes/sh-opc.h
|> ===================================================================
|> RCS file: /cvs/src/src/opcodes/sh-opc.h,v
|> retrieving revision 1.9
|> diff -u -p -r1.9 sh-opc.h
|> --- opcodes/sh-opc.h 2001/03/13 22:58:37 1.9
|> +++ opcodes/sh-opc.h 2001/06/04 04:08:44
|> @@ -835,7 +835,7 @@ sh_opcode_info sh_table[] = {
|>
|> /* 1111nn0111111101 ftrv XMTRX_M4,<V_REG_n>*/{"ftrv",{XMTRX_M4,V_REG_N},{HEX_F,REG_NM,HEX_F,HEX_D}, arch_sh4_up},
|>
|> -{ 0 }
|> +{ 0, {}, {}, 0 }
Empty initializers are a GNU extension.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5