This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31870] Failure to diagnose taking address of register variable
- From: "neil at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2007 23:00:48 -0000
- Subject: [Bug c/31870] Failure to diagnose taking address of register variable
- References: <bug-31870-6@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from neil at gcc dot gnu dot org 2007-05-10 00:00 -------
Agreed it's minor; I think I flagged the PR that way.
I'm not sure but I suspect it indicates that the pointer decay is not
happening. If so and you were using GCC to do source code analysis, you would
have an incorrect type in the expression tree. Which may not be a big deal.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31870