Skip to content

Conversation

@vickvey
Copy link

@vickvey vickvey commented Jan 10, 2024

Spelling of NUL was corrected to NULL.

Thanks for taking the time to contribute to GCC! Please be advised that if you are
viewing this on github.com, that the mirror there is unofficial and unmonitored.
The GCC community does not use github.com for their contributions. Instead, we use
a mailing list ([email protected]) for code submissions, code reviews, and
bug reports. Please send patches there instead.

Spelling of NUL was corrected to NULL.
@jwakely
Copy link
Contributor

jwakely commented Feb 21, 2024

NUL is the ASCII character with value 0, NULL is a pointer with value 0. Strings with '\0' at the end are therefore NUL-terminated.

@vickvey vickvey closed this Feb 21, 2024
keith-packard pushed a commit to zephyrproject-rtos/gcc that referenced this pull request May 1, 2025
This helps guard code in downstream projects such as glibc
related to hard-float regfile save/restore.

Granted we can do this with existing macros:
|
| #if defined(__ARCV3__) && defined (__ARC_HARD_FLOAT__)
|

keeping it independent of ISA keeps it future safe.

Signed-off-by: Vineet Gupta <[email protected]>
nashif pushed a commit to zephyrproject-rtos/gcc that referenced this pull request May 31, 2025
This helps guard code in downstream projects such as glibc
related to hard-float regfile save/restore.

Granted we can do this with existing macros:
|
| #if defined(__ARCV3__) && defined (__ARC_HARD_FLOAT__)
|

keeping it independent of ISA keeps it future safe.

Signed-off-by: Vineet Gupta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants