g++ infinite loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am compiling a project with g++ 3.3.2 && 2.95.3.  It
goes into an infinite loop when a call to the
following class method (in my source) is made:

    void newSection()   { mSectionOffset.push_back(
mTop ); }

mSectionOffset is a member defined as:

    mutable std::vector< unsigned > mSectionOffset;

I know its this call because the project compiles fine
w/o it.  I've tried variants:
    void newSection() {}; // worked
    void newSection() { mSectionOffset[0] = mTop; }
           // worked
    void newSection() { mSectionOffset.resize(
           mSectionOffset.size()+1, mTop ); }
           // failed

Where can I start to track down the bug?

Ben


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux