This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/36303] location list incomplete for spilled registers



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-05-22 22:38 -------
>I'm sorry, but I don't understand what you mean.

        *((unsigned int *)(&(p1)->data[0])),

You are accessing a char array as an unsigned int which violates C/C++ aliasing
rules and causes undefined code at runtime.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36303


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]