[RTEMS Project] #2400: Strict aliasing warnings with GCC 6.0

RTEMS trac trac at rtems.org
Mon Aug 31 08:31:30 UTC 2015


#2400: Strict aliasing warnings with GCC 6.0
-----------------------------+--------------------
 Reporter:  sebastian.huber  |      Owner:
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  4.11.1
Component:  General          |    Version:  4.10
 Severity:  normal           |   Keywords:
-----------------------------+--------------------
 ../../cpukit/../../../sis/lib/include/netinet/tcp_var.h:245:34: warning:
 dereferencing type-punned pointer will break strict-aliasing rules
 [-Wstrict-aliasing]
 ../../cpukit/../../../sis/lib/include/netinet/tcp_var.h:245:34: warning:
 dereferencing type-punned pointer will break strict-aliasing rules
 [-Wstrict-aliasing]
 ../../cpukit/../../../sis/lib/include/netinet/tcp_var.h:245:34: warning:
 dereferencing type-punned pointer will break strict-aliasing rules
 [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:167:18:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:267:13:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:273:13:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:279:13:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:283:13:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:290:29:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:308:31:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:657:12:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:658:12:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:701:12:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in.c:702:12:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in_pcb.c:297:30:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/in_pcb.c:328:13:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/tcp_input.c:228:26:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/tcp_output.c:392:4:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/tcp_output.c:407:4:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/tcp_output.c:421:5:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/tcp_output.c:428:5:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/tcp_subr.c:389:26:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/libnetworking/netinet/tcp_subr.c:701:13:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/librpc/src/rpc/get_myaddress.c:118:22:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/librpc/src/rpc/pmap_rmt.c:233:7:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:1205:21:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:1222:22:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:1299:17:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:1316:19:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:886:14:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:888:14:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:891:11:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:926:14:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
 ../../../../../../rtems/c/src/../../cpukit/pppd/sys-rtems.c:928:14:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]

--
Ticket URL: <http://devel.rtems.org/ticket/2400>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list