On Wed, Aug 28, 2013 at 10:05 AM, avantikagupta <avantikagu...@cse.iitb.ac.in> wrote: > > > hi, > > i am writing a dynamic plugin, > > > however, sometimes it run succesfully and sometimes it give following error: > > /home/avantika/Downloads/gcc/gccpackage/install/bin/g++ -o result -flto > -fplugin=./plugin.so test1.o -O3 -fdump-ipa-all > In function ‘main’: > lto1: internal compiler error: in rebuild_frequencies, at predict.c:2396
you have to look at this place to see what the code expects and think about how/why you would violate its assumptions. > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://gcc.gnu.org/bugs.html> for instructions. > lto-wrapper: /home/avantika/Downloads/gcc/gccpackage/install/bin/g++ > returned 1 exit status > /usr/bin/ld: lto-wrapper failed > collect2: error: ld returned 1 exit status > make: *** [test] Error 1 > > > code : following are the name of files constraint.cpp, dataflow.cpp , > constraint.hpp, dataflow.hpp; > > the main file named pointo-callstring.c includes both the hpp files, and is > defining some object and class map. > > i have attached the files.