public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/37541] VRP fails to optimize single-bit ranges
       [not found] <bug-37541-4@http.gcc.gnu.org/bugzilla/>
@ 2012-06-29 13:57 ` rguenth at gcc dot gnu.org
  2012-06-29 13:58 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-29 13:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37541

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-29 13:57:04 UTC ---
Author: rguenth
Date: Fri Jun 29 13:56:51 2012
New Revision: 189075

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189075
Log:
2012-06-29  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/37541
    * gcc.dg/tree-ssa/pr37508.c: Adjust and un-XFAIL.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr37508.c


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug tree-optimization/37541] VRP fails to optimize single-bit ranges
       [not found] <bug-37541-4@http.gcc.gnu.org/bugzilla/>
  2012-06-29 13:57 ` [Bug tree-optimization/37541] VRP fails to optimize single-bit ranges rguenth at gcc dot gnu.org
@ 2012-06-29 13:58 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-29 13:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37541

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-29 13:57:53 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug tree-optimization/37541] VRP fails to optimize single-bit ranges
  2008-09-16 12:37 [Bug tree-optimization/37541] New: " rguenth at gcc dot gnu dot org
@ 2010-07-28 14:43 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-28 14:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-07-28 14:43 -------
This seems fixed, just the optimizations in question are already performed
partly by FRE but one,

test2 (struct foo2 * x)
{
...
<bb 2>:
  D.2745_3 = BIT_FIELD_REF <*x_2(D), 8, 0>;
  D.2746_4 = D.2745_3 & 1;
  if (D.2746_4 == 0)
    goto <bb 5>;
  else
    goto <bb 3>;

<bb 3>:
  D.2750_6 = x_2(D)->i;


where for some reason our strange aggregate-bit-field-ref folding triggers
only for one load.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-28 14:43:02
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37541


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-29 13:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37541-4@http.gcc.gnu.org/bugzilla/>
2012-06-29 13:57 ` [Bug tree-optimization/37541] VRP fails to optimize single-bit ranges rguenth at gcc dot gnu.org
2012-06-29 13:58 ` rguenth at gcc dot gnu.org
2008-09-16 12:37 [Bug tree-optimization/37541] New: " rguenth at gcc dot gnu dot org
2010-07-28 14:43 ` [Bug tree-optimization/37541] " rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).