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]

[PATCH] Avoid doing DCE in substitute_and_fold from VRP (PR tree-optimization/44508)


Hi!

libgomp.fortran/vla*.f90 fails on s390 on 4.4 branch, because
substitute_and_fold DCEs some trivially dead statements after earlier
substitutions/folding), which releases the LHS SSA_NAMEs.  Those
SSA_NAMEs are still referenced from some VRP ranges though and can result in
crashes, either still in substitute_and_fold in other folding using VRP,
or in subsequent identify_jump_threads call.
The problem is just latent on the trunk.

Bootstrapped/regtested on x86_64-linux and i686-linux on the trunk and on
x86_64-linux, i686-linux and s390-linux so far on 4.4 branch.

	Jakub

Attachment: Y730a
Description: Text document

Attachment: Y730
Description: Text document


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