Portugal and Spain both issued warnings over the potential fresh floods, after inundations blocked hundreds of roads, disrupted trains and forced thousands to evacuate from the rising waters.