Landing: 9022362282b9

Project / Subsystem

gcc / objective-c

Date

2026-07-14

Author

Iain Sandoe

Commit

9022362282b915165296ae3abc77eb12e5d964a0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
objective-c
patch_id
commit_hash
9022362282b915165296ae3abc77eb12e5d964a0
source_type
github
headline
Fix parameter types for Objective-C main function in tests
tldr
Aligns Objective-C test cases with Clang by changing `void **` to `char **` for the main function's argument.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • objective-c
  • testsuite
  • compatibility
discussion_id_link
bugzilla_pr
date
2026-07-14T00:00:00.000Z

This commit updates several Objective-C test cases to declare the main function with char ** instead of void ** for its second argument. This change aligns GCC’s test suite with the standard practice and Clang’s behavior, improving compatibility and enabling direct comparison between GCC and Clang outputs for Objective-C code.