I've been in this situation with a paper that had significant problems and was submitted to a second journal without addressing any of the comments that I made in my first review.  I explained this to the editor of the second journal and gave him a copy of the first report that I'd written.