public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/63243] New: [meta-bug] RH GDB project tracker
@ 2014-09-12 13:40 mpolacek at gcc dot gnu.org
  2014-09-12 15:48 ` [Bug debug/63243] " manu at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-09-12 13:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63243

            Bug ID: 63243
           Summary: [meta-bug] RH GDB project tracker
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org

This bug tracks various GCC bugs that are blocking or hindering GDB progress.


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

* [Bug debug/63243] [meta-bug] RH GDB project tracker
  2014-09-12 13:40 [Bug debug/63243] New: [meta-bug] RH GDB project tracker mpolacek at gcc dot gnu.org
@ 2014-09-12 15:48 ` manu at gcc dot gnu.org
  2014-10-05 15:31 ` mark at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu.org @ 2014-09-12 15:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63243

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-09-12
                 CC|                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Confirmed so it doesn't show up in the list of unconfirmed bugs.
>From gcc-bugs-return-461690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Sep 12 15:57:16 2014
Return-Path: <gcc-bugs-return-461690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27767 invoked by alias); 12 Sep 2014 15:57:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27336 invoked by uid 48); 12 Sep 2014 15:57:10 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/63205] [OOP] Wrongly rejects  type = class (for identical declared type)
Date: Fri, 12 Sep 2014 15:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-63205-4-3U7S35puEK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63205-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63205-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-09/txt/msg01524.txt.bz2
Content-length: 2382

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc205

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-09-12
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I see two issues with the test assign_11.f90:

(1) an ICE, reduced test

program test
  implicit none
  type t
    integer :: ii
  end type t
  type(t) :: y(3)

  y = func2()
contains
  function func2() result(res)
    class(t), allocatable :: res(:)
  end function func2
end program test

[Book15] f90/bug% gfc49 pr63205_red.f90
pr63205_red.f90: In function 'test':
pr63205_red.f90:8:0: internal compiler error: in gfc_trans_arrayfunc_assign, at
fortran/trans-expr.c:7369
   y = func2()
 ^

(2) a wrong code, reduced test

module m
  implicit none
  type t
    integer :: ii = 55
  end type t
contains
  subroutine sub (from, from2)
    class(t) :: from, from2(:)
    type(t) :: to, to2(3)

    if (from%ii /= 43) call abort()
    if (size (from2) /= 3) call abort()
    if (any (from2(:)%ii /= [11,22,33])) call abort()

    to = from  ! TYPE = CLASS
    to2 = from2  ! TYPE = CLASS

    print *, to%ii
!    if (to%ii /= 43) call abort()
    if (any (to2(:)%ii /= [11,22,33])) call abort()
  end subroutine sub
end module m

program test
  use m
  implicit none
  type(t), target :: x
  type(t), target :: y(3)

  x%ii = 43
  y(:)%ii = [11,22,33]
  call sub(x,y)
  x = func1()
  print *, x
!  if (x%ii /= 123) call abort()
  y = func1()
  print *, y
!  if (any (y(:)%ii /= 123)) call abort()
contains
  function func1()
    class(t), allocatable :: func1
    allocate(func1)
    func1%ii = 123
  end function func1
end program test

[Book15] f90/bug% gfc49 pr63205_red_1.f90
[Book15] f90/bug% a.out
   167182484
   586153984
   586154000   586154000   586154000

Any objection that I open a new PR for the ICE?

> However, only "type => class" is handled. Still missing is "type = class",
> where CLASS is a (coarray) scalar or (coarray) array variable, function or
> an array constructor. See also PR 57530 comment 3.

AFAICT the assignment works for array variable, at least in the to2 context.


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

* [Bug debug/63243] [meta-bug] RH GDB project tracker
  2014-09-12 13:40 [Bug debug/63243] New: [meta-bug] RH GDB project tracker mpolacek at gcc dot gnu.org
  2014-09-12 15:48 ` [Bug debug/63243] " manu at gcc dot gnu.org
@ 2014-10-05 15:31 ` mark at gcc dot gnu.org
  2014-11-21  8:51 ` fxcoudert at gcc dot gnu.org
  2014-11-21 13:33 ` fxcoudert at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mark at gcc dot gnu.org @ 2014-10-05 15:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63243
Bug 63243 depends on bug 63239, which changed state.

Bug 63239 Summary: DWARF does not represent C++ deleted methods
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63239

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


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

* [Bug debug/63243] [meta-bug] RH GDB project tracker
  2014-09-12 13:40 [Bug debug/63243] New: [meta-bug] RH GDB project tracker mpolacek at gcc dot gnu.org
  2014-09-12 15:48 ` [Bug debug/63243] " manu at gcc dot gnu.org
  2014-10-05 15:31 ` mark at gcc dot gnu.org
@ 2014-11-21  8:51 ` fxcoudert at gcc dot gnu.org
  2014-11-21 13:33 ` fxcoudert at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-21  8:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63243
Bug 63243 depends on bug 63239, which changed state.

Bug 63239 Summary: DWARF does not represent C++ deleted methods
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63239

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


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

* [Bug debug/63243] [meta-bug] RH GDB project tracker
  2014-09-12 13:40 [Bug debug/63243] New: [meta-bug] RH GDB project tracker mpolacek at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-11-21  8:51 ` fxcoudert at gcc dot gnu.org
@ 2014-11-21 13:33 ` fxcoudert at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-21 13:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63243
Bug 63243 depends on bug 63239, which changed state.

Bug 63239 Summary: DWARF does not represent C++ deleted methods
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63239

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


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

end of thread, other threads:[~2014-11-21 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-12 13:40 [Bug debug/63243] New: [meta-bug] RH GDB project tracker mpolacek at gcc dot gnu.org
2014-09-12 15:48 ` [Bug debug/63243] " manu at gcc dot gnu.org
2014-10-05 15:31 ` mark at gcc dot gnu.org
2014-11-21  8:51 ` fxcoudert at gcc dot gnu.org
2014-11-21 13:33 ` fxcoudert 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).