public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11266] New: [tree-ssa] ICE with placement new
@ 2003-06-20 17:09 reichelt at gcc dot gnu dot org
  2003-06-20 17:53 ` [Bug c++/11266] " pinskia at physics dot uc dot edu
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-06-20 17:09 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=11266

           Summary: [tree-ssa] ICE with placement new
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P1
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org
                CC: dnovillo@gcc.gnu.org,gcc-bugs@gcc.gnu.org

The following code (taken from PR9280) crashes tree-ssa (20030620):

-------------------------------------------------------------------------------
void* operator new    (unsigned int, void*) throw();
void  operator delete (void*, void*)        throw();

struct A { A(); };

void foo() { new(new A)A; }
-------------------------------------------------------------------------------

The error message is:
bug.cc: In function `void foo()':
bug.cc:6: internal compiler error: in gimple_add_tmp_var, at gimplify.c:2483
Please submit a full bug report, [etc.]

Since this is a regressuion w.r.t. mainline, I set the priority to "P1".


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

* [Bug c++/11266] [tree-ssa] ICE with placement new
  2003-06-20 17:09 [Bug c++/11266] New: [tree-ssa] ICE with placement new reichelt at gcc dot gnu dot org
@ 2003-06-20 17:53 ` pinskia at physics dot uc dot edu
  2003-06-21  1:31 ` bangerth at dealii dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-20 17:53 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=11266


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-20 17:41:31
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-20 17:41 -------
I can confirm this on the tree-ssa branch (20030617):
PR9280 - pass
pr9280.cc: In function `void foo()':
pr9280.cc:6: internal compiler error: in gimple_add_tmp_var, at gimplify.c:2442
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I have to remove libmudflap to build install a newer one on Darwin.


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

* [Bug c++/11266] [tree-ssa] ICE with placement new
  2003-06-20 17:09 [Bug c++/11266] New: [tree-ssa] ICE with placement new reichelt at gcc dot gnu dot org
  2003-06-20 17:53 ` [Bug c++/11266] " pinskia at physics dot uc dot edu
@ 2003-06-21  1:31 ` bangerth at dealii dot org
  2003-11-17  0:37 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bangerth at dealii dot org @ 2003-06-21  1:31 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=11266


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |tree-ssa


------- Additional Comments From bangerth at dealii dot org  2003-06-21 01:28 -------
Bulk switch target milestone for all PRs with [tree-ssa] in the summary to
have milestone=tree-ssa.
W.


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

* [Bug c++/11266] [tree-ssa] ICE with placement new
  2003-06-20 17:09 [Bug c++/11266] New: [tree-ssa] ICE with placement new reichelt at gcc dot gnu dot org
  2003-06-20 17:53 ` [Bug c++/11266] " pinskia at physics dot uc dot edu
  2003-06-21  1:31 ` bangerth at dealii dot org
@ 2003-11-17  0:37 ` jason at gcc dot gnu dot org
  2003-11-17 16:33 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2003-11-17  0:37 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/11266] [tree-ssa] ICE with placement new
  2003-06-20 17:09 [Bug c++/11266] New: [tree-ssa] ICE with placement new reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-11-17  0:37 ` jason at gcc dot gnu dot org
@ 2003-11-17 16:33 ` cvs-commit at gcc dot gnu dot org
  2003-11-17 16:34 ` cvs-commit at gcc dot gnu dot org
  2003-12-01  4:35 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-17 16:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-17 16:33 -------
Subject: Bug 11266

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	jason@gcc.gnu.org	2003-11-17 16:33:42

Modified files:
	gcc            : ChangeLog.tree-ssa gimplify.c 

Log message:
	PR c++/11266
	* gimplify.c (gimple_add_tmp_var): Also make sure
	seen_in_bind_expr isn't set.
	(mostly_copy_tree_r): Don't copy a TARGET_EXPR.
	(gimplify_target_expr): Only expand a TARGET_EXPR the first time
	we see it.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.877&r2=1.1.2.878
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.116&r2=1.1.2.117



-- 


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


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

* [Bug c++/11266] [tree-ssa] ICE with placement new
  2003-06-20 17:09 [Bug c++/11266] New: [tree-ssa] ICE with placement new reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-11-17 16:33 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-17 16:34 ` cvs-commit at gcc dot gnu dot org
  2003-12-01  4:35 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-17 16:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-17 16:34 -------
Subject: Bug 11266

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jason@gcc.gnu.org	2003-11-17 16:34:00

Added files:
	gcc/testsuite/g++.dg/init: placement1.C 

Log message:
	PR c++/11266
	* gimplify.c (gimple_add_tmp_var): Also make sure
	seen_in_bind_expr isn't set.
	(mostly_copy_tree_r): Don't copy a TARGET_EXPR.
	(gimplify_target_expr): Only expand a TARGET_EXPR the first time
	we see it.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/placement1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug c++/11266] [tree-ssa] ICE with placement new
  2003-06-20 17:09 [Bug c++/11266] New: [tree-ssa] ICE with placement new reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2003-11-17 16:34 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-01  4:35 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  4:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-01 04:35 -------
Fixed.

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


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


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

end of thread, other threads:[~2003-12-01  4:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-20 17:09 [Bug c++/11266] New: [tree-ssa] ICE with placement new reichelt at gcc dot gnu dot org
2003-06-20 17:53 ` [Bug c++/11266] " pinskia at physics dot uc dot edu
2003-06-21  1:31 ` bangerth at dealii dot org
2003-11-17  0:37 ` jason at gcc dot gnu dot org
2003-11-17 16:33 ` cvs-commit at gcc dot gnu dot org
2003-11-17 16:34 ` cvs-commit at gcc dot gnu dot org
2003-12-01  4:35 ` 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).