[Bug target/28629] [4.1] Segfault with --march=pentium-m -O2 when compiling faac
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-08-24 12:53 --- Also works on mainline (4.3). -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.2.0 4.3.0 Summary|Segfault with --|[4.1] Segfault with -- |march=pentium-m -O2 when|march=pentium-m -O2 when |compiling faac |compiling faac http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28629
[Bug target/28629] [4.1] Segfault with --march=pentium-m -O2 when compiling faac
--- Comment #8 from zuxy dot meng at gmail dot com 2007-08-25 08:21 --- Is it possible that the reason may be that I compiled gcc with additional CFLAGS? I added -march=pentium-m -ftree-vectorize -mfpmath=sse,387 and -fomit-frame-pointer in addition to -O2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28629
[Bug target/28629] [4.1] Segfault with --march=pentium-m -O2 when compiling faac
--- Comment #9 from zuxy dot meng at gmail dot com 2007-08-25 17:14 --- I've confirmed that the problem is caused by '-ftree-vectorize' passed to compile gcc. More precisely, a 'movdqa' instruction in constraint_operands() accessed an unaligned memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28629
[Bug target/28629] [4.1] Segfault with --march=pentium-m -O2 when compiling faac
--- Comment #10 from dorit at gcc dot gnu dot org 2007-08-26 07:49 --- (In reply to comment #9) > I've confirmed that the problem is caused by '-ftree-vectorize' passed to > compile gcc. More precisely, a 'movdqa' instruction in constraint_operands() > accessed an unaligned memory. since this is reported to work on 4.2 and 4.3, I wonder if it's related to the fix for PR25413 (which was committed to 4.2 and 4.3). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28629