This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/4798: ICE when initializing flexible array structure member



>Number:         4798
>Category:       c
>Synopsis:       ICE when initializing flexible array structure member
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 06 03:46:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beulich
>Release:        gcc version 3.0.2
>Organization:
>Environment:
CygWin 1.3.3-2 on Win2000 on dual PIII-900, 256Mb
>Description:
Initializing a flexible array structure member as in the
attached example results in

flexarr.c:6: Internal error: Segmentation fault
>How-To-Repeat:
Simply compile the attached sample with option -c.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="flexarr.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="flexarr.c"

c3RydWN0IHMgew0KCXN0cnVjdCBzICpuZXh0Ow0KCWNoYXIgdGV4dFtdOw0KfTsNCg0Kc3RydWN0
IHMgcyA9IHswLCAiZGVzY3JpcHRpb24ifTsNCg==


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]