Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#507 closed defect (fixed)

cpukit/libnetworking/net/radix.c - punned pointer

Reported by: Ralf Corsepius Owned by: Eric Norum
Priority: normal Milestone: 2
Component: network/legacy Version: 4.6
Severity: major Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description

sparc-rtems4.7-gcc --pipe -DHAVE_CONFIG_H -isystem ../../../../erc32/lib/include -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC -DBOOTP_COMPAT -mcpu=cypress -O4 -g -Wall -ansi -fasm -o o-optimize/radix.o -c ../../../../../../../rtems.master/c/src/../../cpukit/libnetworking/net/radix.c
../../../../../../../rtems.master/cpukit/libnetworking/net/radix.c: In function `rn_init':
../../../../../../../rtems.master/cpukit/libnetworking/net/radix.c:1029: warning: dereferencing type-punned pointer will break strict-aliasing rules

Release:
RTEMS-4.6

Environment:
gcc >= 3.3

Change History (1)

comment:1 Changed on 04/22/04 at 07:49:42 by Ralf Corsepius

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Can't reproduce with gcc-3.4.0. Don't know what has fixed it.

Note: See TracTickets for help on using tickets.