Qcc optimization error and lib warning

I trying to compile with some optimization, here my compiler options:
-w8 -Wc,-mcpu=pentium,-march=pentium,-fno-pic,-fomit-frame-pointer,-freg-str
uct-return, -O1
Some source will compile but other will produce theses kind of errors:

AnalogInput.cpp:552: Internal compiler error.
AnalogInput.cpp:552: Please submit a full bug report.
AnalogInput.cpp:552: See
URL:http://www.gnu.org/software/gcc/faq.html#bugreport for instructions.

This was compile on a DELL pentium4 1.4Ghz, 512 Meg Ram, 80 Meg SCSI HD
I dont have theses errors if I put -O0 instead of -O1. I seem to append in
module were I have templates.
Can someone suggest other compiler options to optimize my code for speed.

Another anoying thing is theses warning from the standard library. Is there
a way to supress this warning or is there a patch to the current library.

/usr/include/fstream: In method
std::basic_filebuf<_Elem,_Traits>::basic_filebuf(_Filet * = 0)': /usr/include/fstream:89: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:89: warning: will be re-ordered to precede member
initializations
/usr/include/fstream: In method
std::basic_filebuf<_Elem,_Traits>::basic_filebuf(std::_Uninitialized)': /usr/include/fstream:98: warning: base initializer for std::basic_streambuf<_Elem,_Traits>’
/usr/include/fstream:98: warning: will be re-ordered to precede member
initializations

p.s
uname -a Give me this: QNX 6.1.0 2001é08é23-19-:38:50edt x86pc x86
gcc -v Give version 2.95.2 19991024 (release)
And at the end of the fstream include file I got
/*

  • Copyright (c) 1994-2000 by P.J. Plauger. ALL RIGHTS RESERVED.
  • Consult your license regarding permissions and restrictions.
    V3.05:1296
    */

Rejean Senecal