Description of problem: Hello there, I just tried to compile package compat-gcc-7.3-2.96.110 from Redhat 8.0. Here are some of the compiler messages. ../../gcc/ssa.c:854: warning: operation on `ssa_definition' may be undefined ../../gcc/ssa.c:855: warning: operation on `ssa_uses' may be undefined Here is a patch which shuts up the compiler. *** ./gcc/ssa.c.old 2002-11-25 09:14:10.000000000 +0000 --- ./gcc/ssa.c 2002-11-25 09:16:54.000000000 +0000 *************** *** 851,858 **** if (new_regno >= (int) ssa_definition->num_elements) { int new_limit = new_regno * 5 / 4; ! ssa_definition = VARRAY_GROW (ssa_definition, new_limit); ! ssa_uses = VARRAY_GROW (ssa_uses, new_limit); } VARRAY_RTX (ssa_definition, new_regno) = r->set_insn; --- 851,858 ---- if (new_regno >= (int) ssa_definition->num_elements) { int new_limit = new_regno * 5 / 4; ! VARRAY_GROW (ssa_definition, new_limit); ! VARRAY_GROW (ssa_uses, new_limit); } VARRAY_RTX (ssa_definition, new_regno) = r->set_insn; Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
SSA is totally unsupported in gcc-2.96-RH, so it doesn't really matter.
>SSA is totally unsupported in gcc-2.96-RH, so it doesn't really matter. I fail to understand. The package is a deliverable in RH 8.0, and it's got bugs in it. Can I interest you in fixing them ? I have supplied a patch. I agree fixing compatability packages might not be the most important thing to do.
-fssa was experimental and killed in later releases (only GCC 4 has tree-SSA, which is very different fromthe experimental SSA on rtl). Given that nobody should be using it, I don't see any point in fixing this, especially in compat package.