public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26219]  New: longjmp dosn't work
@ 2006-02-11  9:52 mugita at jsdkk dot com
  2006-02-11 13:33 ` [Bug target/26219] " rguenth at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: mugita at jsdkk dot com @ 2006-02-11  9:52 UTC (permalink / raw)
  To: gcc-bugs

gcc version 4.1. 20060120
Configured with: ../configure --target=h8300-elf --prefix=/usr/local
--enable-languages=c,c++ --with-newlib
--with-headers=/usr/src/newlib-1.14.0/newlib/libc/include

/////////////////////////////////////
#include <setjmp.h>
jmp_buf jb_error;  
void jump(void){
        longjmp(jb_error,1);
}
void func1(void){
    return;
}
int main(void){
    setjmp(jb_error);
    func1();
    jump();
}
/////////////////////////////
This program compiled by h8300-elf-gcc(4.1) doesn't work.
The program compiled by h8300-elf-gcc(3.4.3) with same library works.


-- 
           Summary: longjmp dosn't work
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mugita at jsdkk dot com
  GCC host triplet: Cygwin1.5.19(0.150/4/2)
GCC target triplet: h8300-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26219


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <bug-26219-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-01-13 22:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-11  9:52 [Bug c/26219] New: longjmp dosn't work mugita at jsdkk dot com
2006-02-11 13:33 ` [Bug target/26219] " rguenth at gcc dot gnu dot org
2006-02-14  3:37 ` mugita at jsdkk dot com
2006-02-14  3:51 ` pinskia at gcc dot gnu dot org
     [not found] <bug-26219-4@http.gcc.gnu.org/bugzilla/>
2012-01-13 22:22 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).