public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/53718] New: gfortran generates asm label twice in the same output file
@ 2012-06-18 17:43 adrian at llnl dot gov
  2012-06-18 18:46 ` [Bug fortran/53718] [4.7/4.8 regression] [OOP] " janus at gcc dot gnu.org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: adrian at llnl dot gov @ 2012-06-18 17:43 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53718
           Summary: gfortran generates asm label twice in the same output
                    file
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: adrian@llnl.gov


Created attachment 27653
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27653
Delta-reduced input code

gfortran --version
GNU Fortran (GCC) 4.7.1
Copyright (C) 2012 Free Software Foundation, Inc.

uname -a
Linux [...] 2.6.32-41-generic #89-Ubuntu SMP Fri Apr 27 22:18:56 UTC 2012
x86_64 GNU/Linux

gfortran  -c exceptionstest.f03
/tmp/cc95FYwH.s: Assembler messages:
/tmp/cc95FYwH.s:148: Error: symbol `__copy_idl_int_array_f03_Idl_int_2d' is
already defined
/tmp/cc95FYwH.s:199: Error: symbol `__def_init_idl_int_array_f03_Idl_int_2d' is
already defined
/tmp/cc95FYwH.s:203: Error: symbol `__vtab_idl_int_array_f03_Idl_int_2d' is
already defined

Delta-reduced input code is attached.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
@ 2012-06-18 18:46 ` janus at gcc dot gnu.org
  2012-06-18 18:55 ` adrian at llnl dot gov
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-06-18 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-06-18
            Summary|[OOP] gfortran generates    |[4.7/4.8 regression] [OOP]
                   |asm label twice in the same |gfortran generates asm
                   |output file                 |label twice in the same
                   |                            |output file
     Ever Confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org 2012-06-18 18:46:10 UTC ---
Confirmed with 4.7 and trunk. This is actually a regression, since it works
with 4.6.3.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
  2012-06-18 18:46 ` [Bug fortran/53718] [4.7/4.8 regression] [OOP] " janus at gcc dot gnu.org
@ 2012-06-18 18:55 ` adrian at llnl dot gov
  2012-06-18 20:04 ` janus at gcc dot gnu.org
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: adrian at llnl dot gov @ 2012-06-18 18:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Adrian Prantl <adrian at llnl dot gov> 2012-06-18 18:55:11 UTC ---
just as a side note: most of my bugreports come from compiling babel's
regression test suite. Babel is a language interoperability tool that (also)
generates bindings for Fortran 2003. It's free (LGPL) and it might be a very
good testcase for gfortran in the future.

https://computation.llnl.gov/casc/components/


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
  2012-06-18 18:46 ` [Bug fortran/53718] [4.7/4.8 regression] [OOP] " janus at gcc dot gnu.org
  2012-06-18 18:55 ` adrian at llnl dot gov
@ 2012-06-18 20:04 ` janus at gcc dot gnu.org
  2012-06-18 20:36 ` dominiq at lps dot ens.fr
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-06-18 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from janus at gcc dot gnu.org 2012-06-18 20:04:09 UTC ---
(In reply to comment #2)
> just as a side note: most of my bugreports come from compiling babel's
> regression test suite. Babel is a language interoperability tool that (also)
> generates bindings for Fortran 2003. It's free (LGPL) and it might be a very
> good testcase for gfortran in the future.
> 
> https://computation.llnl.gov/casc/components/

Thanks for the pointer. Sounds interesting.


Btw, here is a slightly different (but much simpler) test case, which exhibits
the same problem:


module m
  type t
  end type
end module

subroutine sub1
  use m
  class(t), pointer :: a1
end subroutine

subroutine sub2
  use m
  class(t), pointer :: a2
end subroutine


This structure is rather unusual for F03 object-oriented code, since it
involves 'naked' subroutines (F77 style), which are not part of any MODULE or
PROGRAM. Putting both routines into a module or program makes the error go
away.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (2 preceding siblings ...)
  2012-06-18 20:04 ` janus at gcc dot gnu.org
@ 2012-06-18 20:36 ` dominiq at lps dot ens.fr
  2012-06-18 20:45 ` dominiq at lps dot ens.fr
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-06-18 20:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-06-18 20:35:51 UTC ---
Revision 181425 (2011-11-16) is OK,
revision 181881 (2011-12-01) is not.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (3 preceding siblings ...)
  2012-06-18 20:36 ` dominiq at lps dot ens.fr
@ 2012-06-18 20:45 ` dominiq at lps dot ens.fr
  2012-06-19  9:15 ` rguenth at gcc dot gnu.org
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-06-18 20:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-06-18 20:45:18 UTC ---
Could it be revision 181505?


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (4 preceding siblings ...)
  2012-06-18 20:45 ` dominiq at lps dot ens.fr
