[forwarded from http://bugs.debian.org/440287]
seen with current 4.1 and 4.2 branches, not seen on the trunk. Matthias While trying to compile the 2.6.23-rc4 snapshots from buildserver.net on hppa, gcc went in some kind of endless loop over the following command hppa64-linux-gnu-gcc-4.1 -Wp,-MD,fs/ocfs2/.alloc.o.d -nostdinc -isystem /usr/lib/gcc/hppa64-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -fno-cse-follow-jumps -Os -pipe -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000 -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -Ifs/ocfs2 -DCATCH_BH_JBD_RACES -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(alloc)" -D"KBUILD_MODNAME=KBUILD_STR(ocfs2)" -c -o fs/ocfs2/.tmp_alloc.o fs/ocfs2/alloc.c this is for the parisc64-smp flavour, all other flavours seem to build fine. I had no time yet to investigate the differences. Building with -O0 seems to work, -O1/-O2/-Os all show the bug. -- Summary: [4.1 4.2] endless loop while trying to compile 2.6.23- rc4 Product: gcc Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org GCC target triplet: hppa64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34815