Bug 29380 - FAIL: gcc.dg/pr29330.c (test for excess errors)
Summary: FAIL: gcc.dg/pr29330.c (test for excess errors)
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 16:00 UTC by John David Anglin
Modified: 2006-10-07 17:02 UTC (History)
3 users (show)

See Also:
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2006-10-07 16:00:22 UTC
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te
st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c   -O -ftree-loop-linear -fno-show-
column -S  -o pr29330.s    (timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c: In function 'f':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:10: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:11: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:12: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:13: error: 'for' loop initial d
eclaration used outside C99 mode
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c: In function 'f':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:10: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:11: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:12: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:13: error: 'for' loop initial d
eclaration used outside C99 mode

FAIL: gcc.dg/pr29330.c (test for excess errors)
Excess errors:
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:10: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:11: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:12: error: 'for' loop initial d
eclaration used outside C99 mode
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29330.c:13: error: 'for' loop initial d
eclaration used outside C99 mode
Comment 1 Jakub Jelinek 2006-10-07 16:50:32 UTC
Subject: Bug 29380

Author: jakub
Date: Sat Oct  7 16:50:23 2006
New Revision: 117539

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117539
Log:
	PR c/29380
	* gcc.dg/pr29330.c: Add -std=gnu99 to dg-options.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pr29330.c

Comment 2 Jakub Jelinek 2006-10-07 17:02:38 UTC
Oops, sorry, not sure how I managed to miss this in the test results.
Fixed.