public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66495] New: [5 Regression] Issue with same name for embedded function
@ 2015-06-10 16:30 gerhard.steinmetz.fortran@t-online.de
  2015-06-10 19:45 ` [Bug fortran/66495] " dominiq at lps dot ens.fr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gerhard.steinmetz.fortran@t-online.de @ 2015-06-10 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66495
           Summary: [5 Regression] Issue with same name for embedded
                    function
           Product: gcc
           Version: 5.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

Another test case :
   integer function f()
   contains
      integer function f()
      end
   end

yields (gfortran 5.1.1) :
f951: internal compiler error: Segmentation fault

---

But prints a regular error message with gfortran 4.9.0, 4.8.3 :

$ gfortran -c -g -O0 -Wall -fcheck=all -fno-frontend-optimize s.f90
s.f90:3.21:

   integer function f(y)
                     1
s.f90:1.18:

integer function f(x)
                  2
Error: Procedure 'f' at (1) has an explicit interface and must not have
attributes declared at (2)
s.f90:3.24:

   integer function f(y)
                        1
Error: Symbol 'f' at (1) already has basic type of INTEGER


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

* [Bug fortran/66495] [5 Regression] Issue with same name for embedded function
  2015-06-10 16:30 [Bug fortran/66495] New: [5 Regression] Issue with same name for embedded function gerhard.steinmetz.fortran@t-online.de
@ 2015-06-10 19:45 ` dominiq at lps dot ens.fr
  2015-06-11  8:14 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-06-10 19:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.9.2, 6.0
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
   Last reconfirmed|                            |2015-06-10
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |5.1.0

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The ICE appeared between revisions r218570 (2014-12-10, no ICE) and r218658
(2014-12-12, ICE), likely r218627 (pr44054) or a related commit.

This has been fixed between r223447 (2015-05-20, ICE) and r224148 (2015-06-05,
no ICE), likely r223614.


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

* [Bug fortran/66495] [5 Regression] Issue with same name for embedded function
  2015-06-10 16:30 [Bug fortran/66495] New: [5 Regression] Issue with same name for embedded function gerhard.steinmetz.fortran@t-online.de
  2015-06-10 19:45 ` [Bug fortran/66495] " dominiq at lps dot ens.fr
@ 2015-06-11  8:14 ` rguenth at gcc dot gnu.org
  2015-07-16  9:12 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-11  8:14 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.2


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

* [Bug fortran/66495] [5 Regression] Issue with same name for embedded function
  2015-06-10 16:30 [Bug fortran/66495] New: [5 Regression] Issue with same name for embedded function gerhard.steinmetz.fortran@t-online.de
  2015-06-10 19:45 ` [Bug fortran/66495] " dominiq at lps dot ens.fr
  2015-06-11  8:14 ` rguenth at gcc dot gnu.org
@ 2015-07-16  9:12 ` rguenth at gcc dot gnu.org
  2015-10-02 22:08 ` kargl at gcc dot gnu.org
  2015-10-10  8:41 ` dominiq at lps dot ens.fr
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


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

* [Bug fortran/66495] [5 Regression] Issue with same name for embedded function
  2015-06-10 16:30 [Bug fortran/66495] New: [5 Regression] Issue with same name for embedded function gerhard.steinmetz.fortran@t-online.de
                   ` (2 preceding siblings ...)
  2015-07-16  9:12 ` rguenth at gcc dot gnu.org
@ 2015-10-02 22:08 ` kargl at gcc dot gnu.org
  2015-10-10  8:41 ` dominiq at lps dot ens.fr
  4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-10-02 22:08 UTC (permalink / raw)
  To: gcc-bugs

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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #5 from kargl at gcc dot gnu.org ---

(In reply to Dominique d'Humieres from comment #1)
> The ICE appeared between revisions r218570 (2014-12-10, no ICE) and r218658
> (2014-12-12, ICE), likely r218627 (pr44054) or a related commit.
> 
> This has been fixed between r223447 (2015-05-20, ICE) and r224148
> (2015-06-05, no ICE), likely r223614.

I doubt the r223614 will be back ported.  This
should probably closed as fixed on trunk.  If
no one objects I'll close this PR in a few days.


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

* [Bug fortran/66495] [5 Regression] Issue with same name for embedded function
  2015-06-10 16:30 [Bug fortran/66495] New: [5 Regression] Issue with same name for embedded function gerhard.steinmetz.fortran@t-online.de
                   ` (3 preceding siblings ...)
  2015-10-02 22:08 ` kargl at gcc dot gnu.org
@ 2015-10-10  8:41 ` dominiq at lps dot ens.fr
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-10-10  8:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I doubt the r223614 will be back ported.  This
> should probably closed as fixed on trunk.  If
> no one objects I'll close this PR in a few days.

No feedback, closing as FIXED.


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

end of thread, other threads:[~2015-10-10  8:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-10 16:30 [Bug fortran/66495] New: [5 Regression] Issue with same name for embedded function gerhard.steinmetz.fortran@t-online.de
2015-06-10 19:45 ` [Bug fortran/66495] " dominiq at lps dot ens.fr
2015-06-11  8:14 ` rguenth at gcc dot gnu.org
2015-07-16  9:12 ` rguenth at gcc dot gnu.org
2015-10-02 22:08 ` kargl at gcc dot gnu.org
2015-10-10  8:41 ` dominiq at lps dot ens.fr

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