public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: ghazi@caip.rutgers.edu To: gcc-gnats@gcc.gnu.org Subject: c/7227: Regression: bogus uninitialized variable warning with attribute mode TI Date: Sat, 06 Jul 2002 18:56:00 -0000 [thread overview] Message-ID: <20020707015248.14728.qmail@sources.redhat.com> (raw) >Number: 7227 >Category: c >Synopsis: Regression: bogus uninitialized variable warning with attribute mode TI >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: mistaken >Submitter-Id: net >Arrival-Date: Sat Jul 06 18:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Kaveh Ghazi >Release: gcc version 3.2 20020706 (experimental) >Organization: >Environment: sparc-sun-solaris2.7 & mips-sgi-irix6.2 (but probably all) >Description: This testcase yields an uninitialized variable warning when compiled with the 3.2 trunk. The current 3.1.x branch doesn't complain, thus it is a regression. I've written the testcase in a form suitable for installation as gcc.dg/uninit-C.c: /* Spurious uninitialized variable warning, inspired by libgcc2.c. */ /* { dg-do compile } */ /* { dg-options "-O -Wuninitialized" } */ typedef int TItype __attribute__ ((mode (TI))); TItype __subvdi3 (TItype a, TItype b) { TItype w; w = a - b; return w; } >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2002-07-07 1:56 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020707015248.14728.qmail@sources.redhat.com \ --to=ghazi@caip.rutgers.edu \ --cc=gcc-gnats@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).