From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16028 invoked by alias); 31 Aug 2005 19:53:12 -0000 Mailing-List: contact glibc-bugs-regex-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sources.redhat.com Received: (qmail 15950 invoked by uid 48); 31 Aug 2005 19:52:53 -0000 Date: Wed, 31 Aug 2005 19:53:00 -0000 From: "eggert at gnu dot org" To: glibc-bugs-regex@sources.redhat.com Message-ID: <20050831195247.1279.eggert@gnu.org> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug regex/1279] New: regex simplification: "if (A == B) A += C - B;" -> "if (A == B) A = C;" X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg00075.txt.bz2 List-Id: While porting the regex code to 64-bit hosts I noticed an infelicity. The code uses the equivalent of "if (A == B) A += C - B;"; it would be simpler and faster to use "if (A == B) A = C;". This also happens to make the later changes simpler, but I thought I'd separate it out since it makes sense regardless of the 64-bit changes. I'll attach a patch. -- Summary: regex simplification: "if (A == B) A += C - B;" -> "if (A == B) A = C;" Product: glibc Version: 2.3.5 Status: NEW Severity: normal Priority: P2 Component: regex AssignedTo: gotom at debian dot or dot jp ReportedBy: eggert at gnu dot org CC: glibc-bugs-regex at sources dot redhat dot com,glibc- bugs at sources dot redhat dot com http://sources.redhat.com/bugzilla/show_bug.cgi?id=1279 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.