This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ICE on x86_64-pc-mingw32 / g++


I tried to compile basic programs on a Win64 machine using a native
x86_64-pc-mingw32 compiler.  This program works with gcc:

#include <stdio.h>
int main() {
  printf("Hello, world!");
  return 0;
}


I then tried g++ with this (notice I'm not even using cout):

#include <iostream>
int main() {
  return 0;
}

And I get this from g++ -E:

In file included from <built-in>:0:
<built-in>:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Suggestions?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]