This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
However, the bug is not fully fixed. If you try the testcase in the bugreport, you will see that it still fails - the stat= is correctly set, but the array shape is wrong.
The problem is that the "a.dim" setting should be done after allocation in the inner loop - also the a.offset is misplaced. If possible, one should also move the "D.1585" into the inner "else" block, which would save one from using the following code in case the memory is already allocated:
D.1585 = a.data; ... a.data = D.1585;
Daniel. -- I'm not overweight, I'm undertall.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |