aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.texi
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-01-31 10:24:40 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-01-31 10:24:40 +0000
commit0aca1a4fd3d3f5fbfbbbfcc8e29a3f1cbb45d56a (patch)
tree34733a2dad346aaafe559de1ce988837b74efabf /gcc/gcc.texi
parent92fa350add2e10d97b012085da56166db9ed4f0c (diff)
downloadgcc-0aca1a4fd3d3f5fbfbbbfcc8e29a3f1cbb45d56a.zip
gcc-0aca1a4fd3d3f5fbfbbbfcc8e29a3f1cbb45d56a.tar.gz
gcc-0aca1a4fd3d3f5fbfbbbfcc8e29a3f1cbb45d56a.tar.bz2
c-parse.in (structsp): Pedwarn when "enum foo" refers to an incomplete type.
* c-parse.in (structsp): Pedwarn when "enum foo" refers to an incomplete type. (typename): Call pending_xref_error after parsing typed_typespecs. * c-decl.c (lookup_tag): Give error immediately rather than leaving it pending if the tag of the wrong type is in the same binding level. (xref_tag): Don't pedwarn for forward declarations of enum types here. * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union and enum tags. testsuite: * gcc.dg/c99-tag-1.c: New test. From-SVN: r39372
Diffstat (limited to 'gcc/gcc.texi')
-rw-r--r--gcc/gcc.texi4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/gcc.texi b/gcc/gcc.texi
index 177c2ee..99f2433 100644
--- a/gcc/gcc.texi
+++ b/gcc/gcc.texi
@@ -537,10 +537,6 @@ edit the offending file and place the typedef in front of the
prototypes.
@item
-There are several obscure case of mis-using struct, union, and
-enum tags that are not detected as errors by the compiler.
-
-@item
When @samp{-pedantic-errors} is specified, GCC will incorrectly give
an error message when a function name is specified in an expression
involving the comma operator.