I just tried to compile Suse Linux package aalib-1.4.0-364 with the
GNU C compiler version 4.3 snapshot 20070706

The compiler said

aarender.c: In function 'aa_renderpalette':
aarender.c:33: 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 help from valgrind

==21796== Invalid read of size 2
==21796==    at 0x7CE295: extract_range_from_binary_expr (tree-vrp.c:1738)
==21796==    by 0x7CF7DA: extract_range_from_expr (tree-vrp.c:2594)
==21796==    by 0x7D1572: vrp_visit_assignment (tree-vrp.c:4679)
==21796==    by 0x7D2606: vrp_visit_stmt (tree-vrp.c:5215)
==21796==    by 0x7807F1: simulate_stmt (tree-ssa-propagate.c:322)
==21796==    by 0x78113F: ssa_propagate (tree-ssa-propagate.c:445)
==21796==    by 0x7C7BFD: execute_vrp (tree-vrp.c:6100)
==21796==    by 0x61A7C8: execute_one_pass (passes.c:1126)
==21796==    by 0x61A99F: execute_pass_list (passes.c:1179)
==21796==    by 0x61A9B4: execute_pass_list (passes.c:1180)
==21796==    by 0x6EA3E7: tree_rest_of_compilation (tree-optimize.c:406)
==21796==    by 0x83F95F: cgraph_expand_function (cgraphunit.c:1073)
==21796==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

Preprocessed source code attached. Flags -ffast-math  -O3 -ftree-vectorize
required.


-- 
           Summary: ice for legal C code with flags -ffast-math  -O3 -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=32681

Reply via email to