This is the mail archive of the gcc@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]
Other format: [Raw text]

[patch-newbie-test] Insert instructions into functions.


Hi, the attachment is my patch on GCC-3.3.3.

I wish this patch would enable GCC to insert some instructions into functions automatically. 
This is just a test patch, and I'm really clumsy at making patches.

The flowing error message is what I've got during the 'make' stage.
Please give me some advice, thank you!

regards
Wang Yi
NJU P.R.C.

mkinstalldirs='/bin/sh ../../patched-gcc-3.3.3/gcc/mkinstalldirs' \
  /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TM_DEFINES="" \
HEADERS="ansidecl.h  i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h
linux.h i386/linux.h defaults.h" XM_DEFINES="POSIX" \
TARGET_CPU_DEFAULT="" \
/bin/sh ../../patched-gcc-3.3.3/gcc/mkconfig.sh tconfig.h
/root/build/gcc/xgcc -B/root/build/gcc/ -B~/install/patched-gcc//i686-pc-linux-gnu/bin/ -B~/install/patched-gcc//i686-pc-linux-gnu/lib/ -isystem ~/install/patched-gcc//i686-pc-linux-gnu/include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../patched-gcc-3.3.3/gcc -I../../patched-gcc-3.3.3/gcc/. -I../../patched-gcc-3.3.3/gcc/config -I../../patched-gcc-3.3.3/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
   -c ../../patched-gcc-3.3.3/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
xgcc: Internal error: segment fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/root/build/gcc'
make: *** [all-gcc] Error 2

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