This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26869] New: Segfault in find_lattice_value() for complex operands.
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2006 17:26:24 -0000
- Subject: [Bug middle-end/26869] New: Segfault in find_lattice_value() for complex operands.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This testcase segfaults in find_lattice_value() in tree-complex.c line 116:
_Complex float f (_Complex float b, _Complex float c)
{
_Complex float a = 1.0 + 0.0i;
return a / c;
}
gcc -O x.c
x.c: In function ?f?:
x.c:2: 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.
(gdb) bt
#0 find_lattice_value (t=0x0) at ../../gcc-svn/trunk/gcc/tree-complex.c:116
#1 0x0000000000853e50 in set_component_ssa_name (ssa_name=0x0, imag_p=0 '\0',
value=0x2aaaad95b600) at ../../gcc-svn/trunk/gcc/tree-complex.c:485
#2 0x0000000000854126 in update_complex_components_on_edge (e=0x2aaaad95b300,
lhs=0x0, r=Variable "r" is not available.
) at ../../gcc-svn/trunk/gcc/tree-complex.c:608
#3 0x00000000008579eb in tree_lower_complex () at
../../gcc-svn/trunk/gcc/tree-complex.c:658
--
Summary: Segfault in find_lattice_value() for complex operands.
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uros at kss-loka dot si
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26869