I found problems using Cygwin, such code that doesn't compile but generates a segmentation fault inside the compiler. The same code works with MinGW.
[edit] Here is the compiler report:
lista.h: In constructor `Lista::Lista() [with Dado = int]':
principal.cpp:15: instantiated from here
lista.h:13: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
I don't have the source code that generated the error anymore, so I can't submit a report.
[/edit]