https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103216
mcccs at gmx dot com changed:
What|Removed |Added
CC||mcccs at gmx dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86604
mcccs at gmx dot com changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082
--- Comment #4 from mcccs at gmx dot com ---
(In reply to Fabian Groffen from comment #3)
> The problem with this snippet is that it doesn't work on Frameworks, does
> it? At least for me, it seems it searches from usr/include only
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
At
https://gcc.gnu.org/onlinedocs/gfortran/Further-Interoperability-of-Fortran-with-C.html#Further-Interoperability-of-Fortran-with-C
outdated statement:
> GNU Fortran always u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082
--- Comment #2 from mcccs at gmx dot com ---
Reported on the "other side" https://bugs.llvm.org/show_bug.cgi?id=44406
Changing it to enum works too, my only doubt is that it has a different width
and sign (but better than not compiling
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
This bug has existed for at least two years.
In Authorization.h:
```
static const size_t kAuthorizationExternalFormLength = 32;
typedef struct {
char bytes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348
MCCCS changed:
What|Removed |Added
CC||mcccs at gmx dot com
--- Comment #2 from MCCCS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531
--- Comment #6 from MCCCS ---
After reading your comment, I noticed that
there were two things I forgot to mention:
1 - availability.h is the file where
"API_AVAILABLE" is defined for Clang.
2 - the part of the file the patch
changes is 1:1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531
--- Comment #4 from MCCCS ---
Iain could you please test if this patch works for you
too? If so, I'll send it as a patch tomorrow
(For me, it even fixes g++.dg/other/darwin-cfstring1.C):
Index: fixincludes/fixincl.x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531
MCCCS changed:
What|Removed |Added
CC||mcccs at gmx dot com
--- Comment #2 from MCCCS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88645
MCCCS changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88645
--- Comment #1 from MCCCS ---
Typo: fix can be added to "decl_with_nonnull_addr_p"
of "/c-family/c-common.c" if anyone is interested.
: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
OS: Darwin/macOS
Test vector:
extern void a (void) __attribute__
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88035
MCCCS changed:
What|Removed |Added
CC||mcccs at gmx dot com
--- Comment #1 from MCCCS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86393
--- Comment #7 from MCCCS ---
The problem was that the LLVM assembler required -mavx512f. I've researched it
and found that this LLVM bug was fixed months and shipped with LLVM 7. Apple
updates Xcode's LLVM with one year delay, and it should be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88353
MCCCS changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86393
MCCCS changed:
What|Removed |Added
CC||mcccs at gmx dot com
--- Comment #5 from MCCCS
: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
Note: You can skip to the tldr.
#include
int main(void) {
__m512i a;
a = _mm512_conflict_epi32(a);
return (int)a[1];
}
$ gcc-8
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
N2260 ( http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2260.pdf )
has been integrated to C2X, according to
https://gustedt.wordpress.com/2018/11/12/c2x/ .
Code taken
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87788
--- Comment #16 from MCCCS ---
Hi, could you please change the component from "bootstrap"
to "d" ? The same error occurs during non-bootstrap
compiling too. Otherwise this is in the wrong category,
people might not see this and send duplicates.
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: mcccs at gmx dot com
Target Milestone: ---
macOS 10.14.1
compiled with GCC 8.2
/Users/username/Downloads/gcc-trunk/gcc/d/dmd/constfold.c:1162:50: error:
conversion from 'real_t' {aka
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
On this page: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
(invoke.texi)
It says:
@option{-Os} disables the following optimization flags:
@gccoptlist{-falign-functions -falign
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
(~x & y) | ~(x | y)
(x | y) ^ (x | ~y)
(x & y) | ~(x | y)
(~x | y) ^ (x ^ y)
(x ^ y) | ~(x | y)
Patch ready, will send it soon. Submitted here to reserve a `prABCDE.c` file in
gcc.dg.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87186
--- Comment #4 from MCCCS ---
Flags: -O2 -fdump-tree-original
Code:
int f1 (int x, int s) {
return ~(~(x|s)|x)|~(~(x|s)|s);
}
int f2 (int x, int s) {
const int t = x|s;
return ~(~t|x)|~(~t|s);
}
int f3 (int x, int s) {
const int t = ~(x|s);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87186
--- Comment #1 from MCCCS ---
It can simplify
~(~(x|s)|x)|~(~(x|s)|s)
to
s^x
but it can't simplify
const int t = x|s;
~(~t|x)|~(~t|s)
or
const int t = ~(x|s);
~(t|x)|~(t|s)
or
const int t = ~x&~s;
~(t|x)|~(t|s)
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87009
--- Comment #1 from MCCCS ---
Proposed patch:
Index: gcc/match.pd
===
--- gcc/match.pd(revision 263646)
+++ gcc/match.pd(working copy)
@@ -776,6 +776,11 @@
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
Optimization: -Ofast
Suggested debugging layout: https://godbolt.org/g/ERWctt
int xor_int(int a, int b) {
...
}
Don't work:
int x = ~(a|b);
return ~(x|a)|~(x
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
I've looked at match.pd, and spotted missing
properties of logarithm. I could poorly write
the code for two, still needs to check that
the log base is the same:
(for logs (LOG LOG2
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
Summary: The compiler thinks variables as of the widest domain.
(32 bits for int, 64 bits for int64_t) It's possible to optimize
further by giving the compiler a hint
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86136
--- Comment #3 from MCCCS ---
What about
unsigned int k (unsigned int a) {
if (a > 5) {
__builtin_unreachable();
}
return (a * 83) % 5;
}
: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
This has been happening since ~5 days ago.
-v output:
Using built-in specs.
COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++
COLLECT_LTO_WRAPPER=/opt/compiler-explorer/gcc-trunk-20180611/bin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86136
--- Comment #1 from MCCCS ---
Note: It can notice (a * n) % k = 0 if n is a multiple of k. The bug happens
only if n % k != 0.
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
Optimization: Ofast
GCC can't see that
(a * n) % k = (a * (n % k)) % k
(even) when n is known at compile time.
As a result,
int k (int a) {
return (a * t) % 5;
}
always
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
GCC: 8 or 9/trunk
Optimization: O3 or Ofast
Code:
```
int PolyMod(int s);
void CreateChecksum(int isTe
: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: mcccs at gmx dot com
Target Milestone: ---
GCC version: trunk/20180407 (also older versions)
Target: x86_64-linux-gnu
Compile options: -Ofast -mavx2 -mfma -Wall
36 matches
Mail list logo