public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
@ 2003-11-12 12:06 ` falk at debian dot org
  2003-11-12 12:08 ` falk at debian dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: falk at debian dot org @ 2003-11-12 12:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-12 12:06 -------
*** Bug 13019 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bagnara at cs dot unipr dot
                   |                            |it


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
  2003-11-12 12:06 ` [Bug c++/2123] Array initializer falk at debian dot org
@ 2003-11-12 12:08 ` falk at debian dot org
  2003-11-12 15:18 ` bangerth at dealii dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: falk at debian dot org @ 2003-11-12 12:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-12 12:08 -------
We should really either always reject this or correctly initialize.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
  2003-11-12 12:06 ` [Bug c++/2123] Array initializer falk at debian dot org
  2003-11-12 12:08 ` falk at debian dot org
@ 2003-11-12 15:18 ` bangerth at dealii dot org
  2003-11-12 15:27 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bangerth at dealii dot org @ 2003-11-12 15:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2003-11-12 15:18 -------
Apparently only part of the new-initializer syntax has been removed.
Of this example,
----------------------
int* pa = new int[10](5);
int* pb = new int[10] = {5};
----------------------
the first line still compiles, while the second now gives an
error. Both were allowed in 2.95, whereas the second was
deprecated in 3.0 and removed in 3.3.

W.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-12 15:18:23
               date|                            |


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
                   ` (2 preceding siblings ...)
  2003-11-12 15:18 ` bangerth at dealii dot org
@ 2003-11-12 15:27 ` pinskia at gcc dot gnu dot org
  2004-01-03 13:27 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-12 15:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
                   ` (3 preceding siblings ...)
  2003-11-12 15:27 ` pinskia at gcc dot gnu dot org
@ 2004-01-03 13:27 ` pinskia at gcc dot gnu dot org
  2004-01-04  8:46 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-03 13:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-03 13:27 -------
*** Bug 11309 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghazi at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
                   ` (4 preceding siblings ...)
  2004-01-03 13:27 ` pinskia at gcc dot gnu dot org
@ 2004-01-04  8:46 ` pinskia at gcc dot gnu dot org
  2004-04-12  0:40 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-04  8:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
                   ` (5 preceding siblings ...)
  2004-01-04  8:46 ` pinskia at gcc dot gnu dot org
@ 2004-04-12  0:40 ` cvs-commit at gcc dot gnu dot org
  2004-04-20 11:06 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-12  0:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-11 23:18 -------
Subject: Bug 2123

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	pbrook@gcc.gnu.org	2004-04-11 23:18:25

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/g++.dg/expr: anew1.C anew2.C anew3.C anew4.C 

Log message:
	PR 2123
	* g++.dg/expr/anew1.C: XFAIL and make reproducible.  Call abort on
	failure and exit(0) on success.
	* g++.dg/expr/anew2.C: Ditto.
	* g++.dg/expr/anew3.C: Ditto.
	* g++.dg/expr/anew4.C: Ditto.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.164&r2=1.3389.2.165
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2&r2=1.2.28.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2&r2=1.2.28.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew3.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2&r2=1.2.28.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2&r2=1.2.28.1



-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
                   ` (6 preceding siblings ...)
  2004-04-12  0:40 ` cvs-commit at gcc dot gnu dot org
@ 2004-04-20 11:06 ` cvs-commit at gcc dot gnu dot org
  2005-02-16 19:50 ` aoliva at gcc dot gnu dot org
  2005-02-17  2:24 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-20 11:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-20 10:29 -------
Subject: Bug 2123

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	pbrook@gcc.gnu.org	2004-04-20 10:29:19

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/g++.dg/expr: anew1.C anew2.C anew3.C anew4.C 

Log message:
	PR 2123
	* g++.dg/expr/anew1.C: XFAIL and make reproducible.  Call abort on
	failure and exit(0) on success.
	* g++.dg/expr/anew2.C: Ditto.
	* g++.dg/expr/anew3.C: Ditto.
	* g++.dg/expr/anew4.C: Ditto.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.372&r2=1.2261.2.373
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew3.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/anew4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1.2.1&r2=1.1.2.2



-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
                   ` (7 preceding siblings ...)
  2004-04-20 11:06 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-16 19:50 ` aoliva at gcc dot gnu dot org
  2005-02-17  2:24 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2005-02-16 19:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aoliva at gcc dot gnu dot org  2005-02-16 16:30 -------
4.0.0 20050216 says:
error: ISO C++ forbids initialization in array new


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/2123] Array initializer
       [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
                   ` (8 preceding siblings ...)
  2005-02-16 19:50 ` aoliva at gcc dot gnu dot org
@ 2005-02-17  2:24 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-17  2:24 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-02-16 19:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
2003-11-12 12:06 ` [Bug c++/2123] Array initializer falk at debian dot org
2003-11-12 12:08 ` falk at debian dot org
2003-11-12 15:18 ` bangerth at dealii dot org
2003-11-12 15:27 ` pinskia at gcc dot gnu dot org
2004-01-03 13:27 ` pinskia at gcc dot gnu dot org
2004-01-04  8:46 ` pinskia at gcc dot gnu dot org
2004-04-12  0:40 ` cvs-commit at gcc dot gnu dot org
2004-04-20 11:06 ` cvs-commit at gcc dot gnu dot org
2005-02-16 19:50 ` aoliva at gcc dot gnu dot org
2005-02-17  2:24 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).