------- Comment #7 from pinskia at gcc dot gnu dot org 2006-09-25 16:55 -------
(In reply to comment #5)
> It is not violating aliasing rules (since a character string can alias with
> everything, 6.5p7) nor does it affect this problem.
No you are reading it the wrong way; accessing via the character type is valid
and the orginal type (which this case is the character type). C aliasing rules
are not transative.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2006-09-25 16:53:19 |2006-09-25 16:55:18
date| |
Target Milestone|4.0.4 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29215