If you planned the dive properly, dove the plan and brought along an adequate deco gas supply and reserve (1.2 works, 1.5 is better), it won't be an issue. Losing access to the deco gas entirely is another matter entirely and you should have a separarate contigency plan already developed but again, an spg would make no difference in that situation either.
So while it is not a "what to do to ensure this never happens" conversation the two are pretty closely linked - if you plan and execute the dive properly, you really don't need an SPG on the deco bottle during the dive, and if you don't plan and execute your dives properly, an SPG on the deco tank is going to do very little to extend your diving career anyway.
Again, I used to be a believer in a large SPG, but I just don't see the benfit of having one along anymore. A button gauge SPG makes a nice compromise. It almost unnoticeable when it's along on the dive and if you absolutely need to reassure yourself during the dive that there is still adequate gas in the deco bottle, it is accurate enough to suffice for that purpose.