This is the mail archive of the
mailing list for the GCC project.
peephole2: dead regs not marked as dead
- From: Georg Lay <avr at gjlay dot de>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 21 Oct 2010 11:05:44 +0200
- Subject: peephole2: dead regs not marked as dead
Hi, I just came across an optimization issue in pass peephole2:
Regs that are "naturally" dead because the function ends are not marked as dead,
and therefore some optimization opportunities pass by unnoticed, e.g. together
with recog.c::peep2_reg_dead_p() et. al.
As I could not find a related PR, is this worth opening one?
Ah, I am using version 4.5.1