Red Hat Bugzilla – Bug 22180
Internal compiler error in print_operand_address
Last modified: 2005-10-31 17:00:50 EST
gcc/g++ fails with internal compiler error in
print_operand_address when compiling FLTK2 from cvs with
--enable-shared option (adds -fPIC).
g++ -I.. -DFL_LIBRARY -fPIC -DFL_SHARED -g -Wall -I/usr/X11R6/include -fno-exceptions -c fl_vertex.cxx -o fl_vertex.shared.o
fl_vertex.cxx: In function `void fl_push_matrix ()':
fl_vertex.cxx:41: Internal compiler error in print_operand_address, at
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
The source used can be grabbed from
Can you please rerun g++ with the above options and -save-temps -v
options and post the resulting fl_vertex.ii file?
Sorry, I have already uninstalled the compiler.
Unfortunately, then, we can't do much to help you.
Well, you could ship compilers that work in your product! Furthermore, I _did_
point to where you can get the problematic source code so you can fix the
problem without me doing part of the work for you! (I assume you are getting
paid by Red Hat to fix these problems whereas I am not.)
All we ask is that you follow the bug reporting procedure that the compiler
itself printed out; with the preprocessed source we can eliminate any
possible dependencies on other system variables.
In any case, I can't reproduce it with gcc-2.96-65, so I can only assume
it's fixed in the currently available rawhide package.