c++/5622: ICEs due to host_integerp not checked before tree_cst_low

jakub@redhat.com jakub@redhat.com
Thu Feb 7 06:11:00 GMT 2002


>Number:         5622
>Category:       c++
>Synopsis:       ICEs due to host_integerp not checked before tree_cst_low
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 07 06:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     babu.arunachalam@arguin.com
>Release:        gcc-3.1 20020207
>Organization:
>Environment:
i386-redhat-linux
>Description:
If using 32-bit HOST_WIDE_INT, compiling:
struct A
{
};

struct B : public A
{
  char b[0x10000000];
} e;

causes ICE because layout_virtual_base does arithmetic
on bitsizes in HOST_WIDE_INT, not on trees.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list