This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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: Patch ping


> Grrr!  I was most of the way through an IA-64 bootstrap of a fix
> (along the lines of Andrew Pinski's suggestion), when someone at
> OpenEye decided to switch off the SGI Altix box I was using (as
> the air conditioning in the machine room just gave up).
> 
> I suspect (hope?) that someone will post/commit a fix soon, but
> if not I'll get back to it once my Itanium boxes are back online.
> 
> Roger
> --

Roger,

I did a bootstrap by just removing the last 'if (p_false) free
(p_false);' like Grigory suggested and that builds but of course it
reintroduces the memory leak.  When I did a 'if (predicable_false) free
(predicable_false);' before setting predicable_false, I got the
following warning that becomes an error when we use -Werror later in the
bootstrap:

gcc/gensupport.c: In function 'identify_predicable_attribute':
gcc/gensupport.c:478: warning: passing argument 1 of 'free' discards qualifiers from pointer target type

The declaration of predicable_false is:

	static const char *predicable_false;

I am not sure how to address that.

Steve Ellcey
sje@cup.hp.com


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