This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is a backport of a patch by Manuel Lopez-Ibanez, which fixes Fortran's only 4.2 regression, PR 30437. Currently regtesting on i686-pc-linux-gnu. Ok to commit to 4.2, assuming it passes?
OK.
/* PR 30437: Test negative of -Wall Don't change this without changing Wall.c as well. */ /* { dg-do compile } */ /* { dg-options "-Wall -Wno-all" } */ void foo() { int a; 5 * (a == 1) | (a == 2); /* { dg-bogus "no effect" "no effect" } */ }
/* PR 30437: Test -Wall Don't change this without changing Wno-all.c as well. */ /* { dg-do compile } */ /* { dg-options "-Wall" } */ void foo() { int a; 5 * (a == 1) | (a == 2); /* { dg-warning "no effect" "no effect" } */ }
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |