This is the mail archive of the gcc-patches@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]

A breakage from http://gcc.gnu.org/ml/gcc-cvs/2001-12/msg00528.html


Hi,

Could somebody take a look at a failure caused by the following patch?

http://gcc.gnu.org/ml/gcc-cvs/2001-12/msg00528.html

This patch causes h8300 port not to build.  The build process stops
when compiling unwind-sjlj.c.  After stripping down unnecessary things
in the file, the following turned outo to be the minimum possible.

/* h8300-hms-gcc -O1 kazu.c */
int
bar (int code)
{
  if (code)
    __builtin_longjmp (0, 1);

  return 0;
}

The gdb message is as follows.

(gdb) run -O1 kazu.c
Starting program: /var/tmp/h8300-hms-gcc-head-1214-1658/gcc/cc1 -O1 kazu.c
Breakpoint 2 at 0x40054498: file exit.c, line 40.
Breakpoint 3 at 0x40052f19: file ../sysdeps/generic/abort.c, line 55.
 bar
Program received signal SIGSEGV, Segmentation fault.
0x0818a556 in flow_find_cross_jump (mode=136838972, bb1=0x827fd64, bb2=0x818aabd, f1=0x0, f2=0x0)
    at /home/kazu/gnu/gcc/gcc-head/gcc/gcc/cfgcleanup.c:752
752		last2 = PREV_INSN (last2);
(gdb) 

Thanks,

Kazu Hirata


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