[Bug c++/81042] Too many constexpr interations on unreachable loop.

2017-06-09 Thread kevincox at kevincox dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81042 --- Comment #1 from Kevin Cox --- Also it appears the loop condition isn't properly evaluated. For example the following three examples (and any other number I tested also cause the error. while (++i == 0) {} // Unreachable while (++i == 1) {}

[Bug debug/81042] New: Too many constexpr interations on unreachable loop.

2017-06-09 Thread kevincox at kevincox dot ca
Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: kevincox at kevincox dot ca Target Milestone: --- Created attachment 41526 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41526=edit Example code. The following code causes an error for too many iterati