This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: tree-ssa: a weird (mis)optimization
- From: Andrew Haley <aph at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Geert Bosch <bosch at adacore dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 1 Dec 2004 10:13:45 +0000
- Subject: Re: tree-ssa: a weird (mis)optimization
- References: <16812.39590.439732.460777@cuddles.cambridge.redhat.com><08C7A98A-42FB-11D9-91E1-000A959A128E@adacore.com><16812.47260.320238.536151@cuddles.cambridge.redhat.com><20041130224704.GA4960@redhat.com>
Richard Henderson writes:
> On Tue, Nov 30, 2004 at 06:14:52PM +0000, Andrew Haley wrote:
> > Well, as far as I can see this is simply a bug. There is already
> > plenty of code in the compiler to make sure trapping insns aren't
> > deleted.
>
> Um, no, there isn't. What leads you to think that there is?
Well, I have raised bugs in the past when this has happened, and the
bugs have been fixed, and all has been well. But that's not worth
arguing about.
Let me put it this way: a trapping instruction has an abnormal edge in
the CFG, so why would it get deleted?
Andrew.