I just tried to compile Suse Linux package libqca2-2.0.2-2.2 with the gcc 4.5 mainline snapshot 20090730 and the compiler said qca_core.cpp:1880:3: internal compiler error: in create_tmp_var, at gimplify.c:504 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source attached. No special flags required.
Created attachment 18284 [details] C++ source code
PR40866 ?
(In reply to comment #2) > PR40866 ? Maybe - there are many ways to fail a sanity check. I notice that the line where it crashes is of the form gcc_assert(!X && Y); It might be better to split this into two gcc_assert statements, so the user would be better informed which X or Y is wrong. gcc_assert( !X); gcc_assert( Y);
No, the asserts are enabled in release builds, so they should be combined to reduce executable size.
Still, you can certainly help the project by temporarily splitting the two checks in your local tree, rebuilding, and telling us if both PRs fail on the same one or not...
Or alternately playing a bit with the debugger, of course ;)
Works for me now (r154190). If you can still see something wrong, please reopen.
(In reply to comment #7) > Works for me now (r154190). I have no idea what r154190 means, but I can confirm that the snapshot of 2009112 seems to work ok, even at optimisation level -O3 -march=native. This looks fixed to me.
r154190 is the subversion version I built and tested, this project doesn't use cvs anymore.