http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26219
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from mugita at jsdkk dot com 2006-02-14 03:37 ---
h8300-elf-gcc(3.4.3) makes this object.
0x1a0 main: 6d f6 mov.w r6,@-e7
- 0x1a2 main+2: 0d 76 mov.w r7,r6
0x1a4 main+4: 79 00 1d 4a
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-14 03:51 ---
Can you try:
#include setjmp.h
jmp_buf jb_error;
void jump(void){
longjmp(jb_error,1);
}
void func1(void){
return;
}
int main(void){
if(setjmp(jb_error))
return 0;
func1();
jump();
}
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-02-11 13:33 ---
You need to provide a more sensible test or a description of what works and
does not work for this testcase is supposed to be.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26219