From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2
Description of problem:
While compiling a program, we got the following output.
cc -O3 bilayertj_properties.c -obtj.out -lm -llapack -lblas -lg2c
bilayertj_properties.c: In function `getHopProby':
bilayertj_properties.c:2188: internal compiler error: in find_function_data, at function.c:315
Please submit a full bug report,
Version-Release number of selected component (if applicable):
cc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Steps to Reproduce:
1.Just compile with the command given in description. I am attaching the preprocessed source.
Created attachment 114060 [details]
Preprocessed source file.
There are bugs in the VLA support in 3.4.x, fixed in GCC 4.0, but not feasible
for backporting. Furthermore, in your testcase the use of VLAs in arguments
is completely useless.
(In reply to comment #2)
> There are bugs in the VLA support in 3.4.x, fixed in GCC 4.0, but not feasible
> for backporting. Furthermore, in your testcase the use of VLAs in arguments
> is completely useless.
Thank you. We will change the code to remove VLA. However, we had successfully
compiled this code under 3.2 and obtained some results(These are time consuming
calculations). Now, should we trust those results?
Please accept our apology if we are not supposed to ask such questions here.