Hello,
I am trying to call some function from GCC's code. I am making
change in file "print-rtl.c" and in that file, I am calling some functions
which have been defined in "toy.c". I have included the file "toy.c" in
"print-rtl.c" by using construct "#include toy.c".
But it's giving me error as --
--------------------------------------------------------------------------
../../gcc/crtstuff.c: In function â__do_global_dtors_auxâ:
../../gcc/crtstuff.c:258: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [crtbegin.o] Error 1
--------------------------------------------------------------------------
It's not saying that this particular function, say "genCode" which has been
defined in "toy.c" is not found. And I am sure that the error is only due
to this function call to "genCode"...
I have modified Makefile.in to generate the object file "toy.o"
I am unable to decode this error... Any help regarding this would be very
helpful. If anybody has seen this error before, then may be I can get some
idea as to when this error comes, and what does it mean.
Thanks and regards,
--
Amruta