PR debug/41248 [VTA] deal with Pmode != ptr_mode in expand_debug_expr

Alexandre Oliva aoliva@redhat.com
Fri Sep 4 20:33:00 GMT 2009


On Sep  4, 2009, Steve Ellcey <sje@cup.hp.com> wrote:

> On Thu, 2009-09-03 at 22:16 -0300, Alexandre Oliva wrote:
>> Hi, Steve,
>> 
>> Is this ok to install if it passes bootstrap testing?  Could you please
>> give it a try on ia64-hpux?  Thanks in advance,

> I changed Pmode to ptr_mode in the assert at line 2450 in
> expand_debug_expr and everything compiled but when I went to run genmode
> that was built with the new compiler (during bootstrap) the genmode
> aborted in htab_create_alloc, called from main.

Hmm...  I find it unlikely that this second failure is in any way
related with VTA, but you could confirm that it isn't setting
BOOT_CFLAGS='-g -O2 -fno-var-tracking-assignments', or say
BOOT_CFLAGS='-g -O2 -fcompare-debug=-gtoggle', then wiping out the
stage2 build and starting over.

Here's the updated patch, that accepts ptr_mode in two other locations
where we used to require Pmode.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vta-cfgexpand-ptr-mode-pr41248.patch
Type: text/x-diff
Size: 4285 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090904/454b1546/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer


More information about the Gcc-patches mailing list