| File: | src/gnu/usr.bin/binutils-2.17/obj/gas/conftest.c |
| Warning: | line 71, column 1 Null pointer passed as 1st argument to string comparison function |
Press '?' to see keyboard shortcuts
Keyboard shortcuts:
| 1 | /* confdefs.h. */ | |||
| 2 | ||||
| 3 | #define PACKAGE_NAME"" "" | |||
| 4 | #define PACKAGE_TARNAME"" "" | |||
| 5 | #define PACKAGE_VERSION"" "" | |||
| 6 | #define PACKAGE_STRING"" "" | |||
| 7 | #define PACKAGE_BUGREPORT"" "" | |||
| 8 | #define PACKAGE"gas" "gas" | |||
| 9 | #define VERSION"2.17" "2.17" | |||
| 10 | #define DEFAULT_ARCH"x86_64" "x86_64" | |||
| 11 | #define EMULATIONS&i386elf, &i386elf, | |||
| 12 | #define DEFAULT_EMULATION"i386elf" "i386elf" | |||
| 13 | #define TARGET_ALIAS"amd64-unknown-openbsd7.0" "amd64-unknown-openbsd7.0" | |||
| 14 | #define TARGET_CANONICAL"x86_64-unknown-openbsd7.0" "x86_64-unknown-openbsd7.0" | |||
| 15 | #define TARGET_CPU"x86_64" "x86_64" | |||
| 16 | #define TARGET_VENDOR"unknown" "unknown" | |||
| 17 | #define TARGET_OS"openbsd7.0" "openbsd7.0" | |||
| 18 | #define YYTEXT_POINTER1 1 | |||
| 19 | #define STDC_HEADERS1 1 | |||
| 20 | #define HAVE_SYS_TYPES_H1 1 | |||
| 21 | #define HAVE_SYS_STAT_H1 1 | |||
| 22 | #define HAVE_STDLIB_H1 1 | |||
| 23 | #define HAVE_STRING_H1 1 | |||
| 24 | #define HAVE_MEMORY_H1 1 | |||
| 25 | #define HAVE_STRINGS_H1 1 | |||
| 26 | #define HAVE_INTTYPES_H1 1 | |||
| 27 | #define HAVE_STDINT_H1 1 | |||
| 28 | #define HAVE_UNISTD_H1 1 | |||
| 29 | #define HAVE_ALLOCA1 1 | |||
| 30 | #define HAVE_STDLIB_H1 1 | |||
| 31 | #define HAVE_UNISTD_H1 1 | |||
| 32 | #define HAVE_GETPAGESIZE1 1 | |||
| 33 | #define HAVE_MMAP1 1 | |||
| 34 | #define HAVE_LIMITS_H1 1 | |||
| 35 | #define HAVE_LOCALE_H1 1 | |||
| 36 | #define HAVE_NL_TYPES_H1 1 | |||
| 37 | #define HAVE_STRING_H1 1 | |||
| 38 | #define HAVE_UNISTD_H1 1 | |||
| 39 | #define HAVE_SYS_PARAM_H1 1 | |||
| 40 | #define HAVE_GETCWD1 1 | |||
| 41 | #define HAVE_MUNMAP1 1 | |||
| 42 | #define HAVE_PUTENV1 1 | |||
| 43 | #define HAVE_SETENV1 1 | |||
| 44 | #define HAVE_SETLOCALE1 1 | |||
| 45 | #define HAVE_STRCHR1 1 | |||
| 46 | #define HAVE_STRCASECMP1 1 | |||
| 47 | #define HAVE_STPCPY1 1 | |||
| 48 | #define HAVE_STPCPY1 1 | |||
| 49 | #define HAVE_LC_MESSAGES1 1 | |||
| 50 | #define HAVE_STRING_H1 1 | |||
| 51 | #define HAVE_STDLIB_H1 1 | |||
| 52 | #define HAVE_MEMORY_H1 1 | |||
| 53 | #define HAVE_STRINGS_H1 1 | |||
| 54 | #define HAVE_UNISTD_H1 1 | |||
| 55 | #define HAVE_STDARG_H1 1 | |||
| 56 | #define HAVE_ERRNO_H1 1 | |||
| 57 | #define HAVE_SYS_TYPES_H1 1 | |||
| 58 | #define HAVE_ALLOCA1 1 | |||
| 59 | #define HAVE_UNLINK1 1 | |||
| 60 | #define HAVE_SBRK1 1 | |||
| 61 | /* end confdefs.h. */ | |||
| 62 | #include <assert.h> | |||
| 63 | #include <stdio.h> | |||
| 64 | int | |||
| 65 | main () | |||
| 66 | { | |||
| 67 | ||||
| 68 | /* check for requoting problems */ | |||
| 69 | static int a, b, c, d; | |||
| 70 | static char *s; | |||
| ||||
| 71 | assert (!strcmp(s, "foo bar baz quux"))((!strcmp(s, "foo bar baz quux")) ? (void)0 : __assert2("conftest.c" , 71, __func__, "!strcmp(s, \"foo bar baz quux\")")); | |||
| ||||
| 72 | /* check for newline handling */ | |||
| 73 | assert (a == b((a == b || c == d) ? (void)0 : __assert2("conftest.c", 74, __func__ , "a == b || c == d")) | |||
| 74 | || c == d)((a == b || c == d) ? (void)0 : __assert2("conftest.c", 74, __func__ , "a == b || c == d")); | |||
| 75 | ||||
| 76 | ; | |||
| 77 | return 0; | |||
| 78 | } |