[Bug c/58217] New: warning when assigning a function pointer field in a structure having the may_alias attribute

2013-08-22 Thread z...@droids-corp.org
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: z...@droids-corp.org Host: x86_64 Target: x86_64 Hello, When compiling the attached code, I get the following error: $ gcc -Wall

[Bug c/58217] warning when assigning a function pointer field in a structure having the may_alias attribute

2013-08-22 Thread z...@droids-corp.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58217 --- Comment #1 from Olivier MATZ --- Created attachment 30685 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30685&action=edit code that triggers the issue

[Bug c/58217] warning when assigning a function pointer field in a structure having the may_alias attribute

2013-08-22 Thread z...@droids-corp.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58217 --- Comment #2 from Olivier MATZ --- Created attachment 30686 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30686&action=edit gcc -dumpspecs

[Bug c/58217] warning when assigning a function pointer field in a structure having the may_alias attribute

2013-08-22 Thread z...@droids-corp.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58217 --- Comment #3 from Olivier MATZ --- Created attachment 30687 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30687&action=edit intermediate file foo.i