mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
test-pexecute.c (TEST_PEX_RUN): Move variable declaration before statement.
* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable declaration before statement. From-SVN: r97576
This commit is contained in:
parent
71294e1e31
commit
2f84c996da
@ -1,3 +1,8 @@
|
|||||||
|
2005-04-04 Ian Lance Taylor <ian@airs.com>
|
||||||
|
|
||||||
|
* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
|
||||||
|
declaration before statement.
|
||||||
|
|
||||||
2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
* bcmp.c: Fix warnings and implement using memcmp.
|
* bcmp.c: Fix warnings and implement using memcmp.
|
||||||
|
@ -208,11 +208,12 @@ main (int argc, char **argv)
|
|||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
int err; \
|
int err; \
|
||||||
|
const char *pex_run_err; \
|
||||||
if (trace) \
|
if (trace) \
|
||||||
fprintf (stderr, "Line %d: running %s %s\n", \
|
fprintf (stderr, "Line %d: running %s %s\n", \
|
||||||
__LINE__, EXECUTABLE, ARGV[0]); \
|
__LINE__, EXECUTABLE, ARGV[0]); \
|
||||||
const char *pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, \
|
pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, ARGV, OUTNAME, \
|
||||||
ARGV, OUTNAME, ERRNAME, &err); \
|
ERRNAME, &err); \
|
||||||
if (pex_run_err != NULL) \
|
if (pex_run_err != NULL) \
|
||||||
FATAL_ERROR (pex_run_err, err); \
|
FATAL_ERROR (pex_run_err, err); \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user