Bill Shorten and Cory Bernardi have clashed during a press conference at Parliament House, with the Opposition Leader calling the conservative Liberal senator a "homophobe".

Mr Shorten was using a press conference to attack the Turnbull government's decision to review the Safe Schools program, which is designed to reduce bullying of LGBTI students.

But things got heated when Senator Bernardi - the program's leading critic - walked past.