Lines Matching defs:pointer

628       /* A null pointer instead of a type
876 /* Compute the size to increment a pointer by. */
893 error ("arithmetic on pointer to an incomplete type");
1020 /* Do not use STRIP_NOPS here! It will remove conversions from pointer
1331 /* Given an expression PTR for a pointer, return an expression
1340 register tree pointer = default_conversion (ptr);
1341 register tree type = TREE_TYPE (pointer);
1345 if (TREE_CODE (pointer) == ADDR_EXPR
1347 && (TREE_TYPE (TREE_OPERAND (pointer, 0))
1349 return TREE_OPERAND (pointer, 0);
1354 TYPE_MAIN_VARIANT (t), pointer);
1358 error ("dereferencing pointer to incomplete type");
1362 warning ("dereferencing `void *' pointer");
1364 /* We *must* set TREE_READONLY when dereferencing a pointer to const,
1369 /* A de-reference of a pointer to const is not a const. It is valid
1370 to change it via some other pointer. */
1373 = TYPE_VOLATILE (t) || TREE_SIDE_EFFECTS (pointer) || flag_volatile;
1378 else if (TREE_CODE (pointer) != ERROR_MARK)
1517 error ("subscripted value is neither array nor pointer");
1535 FUNCTION's data type may be a function type or a pointer-to-function. */
1548 /* Convert anything with function type to a pointer-to-function. */
1672 to convert automatically to a pointer. */
2025 /* Handle the pointer + int case. */
2040 /* Handle pointer minus int. Just like pointer plus int. */
2239 pedwarn ("ANSI C forbids comparison of `void *' with function pointer");
2245 pedwarn ("ANSI C forbids comparison of `void *' with function pointer");
2248 pedwarn ("comparison of distinct pointer types lacks a cast");
2263 pedwarn ("comparison between pointer and integer");
2269 pedwarn ("comparison between pointer and integer");
2290 pedwarn ("comparison of distinct pointer types lacks a cast");
2318 pedwarn ("comparison of distinct pointer types lacks a cast");
2326 pedwarn ("ordered comparison of pointer with integer zero");
2333 pedwarn ("ordered comparison of pointer with integer zero");
2339 pedwarn ("comparison between pointer and integer");
2345 pedwarn ("comparison between pointer and integer");
2641 of pointer PTROP and integer INTOP. */
2653 /* The result is a pointer of the same type that is being added. */
2660 pedwarn ("pointer of type `void *' used in arithmetic");
2666 pedwarn ("pointer to a function used in arithmetic");
2681 /* If the constant comes from pointer subtraction,
2684 /* If the constant is unsigned, and smaller than the pointer size,
2696 because weird cases involving pointer arithmetic
2713 pointer type (actually unsigned integral). */
2744 pedwarn ("pointer of type `void *' used in subtraction");
2746 pedwarn ("pointer to a function used in subtraction");
2756 /* This generates an error if op1 is pointer to incomplete type. */
2758 error ("arithmetic on pointer to an incomplete type");
2760 /* This generates an error if op0 is pointer to incomplete type. */
2866 /* These will convert to a pointer. */
2940 /* If pointer target is an undefined struct,
2944 ? "increment of pointer to unknown structure"
2945 : "decrement of pointer to unknown structure");
3091 restricted pointer by taking the address of something, so we
3493 pedwarn ("ANSI C forbids conditional expr between `void *' and function pointer");
3499 pedwarn ("ANSI C forbids conditional expr between `void *' and function pointer");
3504 pedwarn ("pointer type mismatch in conditional expression");
3511 pedwarn ("pointer/integer type mismatch in conditional expression");
3517 pedwarn ("ANSI C forbids conditional expr between 0 and function pointer");
3525 pedwarn ("pointer/integer type mismatch in conditional expression");
3531 pedwarn ("ANSI C forbids conditional expr between 0 and function pointer");
3630 /* Don't let (0, 0) be null pointer constant. */
3783 pedwarn ("cast discards qualifiers from pointer target type");
3804 warning ("cast from pointer to integer of different size");
3815 /* Don't warn about converting 0 to pointer,
3821 warning ("cast to pointer from integer of different size");
3834 /* Pedantically, don't ley (void *) (FOO *) 0 be a null pointer constant. */
3872 whose value is 0 to count as a null pointer constant. */
4044 whose value is 0 to count as a null pointer constant. */
4129 /* Can convert integer zero to any pointer type. */
4159 warn_for_assignment ("%s makes qualified function pointer from unqualified",
4163 warn_for_assignment ("%s discards qualifiers from pointer target type",
4199 warn_for_assignment ("ANSI forbids %s between function pointer and `void *'",
4207 warn_for_assignment ("%s discards qualifiers from pointer target type",
4217 warn_for_assignment ("pointer targets in %s differ in signedness",
4228 warn_for_assignment ("%s makes qualified function pointer from unqualified",
4233 warn_for_assignment ("%s from incompatible pointer type",
4239 /* An explicit constant 0 can convert to a pointer,
4249 warn_for_assignment ("%s makes pointer from integer without a cast",
4257 warn_for_assignment ("%s makes integer from pointer without a cast",
4321 const char *argnofun = _("passing arg %d of pointer to function");
4373 /* Allow conversions between pointer types. */
4402 /* Allow (int) &foo provided int is as wide as a pointer. */
4766 whose value is 0 to count as a null pointer constant. */
4887 case where inside_init is a null pointer constant. */
6822 or a null pointer for `return;' with no value. */
6871 /* If the second operand of the MINUS_EXPR has a pointer