https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #18 from amker at gcc dot gnu.org ---
Author: amker
Date: Tue Apr 11 08:15:51 2017
New Revision: 246833
URL: https://gcc.gnu.org/viewcvs?rev=246833&root=gcc&view=rev
Log:
Backport from mainline
2016-02-10 Bin Cheng
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #16 from amker at gcc dot gnu.org ---
Author: amker
Date: Wed Feb 10 14:09:05 2016
New Revision: 233269
URL: https://gcc.gnu.org/viewcvs?rev=233269&root=gcc&view=rev
Log:
PR tree-optimization/68021
* tree-ssa-loop-ivo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #15 from amker at gcc dot gnu.org ---
Though the previous patch can work, I am testing another patch less intrusive.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #14 from Jakub Jelinek ---
(In reply to amker from comment #13)
> Hmm, I posted a patch at
> https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00447.html
> But after digging deeper I think the posted is unnecessary and it should be
> fixe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #13 from amker at gcc dot gnu.org ---
Hmm, I posted a patch at
https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00447.html
But after digging deeper I think the posted is unnecessary and it should be
fixed in fold stuff.
The ivopt logic i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #12 from Richard Biener ---
(In reply to Jakub Jelinek from comment #11)
> void bar (void);
>
> void
> foo (int p2, int p3)
> {
> unsigned long a = p2;
> unsigned long b = (~(unsigned long) ((unsigned int) p3 + -1U)) + a;
> uns
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #11 from Jakub Jelinek ---
void bar (void);
void
foo (int p2, int p3)
{
unsigned long a = p2;
unsigned long b = (~(unsigned long) ((unsigned int) p3 + -1U)) + a;
unsigned long c = (a - (unsigned long) ((unsigned int) p3 + -1U))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #10 from amker at gcc dot gnu.org ---
This is an ivopt bug all the time. As designed, ivopt tries to identify and
reuse induction variables in the original input. Apparently we don't need to
compute such original biv with new code be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #9 from amker at gcc dot gnu.org ---
Sorry for missing this. I will study the case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Jakub Jelinek changed:
What|Removed |Added
CC||amker at gcc dot gnu.org
--- Comment #8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Markus Trippelsdorf changed:
What|Removed |Added
CC||doko at gcc dot gnu.org
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #5 from Yuri Rumyantsev ---
Hi HJ
I added my evaluation to bug. It looks like my changes are not
responsible for ICE.
2015-10-20 13:20 GMT+03:00 hjl.tools at gmail dot com
:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
>
> H
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #4 from Yuri Rumyantsev ---
Indeed, there is an issue with outer-loop unswitching - it should not be
performed for infinite loops. But if we slightly modify test if finite
outer-loop we will get the same error:
char a;
void fn1(char
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
--- Comment #3 from Yuri Rumyantsev ---
It looks like unswitching of outer loops pass simply triggers the issue and
this tree-ssa-loop-ivopts issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |6.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68021
Markus Trippelsdorf changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Known to work|
20 matches
Mail list logo