[Bug middle-end/107334] Incorrect "infinite recursion detected" warning if base case aborts

2023-05-01 Thread madhur4127 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107334

--- Comment #3 from Madhur Chauhan  ---
I feel changing the warning text will still cause troubles for people using
-Werror. This forces to use ignore pragmas or disable this warning completely,
none of them are ideal.

Maybe disable warning in this case?

[Bug middle-end/107334] Incorrect "infinite recursion detected" warning if base case aborts

2023-05-01 Thread madhur4127 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107334

Madhur Chauhan  changed:

   What|Removed |Added

 CC||madhur4127 at gmail dot com

--- Comment #2 from Madhur Chauhan  ---
*** Bug 109686 has been marked as a duplicate of this bug. ***

[Bug middle-end/107334] Incorrect "infinite recursion detected" warning if base case aborts

2022-10-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107334

--- Comment #1 from Andrew Pinski  ---
I think the warning message should be clearer really.
Maybe "possible infinite recursion detected" would be better.

[Bug middle-end/107334] Incorrect "infinite recursion detected" warning if base case aborts

2022-10-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107334

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1
  Component|c   |middle-end
   Last reconfirmed||2022-10-20
   Keywords||diagnostic