public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-19476-4@http.gcc.gnu.org/bugzilla/>]
* [Bug c++/19476] New: Missed null checking elimination with new
@ 2005-01-17  4:54 pinskia at gcc dot gnu dot org
  2005-01-17  8:37 ` [Bug c++/19476] " steven at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-17  4:54 UTC (permalink / raw)
  To: gcc-bugs

I don't know if I should place this in C++ or in tree-opt component but the following code still has a 
null check even though it is know that the variable cannot be null as that should have thrown an 
exception (yes this shows up in real code, this is reduced from PR 15855 sources):
struct Node { int i; };
struct SeqR11E0plus {  int i2; };
struct SeqR11E0plus_1 : public SeqR11E0plus, public Node
{
  SeqR11E0plus_1(void) throw();
};
Node* f(void)
{ Node* res = new SeqR11E0plus_1(); return res;}

-- 
           Summary: Missed null checking elimination with new
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2013-10-11 11:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19476-6528@http.gcc.gnu.org/bugzilla/>
2005-11-12 20:05 ` [Bug c++/19476] Missed null checking elimination with new pinskia at gcc dot gnu dot org
2005-11-13  1:24 ` sabre at nondot dot org
2005-11-13  2:10 ` pinskia at gcc dot gnu dot org
2005-11-13  2:13 ` sabre at nondot dot org
2005-11-13  2:24 ` pinskia at gcc dot gnu dot org
2005-11-13  2:51 ` sabre at nondot dot org
2006-01-09 18:33 ` pinskia at gcc dot gnu dot org
2008-04-08 21:41 ` pinskia at gcc dot gnu dot org
2008-04-10 23:33 ` ian at airs dot com
     [not found] <bug-19476-4@http.gcc.gnu.org/bugzilla/>
2013-09-06 16:14 ` glisse at gcc dot gnu.org
2013-09-06 17:31 ` paolo.carlini at oracle dot com
2013-09-11 13:20 ` glisse at gcc dot gnu.org
2013-09-11 14:14 ` glisse at gcc dot gnu.org
2013-10-03 16:14 ` glisse at gcc dot gnu.org
2013-10-03 23:48 ` glisse at gcc dot gnu.org
2013-10-03 23:57 ` glisse at gcc dot gnu.org
2013-10-11 11:48 ` glisse at gcc dot gnu.org
2005-01-17  4:54 [Bug c++/19476] New: " pinskia at gcc dot gnu dot org
2005-01-17  8:37 ` [Bug c++/19476] " steven at gcc dot gnu dot org
2005-01-17 15:36 ` pinskia at gcc dot gnu dot org
2005-01-20  6:29 ` pinskia at gcc dot gnu dot org
2005-03-04 15:40 ` dnovillo 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).