public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25465]  New: Failure to apply constructor
@ 2005-12-17 20:42 igodard at pacbell dot net
  2005-12-17 20:45 ` [Bug c++/25465] " igodard at pacbell dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2005-12-17 20:42 UTC (permalink / raw)
  To: gcc-bugs

The code passes the result of one function to a return statement in another,
where the returned type has a constructor from the argument type. I'm expecting
that the constructor will be invoked silently, but get a diagnostic. This
appears to be a regression; the code worked in 3.4.0. A simple version of the
logic gets no diagnostic, so here's the whole thing.


-- 
           Summary: Failure to apply constructor
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net


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


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

* [Bug c++/25465] Failure to apply constructor
  2005-12-17 20:42 [Bug c++/25465] New: Failure to apply constructor igodard at pacbell dot net
@ 2005-12-17 20:45 ` igodard at pacbell dot net
  2005-12-17 20:45 ` igodard at pacbell dot net
  2005-12-17 21:04 ` igodard at pacbell dot net
  2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2005-12-17 20:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from igodard at pacbell dot net  2005-12-17 20:45 -------
Created an attachment (id=10521)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10521&action=view)
source code (compressed)


-- 


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


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

* [Bug c++/25465] Failure to apply constructor
  2005-12-17 20:42 [Bug c++/25465] New: Failure to apply constructor igodard at pacbell dot net
  2005-12-17 20:45 ` [Bug c++/25465] " igodard at pacbell dot net
@ 2005-12-17 20:45 ` igodard at pacbell dot net
  2005-12-17 21:04 ` igodard at pacbell dot net
  2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2005-12-17 20:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from igodard at pacbell dot net  2005-12-17 20:45 -------
Created an attachment (id=10520)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10520&action=view)
compiler output


-- 


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


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

* [Bug c++/25465] Failure to apply constructor
  2005-12-17 20:42 [Bug c++/25465] New: Failure to apply constructor igodard at pacbell dot net
  2005-12-17 20:45 ` [Bug c++/25465] " igodard at pacbell dot net
  2005-12-17 20:45 ` igodard at pacbell dot net
@ 2005-12-17 21:04 ` igodard at pacbell dot net
  2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2005-12-17 21:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from igodard at pacbell dot net  2005-12-17 21:04 -------
Never mind- the problem was an incompatibility between iint32_t and ptrdiff_t
on a particular platform. Sorry for the spam.


-- 

igodard at pacbell dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2005-12-17 21:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-17 20:42 [Bug c++/25465] New: Failure to apply constructor igodard at pacbell dot net
2005-12-17 20:45 ` [Bug c++/25465] " igodard at pacbell dot net
2005-12-17 20:45 ` igodard at pacbell dot net
2005-12-17 21:04 ` igodard at pacbell dot net

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).