[Bug analyzer/116865] ICE when compiling GNU coreutils numfmt with -fanalyzer

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116865 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/116865] ICE when compiling GNU coreutils numfmt with -fanalyzer

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116865 --- Comment #2 from Andrew Pinski --- ./cc1 -fanalyzer t.i -quiet -O2 during IPA pass: analyzer src/numfmt.c: In function ‘unit_to_umax’: src/numfmt.c:843:53: internal compiler error: in build2, at tree.cc:5099 0x25cc02e internal_error(char cons

[Bug analyzer/116865] ICE when compiling GNU coreutils numfmt with -fanalyzer

2024-09-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116865 --- Comment #1 from Andrew Pinski --- if ((code == MINUS_EXPR || code == PLUS_EXPR || code == MULT_EXPR) && arg0 && arg1 && tt && POINTER_TYPE_P (tt) /* When sizetype precision doesn't match that of pointers we need to be