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: Tree sharing issues...


>  >OK, I will extend my sharing test by is_gimple_min_invariant.  Does that
>  >look right?
> is_gimple_min_invariant (blah) && ! IS_EMPTY_STMT (blah) since I
> believe the empty statement is (void) 0, but is not shared.
> 
> Ugh.
OK, another positive:
../../gcc/caller-save.c:370: error: Wrong sharing of tree nodes
#   hard_regs_to_save_6 = VDEF <hard_regs_to_save_624>;
hard_regs_to_save[1] = T.329_1370;

hard_regs_to_save[1];

../../gcc/caller-save.c:370: error: Wrong sharing of tree nodes
#   hard_regs_to_save_143 = VDEF <hard_regs_to_save_81>;
hard_regs_to_save[1] = T.339_1393;

hard_regs_to_save[1];

../../gcc/caller-save.c:370: error: Wrong sharing of tree nodes
#   hard_regs_to_save_623 = VDEF <hard_regs_to_save_488>;
hard_regs_to_save[1] = T.349_1416;

hard_regs_to_save[1];

../../gcc/caller-save.c:370: error: Wrong sharing of tree nodes
#   hard_regs_to_save_80 = VDEF <hard_regs_to_save_5>;
hard_regs_to_save[1] = T.357_1437;

hard_regs_to_save[1];


This looks wrong.  Seems to happen during jump threading...
Ideas?

Honza
> 
> jeff


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