This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12165] Typedef'ed variables ignore typedef's const qualifier
- From: "dhananjayd at kpitcummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2003 10:05:55 -0000
- Subject: [Bug c/12165] Typedef'ed variables ignore typedef's const qualifier
- References: <20030904101331.12165.alastair.gillham@dds.delphiauto.com>
- 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=12165
------- Additional Comments From dhananjayd at kpitcummins dot com 2003-09-17 10:05 -------
when type is declared as an array, the variable is not placed in rodata/ const
section but instead in data section.
This problem doesn't occur if compiled with g++.
So this could be a bug in C parser.