At the first time of using the 12F509 instead of the 12F629 I discovered a problem.
@ device INTRC_OSC,MCLR_OFF
'cmcon=7 'for the 12F629 only
trisio=%001000
GPIO=%000000
GPIO=%110111
Pause 1000
GPIO=%000000
Stop

All 5 outputs of the 629 went high for 1 second.
The 509 GPIO.2 doesn't do anything, GPIO.0, 1, 4 and 5 went high for one second.
Both PIC's are tested on the same PCB.
What could be wrong or what do I do wrong?
I use PBP2.46, MPLab7.1 and PICStart Plus.