#761 closed defect (fixed)

threadhandler.c broken?

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: highest Milestone: 2
Component: score Version: unknown
Severity: critical Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

I am not sure what to think about this, but this looks like a major bug in RTEMS to me:
..
if powerpc-rtems4.7-gcc --pipe -mcpu=505 -mrelocatable-lib -mno-eabi -mstrict-align --pipe -DHAVE_CONFIG_H -I.. -I../../../lib/include -DRTEMS_INSIDE -Wall -fasm -g -O2 -mcpu=505 -mrelocatable-lib -mno-eabi -mstrict-align -MT src/threadhandler.o -MD -MP -MF "$depbase.Tpo" -c -o src/threadhandler.o ../../../../../../rtems.orig/cpukit/score/src/threadhandler.c; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
../../../../../../rtems.orig/cpukit/score/src/threadhandler.c: In function '_Thread_Handler':
../../../../../../rtems.orig/cpukit/score/src/threadhandler.c:116: warning: the address of '_init', will always evaluate as 'true'

Release:
RTEMS-CVS, GCC-4.0 (20050216)

Attachments (1)

pr761.diff (563 bytes) - added by Ralf Corsepius on 12/03/06 at 13:31:13.
pr761.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 03/08/06 at 17:55:36 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Attached patch applied to head.

Changed on 12/03/06 at 13:31:13 by Ralf Corsepius

Attachment: pr761.diff added

pr761.diff

Note: See TracTickets for help on using tickets.