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]

bug report (related to optimizing out a great deal of code)



 make
cc -I/m/include -I/usr/include -O   -c mon.c -o mon.o
mon.c: In function `main':
mon.c:810: Internal compiler error in `build_insn_chain', at
global.c:1756
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
make: *** [mon.o] Error 1


The code change that sets this off is the introduction
of an exit(0) near the beginning of main()

        initscr();start_color();

        printf("we have %i colors and %i colorpairs to play
with\n\n\n",COLORS,COLOR_PAIRS);

        /*  exit(0); */
        init_pair(color[1],COLOR_GREEN,COLOR_WHITE);

now it compiles okay .. also it compiles without the -O


__________________________________________________
          David Nicol 816.235.1187 nicold@umkc.edu
                     ln -s `which grep` ~/bin/kibo


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