[Bug c++/29809] New: Segmentation fault with 4.1.1 and 4.1-20061110

2006-11-12 Thread chris_clayton at f1internet dot com
I get a segmentation fault with both stock gcc 4.1.1 and the 20061110 4.1.2
snapshot, when trying to build avifile-0.7.45. The error message is:

if i386-pc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../include 
-I/usr/lib/qt3/include -DQT_THREAD_SUPPORT -I/usr/X11R6/include -I../../libavqt
-DI18N_PATH=\"/usr/share/avifile-0.7/i18\" -Wall -Wno-unused -I../../include 
-O3 -march=i386 -fno-strength-reduce -save-temps -MT timertable.o -MD -MP -MF
".deps/timertable.Tpo" -c -o timertable.o timertable.cpp; \
then mv -f ".deps/timertable.Tpo" ".deps/timertable.Po"; else rm -f
".deps/timertable.Tpo"; exit 1; fi
timertable.cpp: In member function 'void TimerTableItem::setTable(int,
QDateTime, QTime, QString, QString, int, int, QString)':
timertable.cpp:1371: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [timertable.o] Error 1
make[1]: Leaving directory
`/home/users/chris/tmp/avifile-0.7-0.7.45/samples/qtvidcap'
make: *** [all-recursive] Error 1

The info about gcc is as follows:

Using built-in specs.
Target: i386-pc-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/info
--mandir=/usr/man --enable-shared --disable-static --with-system-zlib
--enable-threads=posix --enable-haifa --enable-languages=c,c++,java
--enable-long-long --enable-namespaces --enable-multilib --with-gnu-as
--with-gnu-ld --with-system-zlib --without-x --disable-werror
--disable-checking --enable-__cxa_atexit --disable-nls
--without-included-gettext i386-pc-linux
Thread model: posix
gcc version 4.1.2 20061110 (prerelease)

The preprocessed source is 177Kb, even when bzip2ed. so I'll add it as an
attachment.


-- 
   Summary: Segmentation fault with 4.1.1 and 4.1-20061110
   Product: gcc
   Version: 4.1.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
    AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris_clayton at f1internet dot com
 GCC build triplet: i386-pc-linux
  GCC host triplet: i386-pc-linux
GCC target triplet: i386-pc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29809



[Bug c++/29809] Segmentation fault with 4.1.1 and 4.1-20061110

2006-11-12 Thread chris_clayton at f1internet dot com


--- Comment #1 from chris_clayton at f1internet dot com  2006-11-12 09:35 
---
Created an attachment (id=12596)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12596&action=view)
Preprocessed source


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29809



[Bug middle-end/28116] [4.1 Regression] ICE when building konverter with gcc-4.1 with -O3 [RSO]

2006-11-26 Thread chris_clayton at f1internet dot com


--- Comment #11 from chris_clayton at f1internet dot com  2006-11-26 12:54 
---
I'm the reporter of 29809, which is a duplicate of this bug. I'm not familiar
with the workflow here, so do I simply wait for 4.1.2 or is there likely to be
patch to test before 4.1.2 is released? Is the patch at comment 4 of bug 29809
worth testing - the author seemed to think it was too simple to be true :)?

Thanks


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28116



[Bug middle-end/28116] [4.1 Regression] ICE when building konverter with gcc-4.1 with -O3 [RSO]

2006-11-26 Thread chris_clayton at f1internet dot com


--- Comment #13 from chris_clayton at f1internet dot com  2006-11-26 21:22 
---
(In reply to comment #12)
> Usually you wait until a patch is available or 4.1.2 is released (supposed the
> problem is fixed there).  You can try testing the ad-hoc fix in PR29809 
> comment
> #4.
> 

OK, I've updated to the 20061124 snapshot. Without the patch at PR29809, I get
the ICE building avifile-0.7.45 and konverter-0.92-beta1. With the patch, both
builds complete. From my, admittedly minimal, testing, konverter seems to be
working OK. Unfortunately, I don't have the hardware to test the sample
application from the avifile package.

Hope this helps.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28116