Hi, 

I am compiling this against SuSE Linux Ent. Server 9 32-bit.  

I get the following error at stage2:
---snip---
../../gcc-4.3.1/gcc/gcse.c: In function ?one_cprop_pass?:
../../gcc-4.3.1/gcc/gcse.c:3458: error: invalid rtl sharing found in the insn
(insn 865 862 866 141 ../../gcc-4.3.1/gcc/gcse.c:2151 (parallel [
            (set (reg:SI 387)
                (udiv:SI (reg/v:SI 175 [ regno ])
                    (mem/s/c:SI (plus:SI (reg:SI 3 bx)
                            (const:SI (plus:SI (unspec:SI [
                                            (symbol_ref:SI ("set_hash_table")
[flags 0x2] <var_decl 0x40a98c08 set_hash_table>)
                                        ] 1)
                                    (const_int 4 [0x4])))) [3
set_hash_table.size+0 S4 A32])))
            (set (reg:SI 386)
                (umod:SI (reg/v:SI 175 [ regno ])
                    (mem/s/c:SI (plus:SI (reg:SI 3 bx)
                            (const:SI (plus:SI (unspec:SI [
                                            (symbol_ref:SI ("set_hash_table")
[flags 0x2] <var_decl 0x40a98c08 set_hash_table>)
                                        ] 1)
                                    (const_int 4 [0x4])))) [3
set_hash_table.size+0 S4 A32])))
            (clobber (reg:CC 17 flags))
        ]) 229 {udivmodsi4} (expr_list:REG_UNUSED (reg:SI 387)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (nil))))
../../gcc-4.3.1/gcc/gcse.c:3458: error: shared rtx
(const:SI (plus:SI (unspec:SI [
                (symbol_ref:SI ("set_hash_table") [flags 0x2] <var_decl
0x40a98c08 set_hash_table>)
            ] 1)
        (const_int 4 [0x4])))
../../gcc-4.3.1/gcc/gcse.c:3458: internal compiler error: internal consistency
failure
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [gcse.o] Error 1


--snip--


Can someone please help out?  I looked at bug 36111, tried applyig the patches
suggested there, but no luck.

Thanks in advance.


-- 
           Summary: 4.3.1 failed to compile gcse.c file.
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: imam dot toufique at intel dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36622

Reply via email to