Hi Jeff, On 2014-10-11 04:10, Jeff Epler wrote: > On Fri, Oct 10, 2014 at 11:23:33PM +0100, andy pugh wrote: >> Is this likely to get good answers from gcc forums or similar? > That idea's crazy enough that it just might work. We'll find out. > > http://thread.gmane.org/gmane.comp.gcc.help/47496
I was curious and have toyed. I've tried some variations of this attributes. __attribute__((__optimize__("no-builtin-cos,no-builtin-sin"))) __attribute__((__optimize__("no-builtin-sin"))) __attribute__((__optimize__("no-builtin"))) __attribute__((__optimize__("no-builtin-sensless"))) no error __attribute__((__optimize__("no-builtin-"))) error: missing argument to ‘-fno-builtin-’): __attribute__((__optimize__("no-builtin_"))) error: unrecognized command line option ‘-fno-builtin_’ __attribute__((__optimize__("no-builtin_sin"))) error: unrecognized command line option ‘-fno-builtin_sin’ Very funny, it seems there is a check if the -f option exists but then it's ignored. Maybe it is only working for "real" optimization options. In the gcc man page the no-builtin options are mentioned under "C Language Options". Hope it helps a little bit. Matsche > Jeff > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- "In der Wissenschaft siegt nie eine neue Theorie, nur ihre Gegner sterben nach und nach" Max Planck ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers