-
The following C++ program is well-formed:
```
int i;
struct A {
int b : 1 ? 1 : i = {} = 0;
};
int main() {}
```
The grammar for _assignment-expression_ does not permit `{}` on the le…
-
For example, Clang has [`#pragma loop`](http://clang.llvm.org/docs/LanguageExtensions.html#extensions-for-loop-hint-optimizations) which allow the programmer to guide loop unrolling, vectorization, an…
-
Hi.
ARM is becoming more and more popular architecture on servers (AWS with Gravitons, GCP with Ampere (AFAIK), other cloud providers) and even for local development (Mac M1 and some of the newest …
-
| | |
|--------------------|----|
| Bugzilla Link | [PR50037](https://bugs.llvm.org/show_bug.cgi?id=50037) |
| Status | NEW |
| Importance | P normal |
|…
-
With assertion-enabled flang-new, the following program causes an assertion failure.
Reproducer:
```f90
!$omp critical
!$omp do simd
!$omp end critical
end
```
Assertion:
```txt
/usr/bin…
-
```cpp
struct MyThing {
const std::string& s;
};
MyThing makeThing(std::string s) {
return MyThing(s);
}
```
https://godbolt.org/z/6335YcKMM
Obviously this also doesn't work `gsl:…
usx95 updated
1 month ago
-
From https://gcc.gnu.org/PR94231:
```c++
struct F {F(F&&)=delete;};
template
struct M {
F f;
M();
M(const M&);
M(M&&);
};
template
M::M(M&&)=default;
…
-
I noticed that Flang-new does not perform constant propagation as I would have expected. I made two simple test programs in C and Fortran using reductions in OpenMP. The programs are the following:
…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR48713](https://bugs.llvm.org/show_bug.cgi?id=48713) |
| Status | NEW |
| Importance | P enhancemen…
-
Compiler Explorer: [https://godbolt.org/z/ccxeE7exq](https://godbolt.org/z/ccxeE7exq)
Attempting to compile the following program with Clang Assertion Trunk:
```c
typedef union {
_Complex floa…