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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2016-01-18
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot 
gnu.org
   Target Milestone|---                         |6.0
            Summary|Internal compiler error     |[6 Regression] Internal
                   |fortran c lto               |compiler error fortran c
                   |                            |lto
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  GCC 5 produces

> gcc-5 t.f90 t.c -flto
t.c:1:6: error: variable ā€˜j’ redeclared as function
 void j_ (void);
      ^
t.f90:5:0: note: previously declared here
       COMMON /j/ j_q(  14550)
 ^
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: gcc-5 returned 1 exit status
compilation terminated.
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status


Mine.

Reply via email to