On Tue, Feb 22, 2022 at 09:08:40PM +0530, Krishna Narayanan via Gcc-help wrote: > Yes, it does. > I used dg-warning and not dg warning (that was a sheer typing mistake). > The warning is about the uninitialized variable being used in the > testcase yet there is no warning on that line and the test results in > FAIL. > I used /* { dg-warning "uninitialized" } */ on that particular line.I > used the test in gcc.dg, with other directive /* { dg-options "-O2" } > */ . > Can you help me where I went wrong? Please send the verbatim testcase (and don't top-post please). Guessing is a fun game sometimes, but more often it is just frustrating. Segher