Bug 23728 - [4.0 regression] [m68k] ICE (Segmentation fault) building python
Summary: [4.0 regression] [m68k] ICE (Segmentation fault) building python
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.0.2
: P3 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2005-09-05 11:35 UTC by Debian GCC Maintainers
Modified: 2007-02-03 15:38 UTC (History)
3 users (show)

See Also:
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 (36.90 KB, application/x-gzip)
2005-09-05 11:36 UTC, Debian GCC Maintainers
Details

Note You need to log in before you can comment on or make changes to this bug.
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.