public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "schwab at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/21059] New: Bogus warning about clobbered variable Date: Sat, 16 Apr 2005 16:56:00 -0000 [thread overview] Message-ID: <20050416165638.21059.schwab@suse.de> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1760 bytes --] $ cat m68k-dis.i typedef int (*fprintf_ftype) (void *, const char*, ...); typedef struct disassemble_info { fprintf_ftype fprintf_func; void *stream; int (*read_memory_func) (void); } disassemble_info; extern char *foo (void); typedef struct { } jmp_buf[1]; extern int setjmp (jmp_buf); int print_insn_m68k (disassemble_info *info) { jmp_buf bailout; if (setjmp (bailout) != 0) return -1; info->fprintf_func (info->stream, foo ()); return 0; } $ gcc/xgcc -B gcc/ -W -Wall -O2 -S m68k-dis.i -v Reading specs from gcc/specs Target: ia64-suse-linux Configured with: ../configure --host=ia64-suse-linux --enable-shared --enable-threads --enable-__cxa_atexit --with-system-zlib --with-system-libunwind Thread model: posix gcc version 4.0.0 20050416 (prerelease) gcc/cc1 -fpreprocessed m68k-dis.i -quiet -dumpbase m68k-dis.i -auxbase m68k-dis -O2 -W -Wall -version -o m68k-dis.s GNU C version 4.0.0 20050416 (prerelease) (ia64-suse-linux) compiled by GNU C version 4.0.0 20050416 (prerelease). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 m68k-dis.i: In function ôòøprint_insn_m68kôòù: m68k-dis.i:11: warning: argument ôòøinfoôòù might be clobbered by ôòølongjmpôòù or ôòøvforkôòù -- Summary: Bogus warning about clobbered variable Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: ia64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21059
next reply other threads:[~2005-04-16 16:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-04-16 16:56 schwab at suse dot de [this message] 2005-06-01 22:08 ` [Bug middle-end/21059] " sje at cup dot hp dot com 2005-06-01 23:03 ` schwab at suse dot de 2005-06-02 18:40 ` trt at acm dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050416165638.21059.schwab@suse.de \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).