Pelles C > Bug reports

Compiler crash when function declaration for more than 2 dimension VLA's is used

<< < (2/3) > >>

John Z:
Well - here it is frankie, no problem using your sources and PRJ file.
See attached screen shot....sorry something going wrong on your system/installation weirdness :(
I built both debug and release....
I double checked FULL selected too.

John Z

oh DAMN I just somehow pulled version 11.00.2 I have two identical HP's I'm so sorry.  I'll boot up the version 12 HP.

Mea culpa!

CONFIRMED on V12.00.2 BAD 11.00.2 GOOD
Building D:\VLADeclare\output\VlaDeclare.obj.
fatal error: Internal error: 'Access violation' at 0x00007ff716b5d69a.
*** Error code: 1 ***
Done.

Well at least that points to changes between.  Sorry to muddy the waters.  I didn't realize I had not upgraded both HP systems.  Lesson for me....

frankie:

--- Quote from: John Z on August 13, 2023, 06:44:46 PM ---CONFIRMED on V12.00.2 BAD 11.00.2 GOOD
Building D:\VLADeclare\output\VlaDeclare.obj.
fatal error: Internal error: 'Access violation' at 0x00007ff716b5d69a.
*** Error code: 1 ***
Done.

--- End quote ---
Thank you very much John for the time spent.  :)
Yes All previous versions worked well with VLA and debug info. This bug is new.  8)

John Z:
Interestingly the bug appears to be in Version 10.00.6 too.

See attached screen shot.  I reinstalled version 10.00.6 to be sure this time  :)

Might be helpful (was, wasn't, is) [ 10,11,12 ]

Can someone else verify?

John Z

TimoVJL:
v9

--- Code: ---Building VlaDeclare.obj.
C:\code\PellesC\_Bugs\v9\VlaDeclare.c(10): fatal error: Internal error: 'Access violation' at 0x0000000140092d2f.
*** Error code: 1 ***

--- End code ---
v10
--- Code: ---Building VlaDeclare.obj.
fatal error: Internal error: 'Access violation' at 0x000000013f81dc46.
*** Error code: 1 ***
Done.

--- End code ---

frankie:
Thanks Timo,
I was sure that this worked with previous versions :(
It should be a problem related to the new PellesC debug symbols.
The function declaration by itself doesn't crash the compiler if isn't followed by the function definition. Maybe the problem happen when the compiler emits the debug symbols for a translation unit that carries both the declaration and the definition.
This allows to use the declaration in an header file to be used in other units.
Timo, please can you test if removing full debug it works?
Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version