https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116154
--- Comment #4 from Dimitar Dimitrov <dimitar at gcc dot gnu.org> --- I confirm that the PRU simulator is always passing argc=0. > I think this is just a testsuite issue with this: > if (argc == 0) > b = 1; > > This might fix it: I suggest to revert the fix in r6-3891-g8a18fcf4aa1d5c and ensure that the updated pr67947.c would still fail on x86_64. Sam, feel free to assign to me if you don't have the bandwidth.