Closed nenadv closed 8 years ago
This is 'struct' pointer representation.
-fupc-pts=struct -O1 -g
AMDG
On 05/02/2016 10:30 PM, Nenad Vukicevic wrote:
This is 'struct' pointer representation.
-fupc-pts=struct -O1 -g
I can't reproduce this. Let me try a debug build.
In Christ, Steven Watanabe
Yes, it is with the debug build.
BTW. Last night build/test completed without errors. All the testing was with Berkeley harness (self Clang UPC, upcc with upc2c and cupc options). But none of the configurations is using '-g' with optimization flags.
AMDG
On 05/03/2016 10:36 AM, Nenad Vukicevic wrote:
Yes, it is with the debug build.
BTW. Last night build/test completed without errors. All the testing was with Berkeley harness (self Clang UPC, upcc with upc2c and cupc options). But none of the configurations is using '-g' with optimization flags.
It looks like this is an old problem that previous versions of clang didn't detect. Basically, the debug info for pointers to shared is written as if they were pointers. This mostly works for the packed representation, but fails for -fupc-pts=struct because the size is wrong.
In Christ, Steven Watanabe
I am getting internal error while compiling test04.upc.
Seems it fails if optimization with "-g" is specified (e.g. -g -O1).