This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26372] opposite of may_alias attribute
- From: "acahalan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2006 03:28:23 -0000
- Subject: [Bug c/26372] opposite of may_alias attribute
- References: <bug-26372-12219@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from acahalan at gmail dot com 2006-02-22 03:28 -------
Yes, char pointers are special. I'd like a non-special char pointer.
I often know that a char pointer will never alias non-char data, but can not
prove that it obeys all the complicated rules for __restrict.
For non-char pointers the attribute would be useless unless
-fno-strict-aliasing is in effect.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26372