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] | |
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6893 Aloha, Looks like the testcase you provided has an aliasing problem: icolor = (int *) tmp; Strict aliasing does not allow casting from (float *) to (int *)... You will need to fix your code or compile w/ -fno-strict-aliasing. See the GCC documentation on -fstrict-aliasing for more information. Please check if your problem persists with the attached testcase. - Glen Nakamura
Attachment:
6893.c
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |