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

王 逸 cnnjuwy@hotmail.com
Fri Apr 2 02:23:00 GMT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: application/octet-stream
Size: 4495 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040402/38eaa736/attachment.obj>


More information about the Gcc mailing list