This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linux kernel & gcc-2.96 19990707



I've been using the experimental gcc's to build my linux kernel
(version 2.2.10 on a glibc1-i586) and unfortunately have been getting
more oops than I normally do. I've been using the following addtional
flags:

-O2 -fomit-frame-pointer -pipe -march=pentium -funroll-loops
 -fomit-frame-pointer -ffast-math -O6 -malign-double -malign-loops=2
 -malign-jumps=2 -malign-functions=2

>From what I understand, the -malign-xxx flags are unnecessary but more
or less harmless with gcc-2.96.  Of more concern is the strict-aliasing
default now in gcc.  Should I add -fno-strict-aliasing?  

Any other suggestions?

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]