I just tried to compile Suse Linux package hwinfo-13.35-18 with the
GNU C compiler version 4.3 snapshot 20070622

The compiler said

i10_vbios.c: In function 'int10_bios_ok':
i10_vbios.c:154: warning: cast to pointer from integer of different size
i10_vbios.c: In function 'InitInt10':
i10_vbios.c:80: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Here is some additional help from valgrind

==10659== Invalid read of size 2
==10659==    at 0x698243: set_bb_for_stmt (tree-cfg.c:2629)
==10659==    by 0x6994B1: bsi_insert_after (tree-cfg.c:2740)
==10659==    by 0x69A8D4: bsi_insert_on_edge_immediate (tree-cfg.c:3007)
==10659==    by 0xA283A5: vect_create_data_ref_ptr (tree-vect-transform.c:805)
==10659==    by 0xA2B7EA: vectorizable_load (tree-vect-transform.c:4566)
==10659==    by 0xA35164: vect_transform_stmt (tree-vect-transform.c:4923)
==10659==    by 0xA359A8: vect_transform_loop (tree-vect-transform.c:5912)
==10659==    by 0x7B1271: vectorize_loops (tree-vectorizer.c:2306)
==10659==    by 0x618B78: execute_one_pass (passes.c:1125)
==10659==    by 0x618D4F: execute_pass_list (passes.c:1178)
==10659==    by 0x618D64: execute_pass_list (passes.c:1179)
==10659==    by 0x618D64: execute_pass_list (passes.c:1179)
==10659==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

Preprocessed source code attached. Flags -O2 -ftree-vectorize
required.


-- 
           Summary: ice for legal code with -O2 -ftree-vectorize
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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

Reply via email to