[PATCH, testsuite] Fix g++.dg/debug/ra1.C

Richard Earnshaw rearnsha@arm.com
Mon Jan 20 10:48:00 GMT 2014


On 16/01/14 18:44, Yufeng Zhang wrote:
> Hi,
> 
> g++.dg/debug/ra1.C fails on arm-none-eabi with the following message 
> because enum types in arm eabi are represented by the smallest integral 
> type:
> 
> warning: width of 'tree_base::code' exceeds its type [enabled by default]
> 
> This patch updates the test by changing the width of the 'code' bitfield 
> from 16 to 8.
> 
> The patch passes make check-g++ RUNTESTFLAGS="debug.exp=ra1.C" on 
> arm-none-eabi and x86_64.
> 
> OK for the mainline?
> 
> Thanks,
> Yufeng
> 
> 
> gcc/testsuite
> 
> 	* g++.dg/debug/ra1.C (struct tree_base): Change the width of
> 	the 'code' bitfield from 16 to 8.
> 

OK.

R.




More information about the Gcc-patches mailing list