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]
Other format: [Raw text]

c++/5564: g++-3.0.3 infinite loop



>Number:         5564
>Category:       c++
>Synopsis:       g++-3.0.3 infinite loop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 31 23:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adam J. Richter
>Release:        3.0.3
>Organization:
Yggdrasil Computing, Inc.
>Environment:
System: Linux baldur 2.5.3 #3 SMP Thu Jan 31 03:16:45 PST 2002 i686 unknown
Architecture: i686

	Linux-2.5.3, glibc-2.2.5

host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /usr/src/devel/compilers/gcc/configure --prefix=/usr : (reconfigured) 
>Description:

	If I attempt to comile the following program, g++ gets into
an infinite loop.  I also get the following error messages, which I
include just as a check to make sure that we are on the same page.
The bug is not the error messages. The bug is that the compiler gets
into an infinite loop.

nocompile.cpp:8: syntax error before `;' token
nocompile.cpp:3: ISO C++ forbids declaration of `KHTMLViewPrivate' with no type
nocompile.cpp:3: ISO C++ forbids declaration of `KHTMLViewPrivate' with no type
nocompile.cpp: In destructor `KHTMLViewPrivate::~KHTMLViewPrivate()':
nocompile.cpp:5: parse error before `;' token


>How-To-Repeat:

	Attempt to this program with g++ -c:

class QScrollView;

struct KHTMLViewPrivate {
    ~KHTMLViewPrivate()
    {
    }

    QScrollView::ScrollBarMode hmode;
};




>Fix:
	Unknown

>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]