diff --git a/test/core/core_type_aligned.cpp b/test/core/core_type_aligned.cpp index 9b538ba6..96a87741 100644 --- a/test/core/core_type_aligned.cpp +++ b/test/core/core_type_aligned.cpp @@ -25,15 +25,6 @@ int test_aligned() size_t align4_aligned = alignof(glm::detail::storage<4, int, true>::type); Error += align4_aligned == 16 ? 0 : 1; -# elif GLM_COMPILER & GLM_COMPILER_GCC - - size_t align1_aligned = __alignof__(glm::detail::storage<1, int, true>::type); - Error += align1_aligned == 4 ? 0 : 1; - size_t align2_aligned = __alignof__(glm::detail::storage<2, int, true>::type); - Error += align2_aligned == 8 ? 0 : 1; - size_t align8_aligned = __alignof__(glm::detail::storage<4, int, true>::type); - Error += align8_aligned == 16 ? 0 : 1; - # endif //GLM_HAS_ALIGNOF return Error; @@ -54,17 +45,6 @@ int test_unaligned() size_t align4_unaligned = alignof(glm::detail::storage<4, int, false>::type); Error += align4_unaligned == sizeof(int) ? 0 : 1; -# elif GLM_COMPILER & GLM_COMPILER_GCC - - size_t align1_unaligned = __alignof__(glm::detail::storage<1, int, false>::type); - Error += align1_unaligned == sizeof(int) ? 0 : 1; - size_t align2_unaligned = __alignof__(glm::detail::storage<2, int, false>::type); - Error += align2_unaligned == sizeof(int) ? 0 : 1; - size_t align4_unaligned = __alignof__(glm::detail::storage<3, int, false>::type); - Error += align4_unaligned == sizeof(int) ? 0 : 1; - size_t align8_unaligned = __alignof__(glm::detail::storage<4, int, false>::type); - Error += align8_unaligned == sizeof(int) ? 0 : 1; - # endif //GLM_HAS_ALIGNOF return Error;