public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/51089] New: [4.7 Regression] internal compiler error: verify_flow_info failed
@ 2011-11-10 21:15 Joost.VandeVondele at pci dot uzh.ch
  2011-11-30 13:05 ` [Bug middle-end/51089] " Joost.VandeVondele at mat dot ethz.ch
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-11-10 21:15 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51089
           Summary: [4.7 Regression] internal compiler error:
                    verify_flow_info failed
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Joost.VandeVondele@pci.uzh.ch


The following testcase ICEs:

MODULE xc_tfw
  INTEGER, PARAMETER :: dp=8
CONTAINS
  SUBROUTINE tfw_lda_eval ( ) 
    LOGICAL                                  :: failure
    REAL(KIND=dp), ALLOCATABLE, DIMENSION(:) :: s
    REAL(KIND=dp), DIMENSION(:, :, :), POINTER :: grho, rho
    IF (.NOT. failure) THEN
       IF ( order>=2.OR.order==-2 ) THEN
          CALL tfw_u_2 ( rho, grho,  s,  error )
       END IF
         CALL cp_a_l(0==1,cp_warning_level,routineP,16)
    END IF
  END SUBROUTINE tfw_lda_eval
  SUBROUTINE tfw_p_3 ( npoints ) 
!$omp parallel do private(ip)
    DO ip = 1, npoints
    END DO
  END SUBROUTINE tfw_p_3
END MODULE xc_tfw

For the following specific set of compile flags

gfortran -c -fopenmp -O1 -fexceptions bug.f90
bug.f90: In function ‘tfw_lda_eval’:
bug.f90:16:0: error: verify_flow_info: Duplicate edge 16->17
bug.f90:16:0: internal compiler error: verify_flow_info failed
Please submit a full bug report,

gcc version 4.7.0 20111110 (experimental) [trunk revision 181265] (GCC) 
COLLECT_GCC_OPTIONS='-c' '-fopenmp' '-O2' '-fexceptions' '-v' '-mtune=generic'
'-march=x86-64' '-pthread'


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

* [Bug middle-end/51089] [4.7 Regression] internal compiler error: verify_flow_info failed
  2011-11-10 21:15 [Bug middle-end/51089] New: [4.7 Regression] internal compiler error: verify_flow_info failed Joost.VandeVondele at pci dot uzh.ch
@ 2011-11-30 13:05 ` Joost.VandeVondele at mat dot ethz.ch
  2011-11-30 13:53 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2011-11-30 13:05 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2011-11-30
   Target Milestone|---                         |4.7.0

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2011-11-30 12:49:32 UTC ---
still fails with current trunk


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

* [Bug middle-end/51089] [4.7 Regression] internal compiler error: verify_flow_info failed
  2011-11-10 21:15 [Bug middle-end/51089] New: [4.7 Regression] internal compiler error: verify_flow_info failed Joost.VandeVondele at pci dot uzh.ch
  2011-11-30 13:05 ` [Bug middle-end/51089] " Joost.VandeVondele at mat dot ethz.ch
@ 2011-11-30 13:53 ` dominiq at lps dot ens.fr
  2011-11-30 16:16 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-11-30 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-11-30 13:04:57 UTC ---
Revision 180683 is OK.


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

* [Bug middle-end/51089] [4.7 Regression] internal compiler error: verify_flow_info failed
  2011-11-10 21:15 [Bug middle-end/51089] New: [4.7 Regression] internal compiler error: verify_flow_info failed Joost.VandeVondele at pci dot uzh.ch
  2011-11-30 13:05 ` [Bug middle-end/51089] " Joost.VandeVondele at mat dot ethz.ch
  2011-11-30 13:53 ` dominiq at lps dot ens.fr
@ 2011-11-30 16:16 ` jakub at gcc dot gnu.org
  2011-11-30 22:08 ` jakub at gcc dot gnu.org
  2011-11-30 23:27 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-30 16:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-30 15:23:45 UTC ---
Created attachment 25954
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25954
gcc47-pr51089.patch

Untested fix.


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

* [Bug middle-end/51089] [4.7 Regression] internal compiler error: verify_flow_info failed
  2011-11-10 21:15 [Bug middle-end/51089] New: [4.7 Regression] internal compiler error: verify_flow_info failed Joost.VandeVondele at pci dot uzh.ch
                   ` (2 preceding siblings ...)
  2011-11-30 16:16 ` jakub at gcc dot gnu.org
@ 2011-11-30 22:08 ` jakub at gcc dot gnu.org
  2011-11-30 23:27 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-30 22:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-30 21:59:08 UTC ---
Author: jakub
Date: Wed Nov 30 21:59:04 2011
New Revision: 181859

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181859
Log:
    PR middle-end/51089
    * tree-eh.c (cleanup_empty_eh_merge_phis): Add check to
    avoid creating duplicate edges here.
    (cleanup_empty_eh_unsplit): And remove it in the caller.

    * gfortran.dg/gomp/pr51089.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/gomp/pr51089.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-eh.c


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

* [Bug middle-end/51089] [4.7 Regression] internal compiler error: verify_flow_info failed
  2011-11-10 21:15 [Bug middle-end/51089] New: [4.7 Regression] internal compiler error: verify_flow_info failed Joost.VandeVondele at pci dot uzh.ch
                   ` (3 preceding siblings ...)
  2011-11-30 22:08 ` jakub at gcc dot gnu.org
@ 2011-11-30 23:27 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-30 23:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-30 22:07:33 UTC ---
Fixed.


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

end of thread, other threads:[~2011-11-30 22:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-10 21:15 [Bug middle-end/51089] New: [4.7 Regression] internal compiler error: verify_flow_info failed Joost.VandeVondele at pci dot uzh.ch
2011-11-30 13:05 ` [Bug middle-end/51089] " Joost.VandeVondele at mat dot ethz.ch
2011-11-30 13:53 ` dominiq at lps dot ens.fr
2011-11-30 16:16 ` jakub at gcc dot gnu.org
2011-11-30 22:08 ` jakub at gcc dot gnu.org
2011-11-30 23:27 ` jakub 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).