This is the mail archive of the binutils@sources.redhat.com 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]

Re: SH opcodes: compiler warning clean-up


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


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