Description of problem: gcc issues misleading warning for -fno-rtti Version-Release number of selected component (if applicable): gcc-3.3-5 How reproducible: Compile a C program with -fno-rtti Steps to Reproduce: 1. 2. 3. Actual results: Error message about using -frtti is issued Expected results: Either issue message about -fno-rtti, or issue no message since we said -f*NO*-rtti. Additional info: [~]2 cat hello.c main() {printf("Hellos world!\n");} [~]2 cc -fno-rtti -o hello hello.c cc1: warning: "-frtti" is valid for C++ but not for C/ObjC [~]2 cc --version cc (GCC) 3.3 20030604 (Red Hat Linux 3.3-5) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.