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, Linux 586, 980515 (1.0.3), Slackware 3.5


Hello nice people,

I tried to compile some source and got internal compiler error.

Hope this helps to make your compiler even better.

Bye
-- 
------------------------------------------------------------------------------
                                                 ,--- 
    Edwin van den Oetelaar                      | o o |
    Software is my thing                        ` \_/ '    Linux 
                                                /\___/\    The Choice of
    edwin@oetelaar.com                         |_/ . \_|   A GNU Generation
                                               \_/___\_/
    Made of minimal 75% recycled electrons
 ** Redistribution via the microsoft network is strictly prohibited.
------------------------------------------------------------------------------
BUG FOUND ?

report by Edwin van den Oetelaar
email : edwin@oetelaar.com
system : Linux 2.0.32, installed slackware Intel, K6-233MHz 64MB-RAM 

// report cut from screen

target:~/Cplusplus$ uname -a
Linux target 2.0.32 #34 Sun Aug 16 21:35:46 MET DST 1998 i586

target:~/Cplusplus$ g++ --version
egcs-2.90.29 980515 (egcs-1.0.3 release)

target:~/Cplusplus$ g++ -Wall phone.cxx -o phone
phone.cxx: In function `int main()':
phone.cxx:13: Internal compiler error.
phone.cxx:13: Please submit a full bug report to `egcs-bugs@cygnus.com'.
target:~/Cplusplus$ cat phone.cxx
#include <iostream>
#include <map>
#include <string>

struct Entry {
        string name;
        int number;
};


int main()
{
        map <1000,Entry> book;
        book[1].name = "Edwin van den Oetelaar (edwin@oetelaar.com)";
        book[1].number = 372940;

        cout << "boek regel 1 is " << book[1].name << ", " << book[1].number;
}

// end of report

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