http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57703
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu.org --- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> --- I believe this could be dealt with by forcing all inline assembly from one compilation unit (including those which were inlined) to end up in one partition. If any of them defines a hidden symbol, the assembler will see it. This would of course probably be quite ugly hack to the partitioner. But perhaps we could only enable it by a switch and/or proceed only if there is a top level assembler in any particular compilation unit. I suppose definitions of symbols in non-top-level inline assembly is already fragile because functions can be inlined/cloned etc.