#1682 Error unrecognizable insn

OTHER
closed
nobody
gcc (462)
rejected
No_User_Response
2013-04-13
2012-12-09
Giles
No

MinGW 4.7.1 fails to compile this code:

#include <stdio.h>
static FILE *volatile fd;
void f(void) { fd = stdout; }

Producing the following error:

D:\Sources\src\DE\Test.cpp: In function 'void f()':
D:\Sources\\src\DE\Test.cpp:3:52: error: unrecognizable insn:
(insn 8 7 9 3 (set (mem/v/f/c:SI (symbol_ref:SI ("_ZL2fd") [flags 0x2] <var_decl 050d88a0 fd>) [0 fd+0 S4 A32])
(const:SI (plus:SI (symbol_ref:SI ("_iob") [flags 0x440] <var_decl 05096c60 _iob>)
(const_int 32 [0x20])))) D:\DubEdit\src\DE\Test.cpp:3 -1
(nil))
D:\Sources\src\DE\Test.cpp:3:52: internal compiler error: in extract_insn, at recog.c:2123

Related

Issues: #1683

Discussion

  • Earnie Boyd

    Earnie Boyd - 2012-12-19

    I assume you mean GCC 4.7.1. We didn't distribute that version. Try with 4.7.2 to see if it is resolved already. If not open a report with GCC http://gcc.gnu.org/bugs

     
  • Earnie Boyd

    Earnie Boyd - 2012-12-19
    • status: open --> closed-rejected
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-25
    • labels: MinGW --> gcc
    • status: closed-rejected --> closed
    • resolution: --> rejected
    • category: --> No_User_Response
    • milestone: --> OTHER
     
  • Niels Kristian Bech Jensen

    Fixed in GCC 4.7.3.

    Best regards,
    Niels Kristian Bech Jensen

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks