------- Comment #2 from burnus at gcc dot gnu dot org  2007-02-20 13:23 -------
I cannot reproduce the ICE with 4.3.0 20070220/x86_64-unknown-linux-gnu. I get
the following error:

CASE(TRANSFER(.TRUE.,K))
    1
foo.f90:6.5:
CASE(TRANSFER(.FALSE.,K))
    2
Error: CASE label at (1) overlaps with CASE label at (2)

The file compiles correctly with NAGf95, g95 and ifort. (However, ifort calls
wrongly the second abort.)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-20 13:23:53
               date|                            |
            Summary|incorrect error message for |Select case of
                   |valid code                  |case(transfer(...)) wrongly
                   |                            |rejected


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

Reply via email to