compiling KDE3-rc3/kdemultimedia-3.0rc3/kmidi/resample.cpp
Gwenole Beauchesne
gbeauchesne@mandrakesoft.com
Fri Apr 12 07:24:00 GMT 2002
On Thu, 11 Apr 2002, Richard Henderson wrote:
> On Thu, Apr 11, 2002 at 04:20:48PM +0200, Lorenzo Delana wrote:
> > GNU C++ version 3.0.3 (i686-pc-linux-gnu)
> > compiled by GNU C version 3.0.3.
> > resample.cpp: In function `void pre_resample(Sample*)':
> > resample.cpp:1274: warning: assignment to `short int' from `double'
> > resample.cpp:1274: warning: argument to `short int' from `double'
> > resample.cpp:1298: Internal compiler error in print_rtl_and_abort, at flow.c:
> > 6458
>
> Doesn't happen with 3.1.
That's a duplicate of PR middle-end/5822 which duplicates PR c/5250. A
workaround is to disable register renaming at -O3. i.e. The
above-mentioned file would compile with -O3 -fno-rename-registers.
I don't have a real solution. I had suggested to disable NOOP_MOVES
optimization which appeared to fix the problem. But that was too dramatic.
;-)
Thread started here:
<http://gcc.gnu.org/ml/gcc-patches/2002-02/msg00624.html>
Bye,
Gwenole.
More information about the Gcc-bugs
mailing list