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


On Jun  4, 2001, Andreas Schwab <schwab@suse.de> wrote:

> |> -{ 0 } 
> |> +{ 0, {}, {}, 0 } 

> Empty initializers are a GNU extension.

Thanks, I'm checking this in:

Index: opcodes/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* sh-opc.h (sh_table): Don't use empty initializers.

Index: opcodes/sh-opc.h
===================================================================
RCS file: /cvs/src/src/opcodes/sh-opc.h,v
retrieving revision 1.10
diff -u -p -r1.10 sh-opc.h
--- opcodes/sh-opc.h 2001/06/04 04:10:38 1.10
+++ opcodes/sh-opc.h 2001/06/09 22:39:24
@@ -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, {0}, {0}, 0 } 
 };
 
 #endif

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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