public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51733] New: [OOP] No allocate on assign for class objects with allocatable components.
@ 2012-01-02 13:32 pault at gcc dot gnu.org
  2012-01-02 14:08 ` [Bug fortran/51733] " burnus at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pault at gcc dot gnu.org @ 2012-01-02 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51733
           Summary: [OOP] No allocate on assign for class objects with
                    allocatable components.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pault@gcc.gnu.org


The testcase in PR51634 needs explicit allocations, as in the final comment.

PR51634 was closed, since the nesting of typebound operators is fixed.

Paul


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

* [Bug fortran/51733] [OOP] No allocate on assign for class objects with allocatable components.
  2012-01-02 13:32 [Bug fortran/51733] New: [OOP] No allocate on assign for class objects with allocatable components pault at gcc dot gnu.org
@ 2012-01-02 14:08 ` burnus at gcc dot gnu.org
  2012-01-02 14:11 ` burnus at gcc dot gnu.org
  2012-01-13 21:26 ` burnus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-02 14:08 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
             Blocks|                            |51634

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-02 14:07:17 UTC ---
See also the test case in PR 51634.


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

* [Bug fortran/51733] [OOP] No allocate on assign for class objects with allocatable components.
  2012-01-02 13:32 [Bug fortran/51733] New: [OOP] No allocate on assign for class objects with allocatable components pault at gcc dot gnu.org
  2012-01-02 14:08 ` [Bug fortran/51733] " burnus at gcc dot gnu.org
@ 2012-01-02 14:11 ` burnus at gcc dot gnu.org
  2012-01-13 21:26 ` burnus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-02 14:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-02 14:11:03 UTC ---
(Mixed up the test cases. The PR mentioned in comment 1 is the same as in
comment 0 - and a good test case. I mixed it up with PR 46262 comment 3, which
is a longer example which also requires allocation on assignment.)


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

* [Bug fortran/51733] [OOP] No allocate on assign for class objects with allocatable components.
  2012-01-02 13:32 [Bug fortran/51733] New: [OOP] No allocate on assign for class objects with allocatable components pault at gcc dot gnu.org
  2012-01-02 14:08 ` [Bug fortran/51733] " burnus at gcc dot gnu.org
  2012-01-02 14:11 ` burnus at gcc dot gnu.org
@ 2012-01-13 21:26 ` burnus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-13 21:26 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-13 21:23:03 UTC ---
I think the realloc issue is fixed by the commit for PR 48351.

The test case in PR51634 now kind of works. (It fails but because it is
invalid.)
The big test case at PR 46262 comment 3 also works now :-)


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

end of thread, other threads:[~2012-01-13 21:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-02 13:32 [Bug fortran/51733] New: [OOP] No allocate on assign for class objects with allocatable components pault at gcc dot gnu.org
2012-01-02 14:08 ` [Bug fortran/51733] " burnus at gcc dot gnu.org
2012-01-02 14:11 ` burnus at gcc dot gnu.org
2012-01-13 21:26 ` burnus at gcc dot gnu.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).