From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84745 invoked by alias); 6 Jun 2017 15:30:34 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 84519 invoked by uid 89); 6 Jun 2017 15:30:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*MI:8585, Hx-languages-length:901, HContent-Transfer-Encoding:8bit X-HELO: mx0a-001b2d01.pphosted.com Subject: Re: [PATCH] Dynamic growable arrays for internal use To: libc-alpha@sourceware.org References: From: Stefan Liebler Date: Tue, 06 Jun 2017 15:30:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 17060615-0012-0000-0000-00000545FB7B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17060615-0013-0000-0000-000018B4D4D8 Message-Id: <37f01ed4-1443-8585-42cb-1b7759416ee7@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-06_12:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706060264 X-SW-Source: 2017-06/txt/msg00212.txt.bz2 Hi Florian, I get the following warning / werror with gcc 4.8.5 on s390x: gcc tst-dynarray.c -O3 -c ... -o /malloc/tst-dynarray.o In file included from tst-dynarray.c:50:0: tst-dynarray.c: In function ‘do_test’: ../support/check.h:51:8: error: ‘result.length’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (expr) \ ^ tst-dynarray.c:377:23: note: ‘result.length’ was declared here struct long_array result; ^ In file included from tst-dynarray.c:50:0: ../support/check.h:51:8: error: ‘result.array’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (expr) \ ^ tst-dynarray.c:377:23: note: ‘result.array’ was declared here struct long_array result; ^ cc1: all warnings being treated as errors Have you seen those warnings on other architectures, too? Bye. Stefan