Fix gcc.dg/pr92301.c on targets that don't support argc/argv.
2020-03-25 Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * gcc.dg/pr92301.c (main): Allow argc to be 0 to support embedded targets.
This commit is contained in:
parent
83dfa06cb5
commit
0fca105f8c
@ -1,3 +1,8 @@
|
||||
2020-03-25 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* gcc.dg/pr92301.c (main): Allow argc to be 0 to support
|
||||
embedded targets.
|
||||
|
||||
2020-03-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR debug/94296
|
||||
|
@ -23,7 +23,7 @@ int main(int argc, char **argv)
|
||||
for (unsigned i = 0; i < N; i++)
|
||||
a[i] = i;
|
||||
|
||||
if (argc == 1)
|
||||
if (argc < 2)
|
||||
m = 17;
|
||||
|
||||
unsigned int r = df_count_refs(1);
|
||||
|
Loading…
Reference in New Issue
Block a user