[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] Bug Report on FFT package in GSL v1.11

From: 李一鸣
Subject: [Bug-gsl] Bug Report on FFT package in GSL v1.11
Date: Sat, 6 Dec 2008 19:06:03 +0000

Dear Sir/Madam:

Here is the bug details:

GSL Version: 1.11
Hardware: Core 2 Duo T8300, DDR2 667 1GBx2
Operating System: Windows XP SP3
Compiler: Microsoft Visual C++ 2008 SP1
Main Compiler Options: -nologo -MT -TC -O2 -c
Bug Behavior: The built-in test case for FFT package in GSL crashes. So does
the example fftreal.c.

The library is built by MSVC 2008 SP1 with a MSVC 2003 project file offered


This bug only occurs when using the library built with compiler optimization
enabled (-O2, -O1 or -Ox). The debugging built of this library passes all
the test cases. The problem has been located at the source files in src/fft:
hc_pass_4.c, hc_pass_5.c and real_pass_5.c. By disabling optimization for
the functions defined in the above files, the bug can be avoided at a cost
of runtime efficiency. This bug may result from either the Microsoft C/C++
Compiler or GSL itself.

The project file for building GSL and config.h have been attached in this
email. Just unzip is under GSL src.

If the reason of the bug is discovered, please don't hesitate to tell me.


Mr. Gan Li
6th 12 2008

Attachment: project files.7z
Description: Binary data

Attachment: config.h
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]