optimization/8794: [3.2/3.3 regression] optimization improperly eliminates certain expressions

Eric Botcazou ebotcazou@libertysurf.fr
Thu Dec 5 10:56:00 GMT 2002


The following reply was made to PR optimization/8794; it has been noted by GNATS.

From: Eric Botcazou <ebotcazou@libertysurf.fr>
To: reichelt@igpm.rwth-aachen.de
Cc: gcc-bugs@gcc.gnu.org,
 gcc-prs@gcc.gnu.org,
 nobody@gcc.gnu.org,
 pageexec@freemail.hu,
 gcc-gnats@gcc.gnu.org
Subject: Re: optimization/8794: [3.2/3.3 regression] optimization improperly eliminates certain expressions
Date: Thu, 5 Dec 2002 19:49:40 +0100

 > Old Synopsis: optimization improperly eliminates certain expressions
 > New Synopsis: [3.2/3.3 regression] optimization improperly eliminates
 > certain expressions
 >
 > State-Changed-From-To: open->analyzed
 > State-Changed-By: reichelt
 > State-Changed-When: Tue Dec  3 08:10:01 2002
 > State-Changed-Why:
 >     Confirmed.
 >
 >     OK with gcc 2.95.x, but fails with gcc 3.0.x, 3.2-branch,
 >     and mainline. (Checked also on mips-sgi-irix6.5.)
 
 Are you sure for mainline ? I can't reproduce it with:
 gcc version 3.3 20021205 (experimental)
 
 The fix seems to be:
 
 2002-11-20  Jakub Jelinek  <jakub@redhat.com>
 
 =09* combine.c (force_to_mode): Only replace with (not Y) if all bits in
 =09fuller_mask (not just mask) are set in C.
 
 http://gcc.gnu.org/ml/gcc-patches/2002-11/msg01045.html
 
 --=20
 Eric Botcazou



More information about the Gcc-prs mailing list