Re: ICE: -flto and -g

2010-04-21 Thread Richard Guenther
On Wed, Apr 21, 2010 at 9:03 PM, Adrian von Bidder wrote: > Heyho! > > I strongly suspect that mixing -flto and -g might not be a well supported > option right now ... > > Still I also suspect an ICE is not supposed to happen.  (I was trying to > recompile Debian's KDE packages with -flto; the pac

Re: ICE: -flto and -g

2010-04-21 Thread Duncan Sands
$ /usr/bin/g++-4.5 -O0 -g -flto -o kfinddialog.o -c kfinddialog.ii ../../kdeui/findreplace/kfinddialog.cpp: In member function ‘RegExpAction’: ../../kdeui/findreplace/kfinddialog.cpp:445:9: internal compiler error: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in gen_type_d

ICE: -flto and -g

2010-04-21 Thread Adrian von Bidder
Heyho! I strongly suspect that mixing -flto and -g might not be a well supported option right now ... Still I also suspect an ICE is not supposed to happen. (I was trying to recompile Debian's KDE packages with -flto; the packaging by default uses -g - O2) gcc Debian package 4.5.0-2 on amd64