This is the mail archive of the gcc-prs@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++/3476: wrong `const' behaviour



>Number:         3476
>Category:       c++
>Synopsis:       wrong `const' behaviour
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 05:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Kunert
>Release:        3.0.1 prerelease
>Organization:
>Environment:
Configured with: ../gcc/configure i686-pc-linux-gnu --enable-shared --prefix=/opt --enable-languages=c,c++,f77
Thread model: single
gcc version 3.0.1 20010626 (prerelease)
>Description:
This code:

class AAA{};
const AAA a;

results in the message:

test.cc:3: uninitialized const `a'
>How-To-Repeat:

>Fix:

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


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