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/39954] [4.5 Regression] Revision 146817 caused unaligned access in gcc.dg/torture/pr26565.c



------- Comment #28 from rguenth at gcc dot gnu dot org  2010-01-18 11:24 -------
Btw, get_pointer_alignment should get passed an access type to put it into
context.  For alignment of say INDIRECT_REFs it would be the pointed-to type
but for function arguments in general it needs to be 'char' if you don't know
anything about the kind of the accesses the function does.  That would be
the default/fallback align get_pointer_alignment has to assume.


-- 


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


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