This is the mail archive of the 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]

[PATCH]: Fix PR 29587

This was a use of a ridiculous amount of memory due to variables not
collapsing during substitution.  The root cause is they were being
marked as having address taken due to escaping (Note this is an
internal address taken flag), causing them to not be collapsed.  While
it may seem counterintuitive, they should not be marked address taken
for collapsing purposes simply because they escape.
The address taken flag has no other use in PTA other than to determine
whether it could possibly cause precision loss to collapse variables.
It can never cause precision loss in this case (and if it did, it
would only cause the answer to be more conservative, not more

Bootstrapped and regtested i686-pc-linux-gnu, applied to mainline and 4.2.

2006-11-12 Daniel Berlin <>

       Fix PR tree-optimization/29587
       * tree-ssa-structalias.c (process_constraint): Don't
       mark address taken due only to escaped vars constraint.

Attachment: 29587.diff.txt
Description: Text document

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