This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30843] New: ice for legal code with -ftree-vectorize -O2
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Feb 2007 16:57:00 -0000
- Subject: [Bug c/30843] New: ice for legal code with -ftree-vectorize -O2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I just tried to compile Suse Linux package sane-backends-1.0.18-5
with the GNU C++ compiler version 4.3 snapshot 20070216.
The compiler said
plustek-pp_dac.c: In function 'dacP98WaitForShading':
plustek-pp_dac.c:780: 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 output from valgrind
==17180== Invalid read of size 8
==17180== at 0x674ADB: bsi_for_stmt (tree-flow-inline.h:744)
==17180== by 0x9C3DFC: vect_get_vec_def_for_operand
(tree-vect-transform.c:638)
==17180== by 0x9C6520: vectorizable_store (tree-vect-transform.c:3210)
==17180== by 0x9CC6BB: vect_transform_loop (tree-vect-transform.c:4270)
==17180== by 0x775216: vectorize_loops (tree-vectorizer.c:2187)
==17180== by 0x5F9060: execute_one_pass (passes.c:1055)
==17180== by 0x5F921B: execute_pass_list (passes.c:1107)
==17180== by 0x5F922D: execute_pass_list (passes.c:1108)
==17180== by 0x5F922D: execute_pass_list (passes.c:1108)
==17180== by 0x6B73A6: tree_rest_of_compilation (tree-optimize.c:412)
==17180== by 0x40AADB: c_expand_body (c-decl.c:6842)
==17180== by 0x7ED120: cgraph_expand_function (cgraphunit.c:1008)
==17180== Address 0x0 is not stack'd, malloc'd or (recently) free'd
Preprocessed source code attached. Flags -ftree-vectorize -O2 required.
--
Summary: ice for legal code with -ftree-vectorize -O2
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_suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30843