https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
Dominik Vogt changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
--- Comment #10 from Dominik Vogt ---
Thanks for the fix; I'll regression test it soon, just need some time.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
--- Comment #9 from Jakub Jelinek ---
Author: jakub
Date: Fri Mar 10 19:47:44 2017
New Revision: 246054
URL: https://gcc.gnu.org/viewcvs?rev=246054&root=gcc&view=rev
Log:
PR tree-optimization/79981
* tree-vrp.c (extract_range_bas
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
--- Comment #8 from Marc Glisse ---
(In reply to Richard Biener from comment #2)
> (simplify
> (convert @1)
> (if (INTEGRAL_TYPE_P (TREE_TYPE (@1))
> && INTEGRAL_TYPE_P (type)
> && (TREE_CODE (type) == BOOLEAN_TYPE
> || TY
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
--- Comment #6 from Richard Biener ---
(In reply to Jakub Jelinek from comment #4)
> (In reply to Dominik Vogt from comment #3)
> > (In reply to Richard Biener from comment #2)
> > > of course needs to be conditional on oldlhs being bool and lhs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
--- Comment #5 from Dominik Vogt ---
The knowledge that the integer can only assume the values 0 and 1 seems to be
hard coded. Is it possible to add value range information? With that, all
conditions and arithmetics could be done with the integ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
--- Comment #4 from Jakub Jelinek ---
(In reply to Dominik Vogt from comment #3)
> (In reply to Richard Biener from comment #2)
> > of course needs to be conditional on oldlhs being bool and lhs being
> > integral.
>
> Like so?
>
> --
> diff --
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
--- Comment #3 from Dominik Vogt ---
(In reply to Richard Biener from comment #2)
> of course needs to be conditional on oldlhs being bool and lhs being
> integral.
Like so?
--
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index 9fd45d1..e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79981
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1
11 matches
Mail list logo