9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] make passive aggressive gcc
@ 2015-06-15  8:21 Charles Forsyth
  2015-06-15 13:41 ` Ethan Grammatikidis
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Charles Forsyth @ 2015-06-15  8:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

If you're using gcc 4.8.2 to compile ... anything, really ... but certainly
Plan 9 or Inferno components,
and those use for loops with arrays, be sure to include the compilation
options
-fno-strict-aliasing\
-fno-aggressive-loop-optimizations\
and it will save you some time and effort.
It will save compilation time (not that you'll notice with that sluggard)
because it won't
fuss even more with your program, and it will save effort, because you
won't have
to debug simple loops that have bounds changed, are removed completely, or
otherwise wrecked.
You can find discussions of it elsewhere (which is how I found compiler
options to stop it).
I'd forgotten all about it until it surfaced again.

[-- Attachment #2: Type: text/html, Size: 964 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-06-16  3:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-15  8:21 [9fans] make passive aggressive gcc Charles Forsyth
2015-06-15 13:41 ` Ethan Grammatikidis
2015-06-15 14:56   ` Siarhei Zirukin
2015-06-15 15:37     ` Ethan Grammatikidis
2015-06-15 16:05     ` dexen deVries
2015-06-15 14:41 ` Ryan Gonzalez
2015-06-15 23:06 ` [9fans] Wildly off-topic Andrew Simmons
2015-06-15 23:15   ` Ryan Gonzalez
2015-06-15 23:22   ` Bakul Shah
2015-06-16  3:35     ` Ramakrishnan Muthukrishnan
2015-06-15 23:39   ` Kurt H Maier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).