[Bug c/115644] [gcc][trunk] ICE if redeclare a variable with different type

2025-02-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115644 Andrew Pinski changed: What|Removed |Added CC||bic60176 at gmail dot com --- Comment #

[Bug c/115644] [gcc][trunk] ICE if redeclare a variable with different type

2024-11-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115644 --- Comment #4 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:24dac1eab9c3b650826bbaa84dd64310910e647c commit r15-5741-g24dac1eab9c3b650826bbaa84dd64310910e647c Author: Joseph Myers Date: Thu

[Bug c/115644] [gcc][trunk] ICE if redeclare a variable with different type

2024-06-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115644 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/115644] [gcc][trunk] ICE if redeclare a variable with different type

2024-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115644 --- Comment #2 from Andrew Pinski --- (In reply to wierton from comment #1) > This crash seems to be the same cause: https://gcc.godbolt.org/z/6br3xoaKG Related in the sense redeclaring the variable with a different type changes the the underly

[Bug c/115644] [gcc][trunk] ICE if redeclare a variable with different type

2024-06-25 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115644 --- Comment #1 from wierton <141242068 at smail dot nju.edu.cn> --- This crash seems to be the same cause: https://gcc.godbolt.org/z/6br3xoaKG The testing program: ``` void f() { int p; unsigned v; v = (~0u) >> p; int p[1] = p; } ```