# New Ticket Created by  Jerry Gay 
# Please include the string:  [perl #41328]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41328 >


when compiling src/pmc/pmethod.c, cl has a few warnings:

src\pmc\pmethod_test.c
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1096) : warn
ing C4102: 'test_method0_returns' : unreferenced label
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1063) : warn
ing C4101: 'pc' : unreferenced local variable
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1096) : warn
ing C4102: 'test_method1_returns' : unreferenced label
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1063) : warn
ing C4101: 'pc' : unreferenced local variable
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1063) : warn
ing C4101: 'pc' : unreferenced local variable
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1096) : warn
ing C4102: 'test_method3_returns' : unreferenced label
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1063) : warn
ing C4101: 'pc' : unreferenced local variable
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1096) : warn
ing C4102: 'test_method4_returns' : unreferenced label
D:/usr\local\parrot\bug\tools\build\../../lib\Parrot\Pmc2c\Utils.pm(1063) : warn
ing C4101: 'pc' : unreferenced local variable

it seems the pmc2c code for PMETHODs is generating some unnecessary code.
~jerry

Reply via email to