The attached source code(s) produce the subject error. 
Scenario: gfortran with provisional patches for PR41656 and PR 41581 applied. 
-------------------------------------------------------------------
[sfili...@localhost T3]$ gfortran -c const_mod.f03 base_mat_mod.f03
s_base_mat_mod.f03 s_csr_mat_mod.f03 s_mat_mod.f03 
s_mat_mod.f03: In function ‘s_sizeof’:
s_mat_mod.f03:47:0: error: case labels not sorted: 
case 1: is greater than case 1: but comes before it.
s_mat_mod.f03:47:0: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--------------------------------------------------------------------
Interestingly enough if I glue the files together the ICE disappears 
(which is inconvenient for testing).
-------------------------------------------------------------------
[sfili...@localhost T3]$ cat  const_mod.f03 base_mat_mod.f03 s_base_mat_mod.f03
s_csr_mat_mod.f03 s_mat_mod.f03  >test-der6.f03 
[sfili...@localhost T3]$ gfortran -c test-der6.f03 
[sfili...@localhost T3]$ /bin/rm *mod *o
[sfili...@localhost T3]$ gfortran -c test-der6.f03 
[sfili...@localhost T3]$ 
-----------------------------------------------------------------------


-- 
           Summary: [OOP]  internal compiler error: verify_flow_info failed
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sfilippone at uniroma2 dot it
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to