search for: n4527

Displaying 6 results from an estimated 6 matches for "n4527".

Did you mean: 4527
2017 Sep 30
2
About LoopDeletion and infinite loops ... again! (RFC?)
...much agreement on the matter, so … here again :D LoopDeletion and infinite loops … Currently LoopDeletion bails if non-detectable trip count loops are encountered and that’s fine, there are languages where infinite loops without side effects cannot be removed. If I read the C++ spec right though N4527 (sec 1.10) point 27 says: 27 The implementation may assume that any thread will eventually do one of the following: 27.1 — terminate, 27.2 — make a call to a library I/O function (27.3)— read or modify a volatile object, or (27.4)— perform a synchronization operation or an atomic operation...
2017 Sep 30
0
About LoopDeletion and infinite loops ... again! (RFC?)
...re again :D > > LoopDeletion and infinite loops … > > Currently LoopDeletion bails if non-detectable trip count loops are > encountered and that’s fine, there are languages where infinite loops > without side effects cannot be removed. > > If I read the C++ spec right though N4527 (sec 1.10) point 27 says: > > 27 The implementation may assume that any thread will eventually do one of > the following: > > 27.1 — terminate, > > 27.2 — make a call to a library I/O function > > (27.3)— read or modify a volatile object, or > > (27.4)— perform a...
2017 Sep 30
4
About LoopDeletion and infinite loops ... again! (RFC?)
...Deletion and infinite loops … >> >> Currently LoopDeletion bails if non-detectable trip count loops are >> encountered and that’s fine, there are languages where infinite loops >> without side effects cannot be removed. >> >> If I read the C++ spec right though N4527 (sec 1.10) point 27 says: >> >> 27 The implementation may assume that any thread will eventually do one of >> the following: >> >> 27.1 — terminate, >> >> 27.2 — make a call to a library I/O function >> >> (27.3)— read or modify a volatile...
2017 Sep 30
0
About LoopDeletion and infinite loops ... again! (RFC?)
...loops … >>> >>> Currently LoopDeletion bails if non-detectable trip count loops are >>> encountered and that’s fine, there are languages where infinite loops >>> without side effects cannot be removed. >>> >>> If I read the C++ spec right though N4527 (sec 1.10) point 27 says: >>> >>> 27 The implementation may assume that any thread will eventually do one of >>> the following: >>> >>> 27.1 — terminate, >>> >>> 27.2 — make a call to a library I/O function >>> >>> (...
2016 Jan 14
8
RFC: Enforcing pointer type alignment in Clang
C 6.3.2.3p7 (N1548) says: A pointer to an object type may be converted to a pointer to a different object type. If the resulting pointer is not correctly aligned) for the referenced type, the behavior is undefined. C++ [expr.reinterpret.cast]p7 (N4527) defines pointer conversions in terms of conversions from void*: An object pointer can be explicitly converted to an object pointer of a different type. When a prvalue v of object pointer type is converted to the object pointer type “pointer to cv T”, the result is static_cast<cv T*>(...
2016 Jan 15
3
[cfe-dev] RFC: Enforcing pointer type alignment in Clang
...g>> wrote: > C 6.3.2.3p7 (N1548) says: > A pointer to an object type may be converted to a pointer to a > different object type. If the resulting pointer is not correctly > aligned) for the referenced type, the behavior is undefined. > > C++ [expr.reinterpret.cast]p7 (N4527) defines pointer conversions in terms > of conversions from void*: > An object pointer can be explicitly converted to an object pointer > of a different type. When a prvalue v of object pointer type is > converted to the object pointer type “pointer to cv T”, the result > is...