------- Comment #8 from steven at gcc dot gnu dot org 2009-04-25 22:24 ------- Re. comment #5 -- what doesn't work very well, i.e. what massive breakage does your patch cause?
Maybe you can treat static locals optimistically if they are only stored to once? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36188