[Bug c/44677] Warn for variables incremented but not used

2022-09-19 Thread stormbyte at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677

David Manuelda  changed:

   What|Removed |Added

 CC||stormbyte at gmail dot com

--- Comment #14 from David Manuelda  ---
It is worth to notice that this bug propagates to C++ whenever an object uses
an int that increments but is never used, like the following example:

class Test{
public:
Test() { i = 0; i++; }
private:
int i;
};

int main(int, char**) {
Test unused;

return 0;
}

[Bug target/111768] X86: -march=native does not support alder lake big.little cache infor correctly

2023-10-12 Thread stormbyte at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111768

--- Comment #13 from David C. Manuelda  ---
I'd suggest for now to pick a common value in order to prevent the compilation
failure (in stage comparison) while a proper fix/workaround is picked.