Bug 23728

Summary: [4.0 regression] [m68k] ICE (Segmentation fault) building python
Product: gcc Reporter: Debian GCC Maintainers <debian-gcc>
Component: targetAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: gcc-bugs, pinskia, schwab
Priority: P3 Keywords: ice-on-valid-code
Version: 4.0.2   
Target Milestone: 4.1.0   
Host: Target: m68k-linux
Build: Known to work: 3.4.5 4.1.0
Known to fail: 4.0.2 Last reconfirmed:
Attachments: preprocessed source

Description Debian GCC Maintainers 2005-09-05 11:35:26 UTC
4.0 CVS 20050821, works with gcc-3.4.4 and 4.1.0 20050726, or with lowering the
optimization to -O2

gcc -pthread -save-temps -O3 -c -fno-strict-aliasing -DNDEBUG -g -Wall
-Wstrict-prototypes -I. -I../Include  -DPy_BUILD_CORE -o Parser/acceler.o
../Parser/acceler.c
../Parser/acceler.c: In function 'PyGrammar_AddAccelerators':
../Parser/acceler.c:32: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Debian GCC Maintainers 2005-09-05 11:36:35 UTC
Created attachment 9666 [details]
preprocessed source
Comment 2 Andrew Pinski 2005-09-05 14:11:31 UTC
Works for me with a cross compile from powerpc-darwin to m68k-linux-gnu build from 
4.0.2 20050826 sources.  cc1 was built at -O0.
Comment 3 Gabriel Dos Reis 2007-02-03 15:38:59 UTC
Fixed in 4.1.0 and higher.