@ 2012-06-19  9:15 ` rguenth at gcc dot gnu.org
  2012-06-19 10:35 ` janus at gcc dot gnu.org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-19  9:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.2


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (5 preceding siblings ...)
  2012-06-19  9:15 ` rguenth at gcc dot gnu.org
@ 2012-06-19 10:35 ` janus at gcc dot gnu.org
  2012-06-19 13:13 ` janus at gcc dot gnu.org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-06-19 10:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from janus at gcc dot gnu.org 2012-06-19 10:35:34 UTC ---
(In reply to comment #5)
> Could it be revision 181505?

Very likely. If it is, I'm betting on the PR50640 part of that commit.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (6 preceding siblings ...)
  2012-06-19 10:35 ` janus at gcc dot gnu.org
@ 2012-06-19 13:13 ` janus at gcc dot gnu.org
  2012-06-19 17:36 ` dominiq at lps dot ens.fr
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-06-19 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from janus at gcc dot gnu.org 2012-06-19 13:13:03 UTC ---
(In reply to comment #6)
> > Could it be revision 181505?
> 
> Very likely. If it is, I'm betting on the PR50640 part of that commit.

Indeed the following patch, which is practically a revert of the trans-decl.c
part of the above commit, makes the errors go away:


Index: gcc/fortran/trans-decl.c
===================================================================
--- gcc/fortran/trans-decl.c    (revision 188334)
+++ gcc/fortran/trans-decl.c    (working copy)
@@ -1483,7 +1483,6 @@ gfc_get_symbol_decl (gfc_symbol * sym)
       || (sym->name[0] == '_' && strncmp ("__def_init", sym->name, 10) == 0))
     {
       TREE_READONLY (decl) = 1;
-      GFC_DECL_PUSH_TOPLEVEL (decl) = 1;
     }

   return decl;
