From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id BEF9F1F4C0 for ; Sat, 12 Oct 2019 10:41:38 +0000 (UTC) Received: from localhost ([::1]:60150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJEq9-00041S-7Z for normalperson@yhbt.net; Sat, 12 Oct 2019 06:41:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38029) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJEpz-0003zk-Rk for bug-gnulib@gnu.org; Sat, 12 Oct 2019 06:41:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJEpy-0004ly-Rg for bug-gnulib@gnu.org; Sat, 12 Oct 2019 06:41:27 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::8]:17091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iJEpy-0004lB-6W for bug-gnulib@gnu.org; Sat, 12 Oct 2019 06:41:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1570876881; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=ANkj5LODb/SQqt4/bHK5acaNjdpO1un9G4GwG/CyTMY=; b=SS7xHHahdDNqaC/sV+ArJpsnt1hnaUfUt4DFJoGUdNjDT25xsvofz6tI7vnH5dOZS6 1VQv/BE4ZOuTCkncGsG4TyGAS5RdZYEOeSseMgSDtVdtREPPvXbBvveKW3VMM5mxWaBm D1Yxf1wKqhTSPiVu666Rbk+T6TCIcWCoymIXBjbKt2We8hhWNStS7a9vjUM1bJVHiTfR 2lALUuIC+g4FV4u5hFunl+tEx7ePLg5dS1aKLQAtRQ4nnlBJ6TZiMKZiBjSN/6UOwnxq JNaL4CCdut8fVZRtVSCkNFbLYSO/GLu5FTCivFXDTuKvp6LWDM/SsdsWx+NEeC8e6zdn 6+Vw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf0zJZW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 44.28.0 DYNA|AUTH) with ESMTPSA id N06099v9CAfAmNJ (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 12 Oct 2019 12:41:10 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: [PATCH 2/4] regex: simplify by assuming C99 Date: Sat, 12 Oct 2019 12:41:08 +0200 Message-ID: <2452023.DBrExdNMF6@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-165-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20191010013427.16129-2-eggert@cs.ucla.edu> References: <20191010013427.16129-1-eggert@cs.ucla.edu> <20191010013427.16129-2-eggert@cs.ucla.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::8 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Eggert Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Paul Eggert wrote: > Simplify by assuming C99 macros and const. > * lib/regexec.c (re_search_internal): Simplify by assuming C99 > initializers. I confirm that it builds fine, even with weird compilers such as HP-UX cc and MSVC 14. Bruno