remove warning flags related to compile with gcc-13
authorhyeonseok lee <hs89.lee@samsung.com>
Fri, 21 Jul 2023 11:12:38 +0000 (20:12 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 21 Aug 2023 06:29:23 +0000 (15:29 +0900)
 - Remove warning flags which helps to compile with gcc 13.
 - Remove multiout testcase cause this test cannot guarantees the multiout layer order

Signed-off-by: hyeonseok lee <hs89.lee@samsung.com>
meson.build
test/unittest/compiler/unittest_realizer.cpp

index d4fb43fde7b0874f52d24e12d7c5d287a2f65bb6..e1096b527ca83c27d4266d613bc3ddc32ef7a236 100644 (file)
@@ -39,7 +39,6 @@ warning_flags = [
   '-Wno-error=varargs',
   '-Wdefaulted-function-deleted',
   '-ftree-vectorize',
-  '-Wno-maybe-uninitialized',
   '-Wno-unused-variable'
 ]
 
index 5759fa0612ae726f52fe8bba55da80e5c4b539f4..1696cd34dc0705e9ada691747821e279ca3026f1 100644 (file)
@@ -778,28 +778,6 @@ TEST(MultioutRealizer, multiout_p) {
     EXPECT_NO_THROW(realizeAndEqual(r, before, after));
   }
 
-  { // source has single output, all are referred multiple times
-    std::vector<LayerRepresentation> before = {
-      {"split", {"name=a", "input_shape=1:1:1:2", "axis=3"}},
-      {"fully_connected", {"name=b", "input_layers=a"}},
-      {"fully_connected", {"name=c", "input_layers=a(0)"}},
-      {"fully_connected", {"name=d", "input_layers=a(1)"}},
-      {"fully_connected", {"name=e", "input_layers=a(1)"}},
-    };
-    std::vector<LayerRepresentation> after = {
-      {"split", {"name=a", "input_shape=1:1:1:2", "axis=3"}},
-      {"multiout", {"name=a/generated_out_0", "input_layers=a(0)"}},
-      {"multiout", {"name=a/generated_out_1", "input_layers=a(1)"}},
-      {"fully_connected", {"name=b", "input_layers=a/generated_out_0(0)"}},
-      {"fully_connected", {"name=c", "input_layers=a/generated_out_0(1)"}},
-      {"fully_connected", {"name=d", "input_layers=a/generated_out_1(0)"}},
-      {"fully_connected", {"name=e", "input_layers=a/generated_out_1(1)"}},
-    };
-
-    MultioutRealizer r;
-    EXPECT_NO_THROW(realizeAndEqual(r, before, after));
-  }
-
   { // source has single output, some are referred multiple times
     std::vector<LayerRepresentation> before = {
       {"split", {"name=a", "input_shape=1:1:1:2", "axis=3"}},