This is the mail archive of the gcc@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: RFC: VTA alias set discrepancy


On Wed, Mar 17, 2010 at 06:08:06PM -0400, Aldy Hernandez wrote:
> So... Richi, et al.  Instead, should I remove alias set numbers
> on the -fcompare-debug case, or inhibit new alias sets like thus:
> 
> 	unsigned int save_aliasing = flag_strict_aliasing;
> 	flag_strict_aliasing = 0;
> 	do the DECL_RTL thing
> 	flag_strict_aliasing = save_aliasing;

If this, then I guess this together with the following SET_DECL_RTL NULL
should be put into a new make_decl_rtl_for_debug helper (or something
similar), with a big comment why it is doing that.

Dropping of alias sets from -fdump-final-insns is risky, we'd miss if 
DEBUG insns/stmts actually cause any real aliasing changes.

	Jakub


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