public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47195] New: [4.6 regression] New Fortran test failures
@ 2011-01-06 19:41 hjl.tools at gmail dot com
  2011-01-06 21:10 ` [Bug fortran/47195] " dfranke at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-06 19:41 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 regression] New Fortran test failures
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: franke.daniel@gmail.com


On Linux/ia32, revision 168545 gave:

FAIL: gfortran.dg/defined_operators_1.f90  -O   (test for errors, line 14)
FAIL: gfortran.dg/defined_operators_1.f90  -O  (test for excess errors)
FAIL: gfortran.dg/interface_33.f90  -O  (test for excess errors)

Revision 168539 is OK. They are caused by revision 168542:

http://gcc.gnu.org/ml/gcc-cvs/2011-01/msg00159.html


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

* [Bug fortran/47195] [4.6 regression] New Fortran test failures
  2011-01-06 19:41 [Bug fortran/47195] New: [4.6 regression] New Fortran test failures hjl.tools at gmail dot com
@ 2011-01-06 21:10 ` dfranke at gcc dot gnu.org
  2011-01-06 21:16 ` burnus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dfranke at gcc dot gnu.org @ 2011-01-06 21:10 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Franke <dfranke at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.01.06 20:13:09
                 CC|                            |dfranke at gcc dot gnu.org
     Ever Confirmed|0                           |1


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

* [Bug fortran/47195] [4.6 regression] New Fortran test failures
  2011-01-06 19:41 [Bug fortran/47195] New: [4.6 regression] New Fortran test failures hjl.tools at gmail dot com
  2011-01-06 21:10 ` [Bug fortran/47195] " dfranke at gcc dot gnu.org
@ 2011-01-06 21:16 ` burnus at gcc dot gnu.org
  2011-01-06 21:43 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-06 21:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-06 20:17:24 UTC ---
That's the following patch. The third failure is for the file added by the
committal.

gcc/fortran/:
2011-01-06  Daniel Franke  <franke.daniel@gmail.com>

    PR fortran/33117
    PR fortran/46478
    * parse.c (parse_interface): Remove check for procedure types.
    * interface.c (check_interface0): Verify that procedures are
    either all SUBROUTINEs or all FUNCTIONs.

gcc/testsuite/:
2011-01-06  Daniel Franke  <franke.daniel@gmail.com>

    PR fortran/33117
    PR fortran/46478
    * gfortran.dg/interface_33.f90: New test.


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

* [Bug fortran/47195] [4.6 regression] New Fortran test failures
  2011-01-06 19:41 [Bug fortran/47195] New: [4.6 regression] New Fortran test failures hjl.tools at gmail dot com
  2011-01-06 21:10 ` [Bug fortran/47195] " dfranke at gcc dot gnu.org
  2011-01-06 21:16 ` burnus at gcc dot gnu.org
@ 2011-01-06 21:43 ` dominiq at lps dot ens.fr
  2011-01-06 21:53 ` dfranke at gcc dot gnu.org
  2011-01-06 21:54 ` dfranke at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-01-06 21:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-01-06 21:09:58 UTC ---
> FAIL: gfortran.dg/interface_33.f90  -O  (test for excess errors)

This is fixed by the following patch:

--- ../_clean/gcc/testsuite/gfortran.dg/interface_33.f90    2011-01-06
17:59:52.000000000 +0100
+++ gcc/testsuite/gfortran.dg/interface_33.f90    2011-01-06 22:07:48.000000000
+0100
@@ -1,4 +1,4 @@
-! { dg-do "compile" }
+! { dg-do compile }
 !
 ! PR fortran/33117, PR fortran/46478
 ! Procedures of a generic interface must be either
@@ -10,7 +10,7 @@
 !
 module m1
   interface gen
-    subroutine sub()            ! dg-error { "all SUBROUTINEs or all
FUNCTIONs" }
+    subroutine sub()            ! { dg-error "all SUBROUTINEs or all
FUNCTIONs" }
     end subroutine sub
     function bar()
       real :: bar
@@ -27,7 +27,7 @@ MODULE m2
     MODULE PROCEDURE subr_name
   END INTERFACE
 CONTAINS
-   LOGICAL FUNCTION func_name()  ! dg-error { "all SUBROUTINEs or all
FUNCTIONs" }
+   LOGICAL FUNCTION func_name()  ! { dg-error "all SUBROUTINEs or all
FUNCTIONs" }
    END FUNCTION
    SUBROUTINE subr_name()
    END SUBROUTINE


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

* [Bug fortran/47195] [4.6 regression] New Fortran test failures
  2011-01-06 19:41 [Bug fortran/47195] New: [4.6 regression] New Fortran test failures hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2011-01-06 21:43 ` dominiq at lps dot ens.fr
@ 2011-01-06 21:53 ` dfranke at gcc dot gnu.org
  2011-01-06 21:54 ` dfranke at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dfranke at gcc dot gnu.org @ 2011-01-06 21:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Daniel Franke <dfranke at gcc dot gnu.org> 2011-01-06 21:42:56 UTC ---
Author: dfranke
Date: Thu Jan  6 21:42:53 2011
New Revision: 168554

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168554
Log:
2011-01-06  Daniel Franke  <franke.daniel@gmail.com>

    PR fortran/47195
    * gfortran.dg/interface_33.f90: Fixed dg-error declarations.
    * gfortran.dg/defined_operators_1.f90: Split the subroutine
    from the interface of functions to not hide the errors that
    shall be tested.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/defined_operators_1.f90
    trunk/gcc/testsuite/gfortran.dg/interface_33.f90


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

* [Bug fortran/47195] [4.6 regression] New Fortran test failures
  2011-01-06 19:41 [Bug fortran/47195] New: [4.6 regression] New Fortran test failures hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2011-01-06 21:53 ` dfranke at gcc dot gnu.org
@ 2011-01-06 21:54 ` dfranke at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dfranke at gcc dot gnu.org @ 2011-01-06 21:54 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel Franke <dfranke at gcc dot gnu.org> changed:

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

--- Comment #4 from Daniel Franke <dfranke at gcc dot gnu.org> 2011-01-06 21:44:28 UTC ---
Committed the fixes as obvious. ML-notification to follow. Sorry for the
breakage and thanks for noticing!

Closing.


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

end of thread, other threads:[~2011-01-06 21:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 19:41 [Bug fortran/47195] New: [4.6 regression] New Fortran test failures hjl.tools at gmail dot com
2011-01-06 21:10 ` [Bug fortran/47195] " dfranke at gcc dot gnu.org
2011-01-06 21:16 ` burnus at gcc dot gnu.org
2011-01-06 21:43 ` dominiq at lps dot ens.fr
2011-01-06 21:53 ` dfranke at gcc dot gnu.org
2011-01-06 21:54 ` dfranke 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).