re PR c++/12774 (Type checking problems in templates)
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 29 Dec 2003 17:02:03 +0000 (17:02 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 29 Dec 2003 17:02:03 +0000 (17:02 +0000)
commit30a035080e17df2e1b21322d398532b30af80cd1
treec3923f14a15451d884b19950367d2be72de87c79
parentb66906a8ff79931bc3d23b9362833b1567c5ac56
re PR c++/12774 (Type checking problems in templates)

cp:
PR c++/12774
* typeck.c (comp_array_types): Fold non-dependent domains for
ABI-1.
testsuite:
PR c++/12774
* g++.dg/template/array1-1.C: New test.
* g++.dg/template/array1-2.C: New test.

From-SVN: r75204
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/array1-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/array1-2.C [new file with mode: 0644]