My doctor has just prescribed both of these for severe SPD pain. I'm 22 weeks.
I saw my doctor friend just afterwards and she said you should never take Ibuprofen in pregnancy. Dr. Google seems to agree.
The info on co-codamol seems a bit more ambiguous.
Does anyone have any experience of taking either of these in pregnancy?