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]

Internal compiler error -- egcs 1.1b -- vector initialization attempt


Hello,

It seems I have found another internal compiler error condition
for egcs release 1.1b.
Once again, I tried if an apparently illegal construct works, namely,
I tried to initialize each member of a vector as I could do creating
an array with new[].

This is a cut-down version of the C++ source, 'vector.cpp':

    #include <vector>
    vector<int> v (1) (0);

    int main() {}

The command 'g++ vector.cpp' results in a message:

    vector.cpp:2: Internal compiler error.
    vector.cpp:2: Please submit a full bug report to `egcs-bugs@cygnus.com'.

Info on my hardware/software:

    I am using egcs 1.1b, --version == egcs-2.91.57.
    The machine I am using is Pentium II 333 MHz, 64MB RAM,
    Linux from Suse 5.3. distribution, displays 'Linux version 2.0.35 (gcc 2.7.2.1)'
    when starting up, uses libc5.4.46 apparently.
    When building egcs, I ran the configure script with no options. It has recognised
    my platform as i686-pc-linux-gnulibc1 -- I suppose it is the same thing as libc5.
    Then I did 'make bootstrap' and 'make install' as suggested in the instructions,
    all options default.
    Binutils version is 2.9.1.0.7, obtained as libc5 binaries and installed before
    downloading egcs.

Once again thank you all for the great effort.
Egcs compiler is definitely a major help to me.

All the best,

Maciej.


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