------- Comment #2 from burnus at gcc dot gnu dot org  2010-02-28 14:05 -------
CONFIRMED. For zero initialization, the created dump should look like:
  static integer(kind=4) variable(100000) = {};
rather than
  static integer(kind=4) variable(100000) = {0,0,0,0,0,0,........,0,0};

I think as workaround one can simply leave out the -finit-local-zero as static
variables are always zero initialized. And with -fno-automatic one should only
have static variables.

 * * *

For the example in comment 1: This is not a real regression as before the data
was not properly handled. I filled now PR 43210, which is one way out. (Thanks
Dominique for the suggestion.)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-28 14:05:21
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43205

Reply via email to