public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/21059] New: Bogus warning about clobbered variable
@ 2005-04-16 16:56 schwab at suse dot de
  2005-06-01 22:08 ` [Bug middle-end/21059] " sje at cup dot hp dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: schwab at suse dot de @ 2005-04-16 16:56 UTC (permalink / raw)
  To: gcc-bugs

[-- 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-02-20 22:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21059-50@http.gcc.gnu.org/bugzilla/>
2005-11-26  7:39 ` [Bug middle-end/21059] Bogus warning about clobbered variable gdr at gcc dot gnu dot org
2005-12-02  2:24 ` wilson at gcc dot gnu dot org
2005-12-02  4:12 ` wilson at gcc dot gnu dot org
2005-12-02 19:16 ` wilson at gcc dot gnu dot org
2009-02-20 22:36 ` sje at cup dot hp dot com
2009-02-20 22:42 ` rguenth at gcc dot gnu dot org
2005-04-16 16:56 [Bug middle-end/21059] New: " schwab at suse dot de
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

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).