Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 15711) sorted by relevance

12345678910>>...629

/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/warn/
H A Dpr16302.C6 foo (int argc, char *argv[]) in foo() argument
8 …if (argc != 1 || argc != 2) return 1; /* { dg-warning "'or' of collectively exhaustive tests is al… in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr16302.c6 foo (int argc, char *argv[]) in foo() argument
9 …if (argc < 0 && argc > 10) return 1; /* { dg-warning "'and' of mutually exclusive tests is always … in foo()
10 …if (argc || !argc) return 1; /* { dg-warning "'or' of collectively exhaustive tests is always true… in foo()
11 …if (argc && !argc) return 1; /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
13 …bar (argc < 0 && argc > 10); /* { dg-warning "'and' of mutually exclusive tests is always false" }… in foo()
14 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
15 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
27 bar (argc || !argc); /* { dg-warning "'or' of collectively exhaustive tests is always true" } */ in foo()
28 bar (argc && !argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
41 bar (!argc && argc); /* { dg-warning "'and' of mutually exclusive tests is always false" } */ in foo()
[all …]

12345678910>>...629