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

See the CrossGCC FAQ for lots more information.


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: gdb and invalid lvalue in assignment


Matthew J Fletcher wrote:

>>Are there any patches for the gdb to fix that?
> 
> 
> gcc4 (your system compiler) is just more picky, just change the dodgy 
> promotion casts on the left side of the expression to be on the right side, 
> like they should have been all along, if indeed they are needed at all.

Well. Sometimes this type casting is some tricky programming hack. So
maybe I don't get the real idea behind lines like

	ARMdword t = 0;
	...
	(signed long long) t += s;

and break it....

--
Steven



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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