This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28906] [4.2 regression] rejects valid arrays



------- Comment #15 from rguenth at gcc dot gnu dot org  2006-10-17 08:27 -------
Subject: Bug 28906

Author: rguenth
Date: Tue Oct 17 08:27:26 2006
New Revision: 117821

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117821
Log:
2006-10-17  Richard Guenther  <rguenther@suse.de>

        Backport from mainline:
        2006-09-07  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28906
        * init.c (build_new_1): Build a distinct type copy
        for the array type that was returned from
        build_cplus_array_type.

        * g++.dg/other/array3.C: New test.
        * g++.dg/other/array4.C: New test.
        * g++.dg/other/array5.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/array3.C
      - copied unchanged from r116776,
trunk/gcc/testsuite/g++.dg/other/array3.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/array4.C
      - copied unchanged from r116776,
trunk/gcc/testsuite/g++.dg/other/array4.C
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/array5.C
      - copied unchanged from r116776,
trunk/gcc/testsuite/g++.dg/other/array5.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/init.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28906


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]