public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/9782] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
@ 2003-08-18  2:14 ` pinskia at gcc dot gnu dot org
  2004-01-03 13:54 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18  2:14 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-18 02:14 -------
Most likely related to bug 11309.


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

* [Bug c++/9782] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
  2003-08-18  2:14 ` [Bug c++/9782] constructor not called on higher-dimensional arrays of template types pinskia at gcc dot gnu dot org
@ 2004-01-03 13:54 ` pinskia at gcc dot gnu dot org
  2004-07-18  3:51 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-03 13:54 UTC (permalink / raw)
  To: gcc-bugs


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rschiele at uni-mannheim dot
                   |                            |de


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


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

* [Bug c++/9782] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
  2003-08-18  2:14 ` [Bug c++/9782] constructor not called on higher-dimensional arrays of template types pinskia at gcc dot gnu dot org
  2004-01-03 13:54 ` pinskia at gcc dot gnu dot org
@ 2004-07-18  3:51 ` pinskia at gcc dot gnu dot org
  2005-03-18 15:10 ` lerdsuwa at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-18  3:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-18 03:51 -------
hmm, this is weird, it was related to that other bug but that other bug is fixed now but not this one :(.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.5.0
   Last reconfirmed|2004-04-18 04:00:54         |2004-07-18 03:51:40
               date|                            |


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


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

* [Bug c++/9782] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
                   ` (2 preceding siblings ...)
  2004-07-18  3:51 ` pinskia at gcc dot gnu dot org
@ 2005-03-18 15:10 ` lerdsuwa at gcc dot gnu dot org
  2005-09-04 18:39 ` [Bug c++/9782] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2005-03-18 15:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2005-03-18 15:08 -------
Now the code is rejected by GCC in 4.0 branch and mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid


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


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

* [Bug c++/9782] [4.0/4.1 Regression] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
                   ` (3 preceding siblings ...)
  2005-03-18 15:10 ` lerdsuwa at gcc dot gnu dot org
@ 2005-09-04 18:39 ` pinskia at gcc dot gnu dot org
  2005-09-05 16:34 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-04 18:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-04 18:39 -------
The rejects valid is a regression so marking as such.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|constructor not called on   |[4.0/4.1 Regression]
                   |higher-dimensional arrays of|constructor not called on
                   |template types              |higher-dimensional arrays of
                   |                            |template types
   Target Milestone|---                         |4.0.2


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


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

* [Bug c++/9782] [4.0/4.1 Regression] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
                   ` (4 preceding siblings ...)
  2005-09-04 18:39 ` [Bug c++/9782] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-09-05 16:34 ` mmitchel at gcc dot gnu dot org
  2005-09-06 14:55 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-05 16:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/9782] [4.0/4.1 Regression] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
                   ` (5 preceding siblings ...)
  2005-09-05 16:34 ` mmitchel at gcc dot gnu dot org
@ 2005-09-06 14:55 ` cvs-commit at gcc dot gnu dot org
  2005-09-06 15:01 ` cvs-commit at gcc dot gnu dot org
  2005-09-06 15:04 ` mmitchel at gcc dot gnu dot org
  8 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-06 14:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-06 14:55 -------
Subject: Bug 9782

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2005-09-06 14:55:06

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/cp         : ChangeLog call.c cp-tree.h init.c rtti.c tree.c 
	                 typeck.c 
Added files:
	gcc/testsuite/g++.dg/expr: cast6.C 
	gcc/testsuite/g++.dg/init: new15.C 

Log message:
	* cp-tree.h (rvalue): New function.
	* call.c (build_conditional_expr): Use it.
	* init.c (build_new_1): Likewise.
	* rtti.c (build_dynamic_cast_1): Likewise.
	* tree.c (rvalue): New function.
	* typeck.c (build_unary_op): Use it.
	(build_static_cast_1): Likewise.
	
	* g++.dg/expr/cast6.C: New test.
	
	PR c++/9782
	* init.c (build_new_1): Make sure the entire array type is
	complete, not just its element types.
	
	PR c++/9782
	* g++.dg/init/new15.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6016&r2=1.6017
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/cast6.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/new15.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4874&r2=1.4875
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.550&r2=1.551
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1161&r2=1.1162
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&r1=1.428&r2=1.429
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/rtti.c.diff?cvsroot=gcc&r1=1.220&r2=1.221
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&r1=1.441&r2=1.442
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.650&r2=1.651



-- 


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


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

* [Bug c++/9782] [4.0/4.1 Regression] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
                   ` (6 preceding siblings ...)
  2005-09-06 14:55 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-06 15:01 ` cvs-commit at gcc dot gnu dot org
  2005-09-06 15:04 ` mmitchel at gcc dot gnu dot org
  8 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-06 15:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-06 15:01 -------
Subject: Bug 9782

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	mmitchel@gcc.gnu.org	2005-09-06 15:01:04

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/cp         : ChangeLog call.c cp-tree.h init.c rtti.c tree.c 
	                 typeck.c 
Added files:
	gcc/testsuite/g++.dg/expr: cast6.C 
	gcc/testsuite/g++.dg/init: new15.C 

Log message:
	* cp-tree.h (rvalue): New function.
	* call.c (build_conditional_expr): Use it.
	* init.c (build_new_1): Likewise.
	* rtti.c (build_dynamic_cast_1): Likewise.
	* tree.c (rvalue): New function.
	* typeck.c (build_unary_op): Use it.
	(build_static_cast_1): Likewise.
	
	* g++.dg/expr/cast6.C: New test.
	
	PR c++/9782
	* init.c (build_new_1): Make sure the entire array type is
	complete, not just its element types.
	
	PR c++/9782
	* g++.dg/init/new15.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.381&r2=1.5084.2.382
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/cast6.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/new15.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.92&r2=1.4648.2.93
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.531.2.6&r2=1.531.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1106.2.13&r2=1.1106.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.412.2.8&r2=1.412.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/rtti.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.210.6.1&r2=1.210.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.427.2.4&r2=1.427.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.616.2.15&r2=1.616.2.16



-- 


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


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

* [Bug c++/9782] [4.0/4.1 Regression] constructor not called on higher-dimensional arrays of template types
       [not found] <20030220203601.9782.michael.j.kenny@saic.com>
                   ` (7 preceding siblings ...)
  2005-09-06 15:01 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-06 15:04 ` mmitchel at gcc dot gnu dot org
  8 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-06 15:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-09-06 15:04 -------
Fixed in 4.0.2.

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


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


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

end of thread, other threads:[~2005-09-06 15:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030220203601.9782.michael.j.kenny@saic.com>
2003-08-18  2:14 ` [Bug c++/9782] constructor not called on higher-dimensional arrays of template types pinskia at gcc dot gnu dot org
2004-01-03 13:54 ` pinskia at gcc dot gnu dot org
2004-07-18  3:51 ` pinskia at gcc dot gnu dot org
2005-03-18 15:10 ` lerdsuwa at gcc dot gnu dot org
2005-09-04 18:39 ` [Bug c++/9782] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-09-05 16:34 ` mmitchel at gcc dot gnu dot org
2005-09-06 14:55 ` cvs-commit at gcc dot gnu dot org
2005-09-06 15:01 ` cvs-commit at gcc dot gnu dot org
2005-09-06 15:04 ` mmitchel 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).