On Fri, Aug 15, 2014 at 10:41 AM, lh_mouse <lh_mo...@126.com> wrote: > // ice.cpp > void foo() noexcept { > __builtin_ia32_pause(); > } > // EOF > > The above code will result in an ICE when compiled to i686 code: > > E:\Desktop>g++ ice.cpp -std=c++14 -m32 -c > ice.cpp: In function 'void foo()': > ice.cpp:3:1: internal compiler error: in ix86_compute_frame_layout, at > config/i386/i386.c:9510 > } > ^ > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://sourceforge.net/projects/mingw-w64> for instructions. > > If compiled to x86_64 code it won't ICE on Windows. Neither on linux does it > ICE. (gcc 4.9.0) > Any ideas?
Confirmed. This is a gcc assert failed: gcc_assert (preferred_alignment <= stack_alignment_needed); ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public