This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33441] New: FAIL: g++.dg/ext/vla4.C (test for errors, line 10)
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2007 15:42:21 -0000
- Subject: [Bug c++/33441] New: FAIL: g++.dg/ext/vla4.C (test for errors, line 10)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/g++/../../g++
-B/mnt/gnu/gc
c/objdir/gcc/testsuite/g++/../../
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4
.C -nostdinc++
-I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
/hppa2.0w-hp-hpux11.11
-I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/
include -I/mnt/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/mnt/gnu/gcc/gcc/libstdc++-v
3/include/backward -I/mnt/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmessage-leng
th=0 -S -o vla4.s (timeout = 300)
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C: In function 'void f(int)':
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C:9: error: cannot create type
in
formation for type 'int (*)[(((long unsigned int)(((int)i) - 1)) + 1u)]'
because
it involves types of variable size
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C: In function 'int main()':
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C:18: error: cannot create type
i
nformation for type 'int (*)[(((long unsigned int)(((int)i) - 1)) + 1u)]'
becaus
e it involves types of variable size
compiler exited with status 1
output is:
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C: In function 'void f(int)':
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C:9: error: cannot create type
in
formation for type 'int (*)[(((long unsigned int)(((int)i) - 1)) + 1u)]'
because
it involves types of variable size
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C: In function 'int main()':
/mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/ext/vla4.C:18: error: cannot create type
i
nformation for type 'int (*)[(((long unsigned int)(((int)i) - 1)) + 1u)]'
becaus
e it involves types of variable size
PASS: g++.dg/ext/vla4.C (test for errors, line 9)
FAIL: g++.dg/ext/vla4.C (test for errors, line 10)
PASS: g++.dg/ext/vla4.C (test for errors, line 18)
PASS: g++.dg/ext/vla4.C (test for excess errors)
This test didn't fail in 4.2.1, so this fail is a regression.
--
Summary: FAIL: g++.dg/ext/vla4.C (test for errors, line 10)
Product: gcc
Version: 4.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa*-*-*
GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33441