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]

Re: [PATCH] PR21299


Steven Bosscher wrote:

* reload1.c (reload): Purge invalid ASMs in the final pass.

I'm not in any way criticizing this patch, but another possible approach would be just not to run further passes. I don't know if there are data structures that don't get cleaned up in that way, but I think we're generally moving in the direction that once you've emitted an error message you stop running middle-end stuff, and I think that's a sensible way to help eliminate ICE-after-error bugs.


--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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