------- Comment #2 from amonakov at gcc dot gnu dot org 2010-04-06 17:10 ------- Thanks for the analysis. This is reproducible on trunk with -O2 -fsel-sched-pipelining -fselective-scheduling2 (with -O3, pressure-aware loop invariant motion slightly changes the code, and it's not possible to disable it (not even with -fno-ira-loop-pressure, because it's enabled unconditionally in ia64_override_options)). The real problem is that we are attempting to clone an instruction with asm operands as a bookkeeping copy -- that should never happen. Thus, I think copy_rtx calls should stay. We'll have to fix the scheduler to never attempt such code motion.
-- amonakov at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abel at gcc dot gnu dot org, | |amonakov at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43603