LWN.net Logo

OLS: GCC: present and future

OLS: GCC: present and future

Posted Jul 27, 2006 18:10 UTC (Thu) by smoogen (subscriber, #97)
Parent article: OLS: GCC: present and future

I wonder how hard it would be to just use Generic directly to code programs. Probably would just be an exercise in insanity.


(Log in to post comments)

OLS: GCC: present and future

Posted Jul 31, 2006 12:06 UTC (Mon) by dnovillo (guest, #36710) [Link]

We have discussed the notion of reading the various ILs and be able to start compilation from an arbitrary stage in the pipeline. This would allow us to get us closer to implement some degree of unit testing.

For instance, someone finds a bug in dead code elimination that only happens when the IL shows a specific stream of instructions with a specific combination of memory references.

Instead of trying to recreate that IL pattern out of source code, we would be able to create it and feed it to DCE directly. That would eliminate random changes in the first N - 1 passes that may paper over the original bug.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds