public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2348: scalar assignment to struct causes compiler crash
@ 2002-10-30 18:13 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-10-30 18:13 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, philb
Synopsis: scalar assignment to struct causes compiler crash
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Wed Oct 30 18:13:45 2002
State-Changed-Why:
This still ocurs with 3.2.1pre, but is fixed with present CVS:
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c x.cc
x.cc: In function `void f()':
x.cc:5: error: conversion from `int' to non-scalar type `a_t' requested
Since this is not a regression, it will not likely get fixed
for 3.2.x and I get it out of the way for 3.3 by closing it.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2348
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/2348: scalar assignment to struct causes compiler crash
@ 2001-03-22 15:16 philb
0 siblings, 0 replies; 2+ messages in thread
From: philb @ 2001-03-22 15:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 2348
>Category: c++
>Synopsis: scalar assignment to struct causes compiler crash
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Thu Mar 22 15:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: philb@gnu.org
>Release: 3.0 branch, 22/3/2001
>Organization:
>Environment:
>Description:
This code:
typedef struct { int a[3]; } a_t;
void f(void)
{
static a_t a = 0;
}
causes g++ to crash like so:
$ ./cc1plus ~/struct.cc
void f() void f()
/home/pb/struct.cc:5: Internal compiler error in gen_lowpart, at emit-rtl.c:
1093
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
$
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-31 2:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-30 18:13 c++/2348: scalar assignment to struct causes compiler crash bangerth
-- strict thread matches above, loose matches on Subject: below --
2001-03-22 15:16 philb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).