src/share/vm/opto/node.cpp

changeset 9852
70aa912cebe5
parent 8604
04d83ba48607
parent 9824
a9ee6b70a32e
child 9931
fd44df5e3bc3
     1.1 --- a/src/share/vm/opto/node.cpp	Wed Apr 15 11:14:58 2020 +0800
     1.2 +++ b/src/share/vm/opto/node.cpp	Wed Apr 15 11:49:55 2020 +0800
     1.3 @@ -286,6 +286,10 @@
     1.4  #ifdef _MSC_VER // the IDX_INIT hack falls foul of warning C4355
     1.5  #pragma warning( disable:4355 ) // 'this' : used in base member initializer list
     1.6  #endif
     1.7 +#ifdef __clang__
     1.8 +#pragma clang diagnostic push
     1.9 +#pragma GCC diagnostic ignored "-Wuninitialized"
    1.10 +#endif
    1.11  
    1.12  // Out-of-line code from node constructors.
    1.13  // Executed only when extra debug info. is being passed around.
    1.14 @@ -493,6 +497,10 @@
    1.15    _in[6] = n6; if (n6 != NULL) n6->add_out((Node *)this);
    1.16  }
    1.17  
    1.18 +#ifdef __clang__
    1.19 +#pragma clang diagnostic pop
    1.20 +#endif
    1.21 +
    1.22  
    1.23  //------------------------------clone------------------------------------------
    1.24  // Clone a Node.

mercurial