re PR c/13804 (Error message enhancement Request)
authorJoseph Myers <jsm@polyomino.org.uk>
Mon, 27 Sep 2004 19:33:55 +0000 (20:33 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 27 Sep 2004 19:33:55 +0000 (20:33 +0100)
commit5e9bda655cd622a17f1f1397a058847a9c6b38ca
treebea232c1f5d8bde732375be9c7629cc2679c4b93
parent43f51151e2983568f53c011bb19ca9999abfab0d
re PR c/13804 (Error message enhancement Request)

PR c/13804
* c-typeck.c (build_component_ref): Name type involved in
diagnostic for structure or union without a member of the given
name.

testsuite:
* gcc.dg/pr13804-1.c: New test.

From-SVN: r88195
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr13804-1.c [new file with mode: 0644]