Avoid incidental failures due to implicit attribute access.
gcc/testsuite/ChangeLog: PR c/50584 * gcc.dg/ipa/ipa-sra-1.c: Use a plain pointer for argv instead of array. * gcc.dg/ipa/ipa-sra-12.c: Same. * gcc.dg/ipa/ipa-sra-13.c: Same. * gcc.dg/ipa/ipa-sra-14.c: Same. * gcc.dg/ipa/ipa-sra-15.c: Same.
This commit is contained in:
parent
5c5ce60990
commit
05193687dd
5 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ ox (struct bovid cow)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct bovid cow;
|
struct bovid cow;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ bar (struct S s)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct S s;
|
struct S s;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ bar (struct S *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct S s;
|
struct S s;
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ bar (struct S s)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct S s;
|
struct S s;
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ bar (struct S *s, int rec)
|
||||||
volatile int g;
|
volatile int g;
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct S s;
|
struct S s;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue