c++/4474: ICE with __attribute__

reichelt@igpm.rwth-aachen.de reichelt@igpm.rwth-aachen.de
Fri Oct 5 01:26:00 GMT 2001


>Number:         4474
>Category:       c++
>Synopsis:       ICE with __attribute__
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 01:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Volker Reichelt
>Release:        gcc version 3.0, 3.0.2 20010903
>Organization:
>Environment:
i686-pc-linux-gnu, mips-sgi-irix6.5
>Description:
Compiling the following lines of code results in an ICE:

class A {};
class __attribute__((x)) B : public A {};

Bug.cpp:2: Internal compiler error in tree_low_cst, at tree.c:3462
Please submit a full bug report, etc.

Remarks:
* The code was distilled from Shura's bug report
  ( http://gcc.gnu.org/ml/gcc-bugs/2001-10/msg00136.html )

* It's a regression from 2.95.3
>How-To-Repeat:
g++ -c <filename>
>Fix:

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



More information about the Gcc-bugs mailing list