This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/1501: Complex conjugation ICE
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/1501: Complex conjugation ICE
- From: Joseph Myers <jsm28 at cam dot ac dot uk>
- Date: Fri, 22 Dec 2000 15:53:47 +0000
- Cc: jsm28 at cam dot ac dot uk
>Number: 1501
>Category: c
>Synopsis: Complex conjugation ICE
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Dec 22 07:56:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Joseph S. Myers
>Release: 2.97 20001222 (experimental)
>Organization:
none
>Environment:
System: Linux decomino 2.2.18 #1 Thu Dec 14 19:30:45 UTC 2000 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-cvs/configure --prefix=/opt/gcc/snapshot --disable-shared --enable-threads=posix --with-system-zlib
>Description:
Complex conjugation of a constant causes an ICE.
>How-To-Repeat:
$ cat t.c
double __complex__
f (void)
{
return ~(1.0 + 2.0i);
}
$ gcc -c t.c
t.c: In function `f':
t.c:4: Tree check: expected class 'e', have 'c' (complex_cst)
t.c:4: Internal compiler error in fold, at fold-const.c:5282
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: