I just tried to compile the Suse Linux package spandsp-0.0.3-43
with the GNU C compiler version 4.3 snapshot 20071102

The compiler said

v17rx.c: In function 'v17_rx_restart':
v17rx.c:12020: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Source code attached. Flags -O2 -ftree-vectorize -w  -std=gnu99 required.

Here is valgrind helping out with some debug 
information

==22690== Invalid read of size 2
==22690==    at 0x6EE9E6: create_data_ref (tree-data-ref.c:746)
==22690==    by 0x6F4016: compute_data_dependences_for_loop
(tree-data-ref.c:3975)
==22690==    by 0x816402: vect_analyze_loop (tree-vect-analyze.c:3209)
==22690==    by 0x833716: vectorize_loops (tree-vectorizer.c:2498)
==22690==    by 0x6439F8: execute_one_pass (passes.c:1118)
==22690==    by 0x643BCF: execute_pass_list (passes.c:1171)
==22690==    by 0x643BE4: execute_pass_list (passes.c:1172)
==22690==    by 0x643BE4: execute_pass_list (passes.c:1172)
==22690==    by 0x71EEAF: tree_rest_of_compilation (tree-optimize.c:404)
==22690==    by 0x8C1791: cgraph_expand_function (cgraphunit.c:1060)
==22690==    by 0x8C3BFB: cgraph_optimize (cgraphunit.c:1123)
==22690==    by 0x4162BD: c_write_global_declarations (c-decl.c:8081)
==22690==  Address 0x0 is not stack'd, malloc'd or (recently) free'd


-- 
           Summary: ice for legal code
           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: suse-linux-x86_64


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

Reply via email to