[openbeos] Re: Test suite build issues

  • From: "Alexander G. M. Smith" <agmsmith@xxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 08 Sep 2002 15:29:44 EDT (-0400)

> I would compile the test suite with the same compiler options as the 
> release build will, so that bugs caused by the compiler can also be 
> found in the future. At least, this would give us additional security 
> that gcc's output is correct. If some strange bugs show up, we can 
> always fall back to -g -O0 to fix them.
> 
> What do you think?

That's what I do, but I usually use O2, though I'm not brave enough or
foolish enough for O3 :-).  Of course, I'm using just plain C so that
may make a difference.  Usually you can work around compiler bugs
by rewriting a statement here or there.

- Alex



Other related posts: