[Bug tree-optimization/28778] strict-aliasing bug

2006-08-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-18 21:15 --- Here is a full testcase: typedef long GLint; void aglChoosePixelFormat(const GLint *); void find(const int *alistp) { const int *blist; int list[32]; if (alistp) blist = alistp; else { list[3] = 42;

[Bug tree-optimization/28778] strict-aliasing bug

2006-08-18 Thread mrs at apple dot com
--- Comment #2 from mrs at apple dot com 2006-08-18 21:12 --- radr://4658741 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28778

[Bug tree-optimization/28778] strict-aliasing bug

2006-08-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-18 21:11 --- As long as aglChoosePixelFormat only access the argument as int and not long, this should be ok. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28778