[Bug tree-optimization/98094] ICE in decompose, at wide-int.h:984

2020-12-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98094

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #7 from Martin Liška  ---
The master branch has been updated by Martin Liska :

https://gcc.gnu.org/g:d01ebe56c2f54bf4ac91ce389ecef734f557ea3e

commit r11-5651-gd01ebe56c2f54bf4ac91ce389ecef734f557ea3e
Author: Martin Liska 
Date:   Wed Dec 2 13:08:56 2020 +0100

Add new test-case.

gcc/testsuite/ChangeLog:

PR tree-optimization/98084
* gcc.dg/tree-ssa/pr98094.c: New test.

[Bug tree-optimization/98094] ICE in decompose, at wide-int.h:984

2020-12-02 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98094

Stefan Schulze Frielinghaus  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #6 from Stefan Schulze Frielinghaus  
---
Ah yes commit c961e94901eb793b1a18d431a1acf7f682eaf04f seems to have fixed
this. Closing since fixed. Thanks for your help!

[Bug tree-optimization/98094] ICE in decompose, at wide-int.h:984

2020-12-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98094

--- Comment #5 from Richard Biener  ---
Ah, so maybe g:c961e94901eb793b1a18d431a1acf7f682eaf04f which has

* gimple-if-to-switch.cc (find_conditions): Require
equal precision for low and high of a range.

[Bug tree-optimization/98094] ICE in decompose, at wide-int.h:984

2020-12-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98094

Richard Biener  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|WAITING |UNCONFIRMED

--- Comment #4 from Richard Biener  ---
(In reply to Stefan Schulze Frielinghaus from comment #3)
> I still run into the same error with e4c02ce4ab6fce1148f4025360096f18764deadf

Hmm, it doesn't reproduce for me with a cc1 cross and your reduced testcase.

[Bug tree-optimization/98094] ICE in decompose, at wide-int.h:984

2020-12-02 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98094

--- Comment #3 from Stefan Schulze Frielinghaus  
---
I still run into the same error with e4c02ce4ab6fce1148f4025360096f18764deadf

[Bug tree-optimization/98094] ICE in decompose, at wide-int.h:984

2020-12-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98094

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
 Ever confirmed|0   |1
   Last reconfirmed||2020-12-02

--- Comment #2 from Richard Biener  ---
I think there's a dup and/or Martin already fixed this with
g:e4c02ce4ab6fce1148f4025360096f18764deadf - can you confirm?

[Bug tree-optimization/98094] ICE in decompose, at wide-int.h:984

2020-12-02 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98094

--- Comment #1 from Stefan Schulze Frielinghaus  
---
Reduced program:

struct {
  unsigned a : 10   
} b;
c;  
d() {   
  c = b.a;  
  if (c == 8 || c == 0) 
;   
  else if (c > 8 * 8)   
;   
  else if (c < 8 * 8)   
e();
}