@@ -1913,8 +1912,7 @@ build_function_decl (gfc_symbol * sym, bool global
   /* Layout the function declaration and put it in the binding level
      of the current function.  */

-  if (global
-      || (sym->name[0] == '_' && strncmp ("__copy", sym->name, 6) == 0))
+  if (global)
     pushdecl_top_level (fndecl);
   else
     pushdecl (fndecl);


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (7 preceding siblings ...)
  2012-06-19 13:13 ` janus at gcc dot gnu.org
@ 2012-06-19 17:36 ` dominiq at lps dot ens.fr
  2012-06-20  9:19 ` janus at gcc dot gnu.org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-06-19 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-06-19 17:36:26 UTC ---
(In reply to comment #7)
> Indeed the following patch, which is practically a revert of the trans-decl.c
> part of the above commit, makes the errors go away: ...

Confirmed for the tests in this PR (as well as the test in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46313#c25 ) without regression.

Note that without the patch the tests fail only with -O0, but not with the
optimization I have tried (-O1 or -O3).

It would be nice if someone could compile gfortran.dg/select_type_12.f03 (and
the tests) through valgrind (I cannot do it under darwin).


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (8 preceding siblings ...)
  2012-06-19 17:36 ` dominiq at lps dot ens.fr
@ 2012-06-20  9:19 ` janus at gcc dot gnu.org
  2012-09-07  8:13 ` rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-06-20  9:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from janus at gcc dot gnu.org 2012-06-20 09:19:28 UTC ---
(In reply to comment #8)
> It would be nice if someone could compile gfortran.dg/select_type_12.f03 (and
> the tests) through valgrind (I cannot do it under darwin).

While valgrind 3.6.1 gives me some kind of internal error (cf.
https://bugs.kde.org/show_bug.cgi?id=277045), valgrind 3.7.0 seems to work well
and produces the following output:


> valgrind `gfortran-4.8 -v select_type_12.f03 2>&1 | grep f951`
==32473== Memcheck, a memory error detector
==32473== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==32473== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==32473== Command: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/f951
select_type_12.f03 -quiet -dumpbase select_type_12.f03 -mtune=generic
-march=x86-64 -auxbase select_type_12 -version -fintrinsic-modules-path
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.8.0/finclude -o /tmp/ccOu2tOb.s
==32473== 
GNU Fortran (GCC) version 4.8.0 20120620 (experimental) [trunk revision 188819]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.3 20120531 [gcc-4_6-branch revision
188067], GMP version 5.0.5, MPFR version 3.1.0-p1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.8.0 20120620 (experimental) [trunk revision 188819]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.3 20120531 [gcc-4_6-branch revision
188067], GMP version 5.0.5, MPFR version 3.1.0-p1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
==32473== 
==32473== HEAP SUMMARY:
==32473==     in use at exit: 425,388 bytes in 1,978 blocks
==32473==   total heap usage: 9,348 allocs, 7,370 frees, 4,853,954 bytes
allocated
==32473== 
==32473== LEAK SUMMARY:
==32473==    definitely lost: 15,827 bytes in 90 blocks
==32473==    indirectly lost: 18,024 bytes in 62 blocks
==32473==      possibly lost: 192 bytes in 1 blocks
==32473==    still reachable: 391,345 bytes in 1,825 blocks
==32473==         suppressed: 0 bytes in 0 blocks


So, apparently there are no errors.

Moreover, the patch seems to survive a regtest on x86_64-unknown-linux-gnu
without any failures in the gfortran testsuite.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (9 preceding siblings ...)
  2012-06-20  9:19 ` janus at gcc dot gnu.org
@ 2012-09-07  8:13 ` rguenth at gcc dot gnu.org
  2012-09-11 13:48 ` burnus at gcc dot gnu.org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-07  8:13 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (10 preceding siblings ...)
  2012-09-07  8:13 ` rguenth at gcc dot gnu.org
@ 2012-09-11 13:48 ` burnus at gcc dot gnu.org
  2012-09-11 15:57 ` janus at gcc dot gnu.org
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-09-11 13:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-11 13:47:59 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > > Could it be revision 181505?
> > Very likely. If it is, I'm betting on the PR50640 part of that commit.
> 
> Indeed the following patch, which is practically a revert of the trans-decl.c
> part of the above commit, makes the errors go away:

We should backout everything - except for the class.c part of the commit in bug
50640 comment 24.

My suspicious is that one of Richard's commits in May fixed the issue. In turn
that probably means that backing out the patch for PR50640 only works for 4.7
and not for 4.8

See also some comments/analysis/RFC at bug 50640 comment 26.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (11 preceding siblings ...)
  2012-09-11 13:48 ` burnus at gcc dot gnu.org
@ 2012-09-11 15:57 ` janus at gcc dot gnu.org
  2012-09-20 10:28 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-09-11 15:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from janus at gcc dot gnu.org 2012-09-11 15:57:35 UTC ---
(In reply to comment #10)
> My suspicious is that one of Richard's commits in May fixed the issue. In turn
> that probably means that backing out the patch for PR50640 only works for 4.7
> and not for 4.8

I assume you mean the other way around, right? The patch of comment 7 *does*
work on trunk. I just checked that applying it on the 4.7 branch revives the
old ICE on select_type_12.

So, should we apply the patch only on trunk for now?


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (12 preceding siblings ...)
  2012-09-11 15:57 ` janus at gcc dot gnu.org
@ 2012-09-20 10:28 ` jakub at gcc dot gnu.org
  2012-10-31 21:56 ` janus at gcc dot gnu.org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-09-20 10:28 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.2                       |4.7.3

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-20 10:18:09 UTC ---
GCC 4.7.2 has been released.


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

* [Bug fortran/53718] [4.7/4.8 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (13 preceding siblings ...)
  2012-09-20 10:28 ` jakub at gcc dot gnu.org
@ 2012-10-31 21:56 ` janus at gcc dot gnu.org
  2012-10-31 22:03 ` [Bug fortran/53718] [4.7 " janus at gcc dot gnu.org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-10-31 21:56 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #13 from janus at gcc dot gnu.org 2012-10-31 21:56:00 UTC ---
Author: janus
Date: Wed Oct 31 21:55:50 2012
New Revision: 193048

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193048
Log:
2012-10-31  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/53718
    * trans.h (GFC_DECL_PUSH_TOPLEVEL): Removed.
    * trans-decl.c (gfc_get_symbol_decl,gfc_generate_function_code): Remove
    GFC_DECL_PUSH_TOPLEVEL.
    (build_function_decl): Do not push __copy procedure to toplevel.

2012-10-31  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/53718
    * gfortran.dg/class_54.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/class_54.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans.h
    trunk/gcc/testsuite/ChangeLog


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

* [Bug fortran/53718] [4.7 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (14 preceding siblings ...)
  2012-10-31 21:56 ` janus at gcc dot gnu.org
@ 2012-10-31 22:03 ` janus at gcc dot gnu.org
  2013-01-27 21:32 ` janus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2012-10-31 22:03 UTC (permalink / raw)
  To: gcc-bugs


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.7/4.8 regression] [OOP]  |[4.7 regression] [OOP]
                   |gfortran generates asm      |gfortran generates asm
                   |label twice in the same     |label twice in the same
                   |output file                 |output file

--- Comment #14 from janus at gcc dot gnu.org 2012-10-31 22:03:39 UTC ---
r193048 fixes the regression on trunk. Unfortunately it cannot be backported to
4.7.


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

* [Bug fortran/53718] [4.7 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (15 preceding siblings ...)
  2012-10-31 22:03 ` [Bug fortran/53718] [4.7 " janus at gcc dot gnu.org
@ 2013-01-27 21:32 ` janus at gcc dot gnu.org
  2013-04-11  8:00 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: janus at gcc dot gnu.org @ 2013-01-27 21:32 UTC (permalink / raw)
  To: gcc-bugs


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |janus at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #15 from janus at gcc dot gnu.org 2013-01-27 21:31:48 UTC ---
The only way I can see to fix this on the 4.7 branch would be to identify the
commit which fixed things on the 4.8 trunk (cf. comment 10), and backport it to
4.7 (if possible).

OTOH, I don't think this bug is extremely critical: It has a simple workaround,
which is to put stuff into modules (this is 'good style' anyway, even more so
for object-oriented code). So, maybe WONTFIX for 4.7?


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

* [Bug fortran/53718] [4.7 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (16 preceding siblings ...)
  2013-01-27 21:32 ` janus at gcc dot gnu.org
@ 2013-04-11  8:00 ` rguenth at gcc dot gnu.org
  2014-06-12 13:12 ` rguenth at gcc dot gnu.org
  2014-06-12 13:33 ` dominiq at lps dot ens.fr
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-04-11  8:00 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.3                       |4.7.4

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-11 07:59:18 UTC ---
GCC 4.7.3 is being released, adjusting target milestone.


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

* [Bug fortran/53718] [4.7 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (17 preceding siblings ...)
  2013-04-11  8:00 ` rguenth at gcc dot gnu.org
@ 2014-06-12 13:12 ` rguenth at gcc dot gnu.org
  2014-06-12 13:33 ` dominiq at lps dot ens.fr
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.7.4                       |4.8.0
      Known to fail|                            |4.7.4

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for 4.8.0?


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

* [Bug fortran/53718] [4.7 regression] [OOP] gfortran generates asm label twice in the same output file
  2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
                   ` (18 preceding siblings ...)
  2014-06-12 13:12 ` rguenth at gcc dot gnu.org
@ 2014-06-12 13:33 ` dominiq at lps dot ens.fr
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-06-12 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.8.3

--- Comment #18 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Fixed for 4.8.0?

I cannot say for 4.8.0, but it is fixed with 4.8.3.


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

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

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18 17:43 [Bug fortran/53718] New: gfortran generates asm label twice in the same output file adrian at llnl dot gov
2012-06-18 18:46 ` [Bug fortran/53718] [4.7/4.8 regression] [OOP] " janus at gcc dot gnu.org
2012-06-18 18:55 ` adrian at llnl dot gov
2012-06-18 20:04 ` janus at gcc dot gnu.org
2012-06-18 20:36 ` dominiq at lps dot ens.fr
2012-06-18 20:45 ` dominiq at lps dot ens.fr
2012-06-19  9:15 ` rguenth at gcc dot gnu.org
2012-06-19 10:35 ` janus at gcc dot gnu.org
2012-06-19 13:13 ` janus at gcc dot gnu.org
2012-06-19 17:36 ` dominiq at lps dot ens.fr
2012-06-20  9:19 ` janus at gcc dot gnu.org
2012-09-07  8:13 ` rguenth at gcc dot gnu.org
2012-09-11 13:48 ` burnus at gcc dot gnu.org
2012-09-11 15:57 ` janus at gcc dot gnu.org
2012-09-20 10:28 ` jakub at gcc dot gnu.org
2012-10-31 21:56 ` janus at gcc dot gnu.org
2012-10-31 22:03 ` [Bug fortran/53718] [4.7 " janus at gcc dot gnu.org
2013-01-27 21:32 ` janus at gcc dot gnu.org
2013-04-11  8:00 ` rguenth at gcc dot gnu.org
2014-06-12 13:12 ` rguenth at gcc dot gnu.org
2014-06-12 13:33 ` 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).