FR 775 then FR 6394 at Barcelona
Torino → Barcelona → Dublin
Timetable, Barcelona time
20:00FR 775 from Torino at the gate
19:30FR 6394 to Dublin leaves the gate
23 h 30 apart on the timetable, overnight
FR 6394 leaves 23 h 30 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.