[Bug c/18166] top const stripped in structs for C

2005-03-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-20 17:45 --- Confirmed as fixed: (gdb) ptype xss type = struct ss { char *ptr; } (gdb) ptype xssc type = struct ssc { char * const ptr; } -- What|Removed |Added --

[Bug c/18166] top const stripped in structs for C

2005-03-19 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-19 13:23 --- Could someone with a Darwin build to hand check whether this bug is indeed fixed as I suggest in my previous comment? -- What|Removed |Added --

[Bug c/18166] top const stripped in structs for C

2005-01-29 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-01-29 16:31 --- My patch should cause fields to be given the correct types within the C front end, and might thereby fix this bug. -- http://gcc.gnu.org/bugzilla/

[Bug c/18166] top const stripped in structs for C

2004-10-26 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-26 23:30 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug c/18166] top const stripped in structs for C

2004-10-26 Thread mrs at apple dot com
--- Additional Comments From mrs at apple dot com 2004-10-26 23:27 --- For reference, the C++ version: struct ssc { char * const ptr; ssc () :ptr(0) { } }; struct ss { char * ptr; }; int main () { struct ssc xssc; struct ss xss; } and its output: (gdb) ptype xss type = struct ss