This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12391] [3.4 regression] missing warning about assigning to an incomplete type
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2003 18:40:24 -0000
- Subject: [Bug c/12391] [3.4 regression] missing warning about assigning to an incomplete type
- References: <20030924141618.12391.levon@movementarian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12391
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |normal
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-09-24 18:40:24
date| |
Summary|regression: missing warning |[3.4 regression] missing
|about assigning to an |warning about assigning to
|incomplete type |an incomplete type
Target Milestone|--- |3.4
------- Additional Comments From bangerth at dealii dot org 2003-09-24 18:40 -------
Right, a mailine regression. What a vicious piece of code. The g++
front end gives this, btw, which I think is a good reason to change
your programming language :-)
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.c -W -Wall
x.c: In function `int foo()':
x.c:2: error: using typedef-name `b_t' after `struct'
x.c:2: warning: statement has no effect