[Bug 1142456] New: gcc9 gives false positive about unaligned packed member address
http://bugzilla.suse.com/show_bug.cgi?id=1142456 Bug ID: 1142456 Summary: gcc9 gives false positive about unaligned packed member address Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- https://build.opensuse.org/package/live_build_log/home:michals/skiboot.Leap/... [ 52s] hw/fsp/fsp-elog-write.c: In function 'opal_elog_read': [ 52s] hw/fsp/fsp-elog-write.c:213:12: error: taking address of packed member of 'struct errorlog' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 52s] 213 | list_del(&log_data->link); [ 52s] | ^~~~~~~~~~~~~~~ [ 52s] hw/fsp/fsp-elog-write.c:214:43: error: taking address of packed member of 'struct errorlog' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 52s] 214 | list_add(&elog_write_to_host_processed, &log_data->link); [ 52s] | ^~~~~~~~~~~~~~~ Looks aligned to me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1142456
Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1142456
http://bugzilla.suse.com/show_bug.cgi?id=1142456#c1
Richard Biener
http://bugzilla.suse.com/show_bug.cgi?id=1142456
http://bugzilla.suse.com/show_bug.cgi?id=1142456#c2
Michal Suchanek
participants (1)
-
bugzilla_noreply@novell.com