[RTEMS Project] #2977: warnings in Dhrystone Benchmark

RTEMS trac trac at rtems.org
Tue Apr 4 20:00:54 UTC 2017


#2977: warnings in Dhrystone Benchmark
---------------------------+--------------------
 Reporter:  Joel Sherrill  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.12
Component:  General        |    Version:  4.12
 Severity:  normal         |   Keywords:
---------------------------+--------------------
 The following warnings show up across the various BSPs for the dhrystone
 benchmark:

  grep "dhrystone.*warning" log/*
 log/epiphany-
 epiphany_sim.log:../../../../../../../rtems/c/src/../../testsuites/benchmarks/dhrystone/dhry_1.c:286:1:
 warning: control reaches end of non-void function [-Wreturn-type]
 log/powerpc-
 haleakala.log:../../../../../../../rtems/c/src/../../testsuites/benchmarks/dhrystone/dhry_1.c:244:3:
 warning: 'Int_2_Loc' may be used uninitialized in this function [-Wmaybe-
 uninitialized]
 log/powerpc-
 t32mppc.log:../../../../../../../rtems/c/src/../../testsuites/benchmarks/dhrystone/dhry_1.c:244:3:
 warning: 'Int_2_Loc' may be used uninitialized in this function [-Wmaybe-
 uninitialized]
 log/sparc64-niagara.log:../../../../../../../rtems/c/src/../../testsuites/benchmarks/dhrystone/dhry_1.c:220:40:
 warning: cast from pointer to integer of different size [-Wpointer-to-int-
 cast]
 log/sparc64-niagara.log:../../../../../../../rtems/c/src/../../testsuites/benchmarks/dhrystone/dhry_1.c:231:40:
 warning: cast from pointer to integer of different size [-Wpointer-to-int-
 cast]
 log/sparc64-usiii.log:../../../../../../../rtems/c/src/../../testsuites/benchmarks/dhrystone/dhry_1.c:220:40:
 warning: cast from pointer to integer of different size [-Wpointer-to-int-
 cast]
 log/sparc64-usiii.log:../../../../../../../rtems/c/src/../../testsuites/benchmarks/dhrystone/dhry_1.c:231:40:
 warning: cast from pointer to integer of different size [-Wpointer-to-int-
 cast]

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


More information about the bugs mailing list