This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14765] New: ice-on-invalid-code, ICE while compiling ({}) expression
- From: "1319 at bot dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2004 22:52:13 -0000
- Subject: [Bug c/14765] New: ice-on-invalid-code, ICE while compiling ({}) expression
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat bug2.i
int a;
void fun ()
{
a = 0;
a = ({});
}
$ gcc-3.3 bug2.i
bug2.i: In function `fun':
bug2.i:5: 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.
$ gcc-3.5-tree-ssa bug2.i
bug2.i: In function `fun':
bug2.i:5: warning: statement-expressions should end with a non-void expression
gimplification failed:
<STATEMENT_LIST> <statement_list 0x4051f630
type <void_type 0x40461984 void VOID
align 8 symtab 0 alias set -1
pointer_to_this <pointer_type 0x404619f8>>
>
bug2.i:5: internal compiler error: in gimplify_expr, at gimplify.c:3496
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ice-on-invalid-code, ICE while compiling ({}) expression
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: 1319 at bot dot ru
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14765