http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138
Bug #: 55138
Summary: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: maj
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53541
Bug #: 53541
Summary: gcc-4.6.2 segfaults on dumping tree information
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: major
Pri
-end
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Simple test:
#include
unsigned long a, c;
unsigned b;
int d, e;
long f() {
unsigned long g = 0;
for (d = 0; d < 5; d += 2)
for (e = 0; e <
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Reproduction after creduce:
---
a, b, c, d, f, g, h, i, j, k;
unsigned long e;
l(m) {
unsigned n = 0;
unsigned long o = g + (e >> 5) - 7;
for (; j; j++)
g = g +
: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Minimized reproduction:
double a, b;
void f() {
a = b * b * (628972 + b - 628972);
}
Compile with:
gcc -msse4 -ffast-math -Os -S minimize.c -fno-builtin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86991
--- Comment #9 from Tilir ---
One more test case:
int b[11], e[11], c, d;
void f() {
unsigned g, h;
for (; g < 11; g += 2) {
c = 2;
for (; c; c += 3) {
h = 1;
for (; h < 11; h++)
e[h] = e[h] + d - b[g];
}
}
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Reproduction after creduce:
---
a, b, d;
unsigned c;
float e, f, g;
h() {
float *i = &g;
for (; c < 10;
: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Reproduction:
---
#include
unsigned b[11];
unsigned c;
int d, e, f;
char en;
int main() {
for (; e < 100; e += 3) {
printf("b[0] = %u\n", b
: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Minimal reproduction:
int b;
extern unsigned c[];
unsigned d;
long e;
void f() {
unsigned g, h
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Reproduction:
long b;
unsigned c[5];
unsigned long long d = 3;
int e, f, g;
void h() {
for (; f < 11; f++) {
b = g;
for (e = 0; e <
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Reproduction (after creduce, sorry for that code):
b;
d;
e() {
unsigned f;
unsigned g;
int h;
long i = 901380;
for (;;) {
d
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Reproduction (after creduce, sorry for that code):
typedef unsigned a[8];
a b, g;
int c, d, e, f;
int h() {
unsigned
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Simple test:
---
struct U {
unsigned s: 1;
};
struct V {
unsigned short o: 7;
unsigned short u: 1;
};
extern struct U t[];
extern struct V d[];
unsigned
foo
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Created attachment 35903
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35903&action=edit
reproduction
Using gc
: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Minimized test case (note explicit unsigned long cast):
---
#include
int a = 0xecfb39f5;
unsigned short *d = (unsigned short *) &a;
int
main (void)
{
Severity: major
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Created attachment 38863
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38863&action=edit
mi
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Minimal reproducer is here: https://godbolt.org/z/rd4e9a
struct S {
explicit S(int, int, int) {}
};
struct T {
T
: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
See code here:
https://godbolt.org/z/T9Ma7qe3E
struct A {
virtual int foo() { return 1; }
};
struct B : A {
int foo() override { return 2; }
virtual int
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Consider I have this type:
---
struct Type {
int a;
const int& b;
constexpr Type() : a(1), b(a) {}
};
constexpr
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Consider this code:
---
enum class MyPrettyEnum {
Value = 0,
};
consteval int process(int
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117382
--- Comment #1 from Tilir ---
Live example: https://godbolt.org/z/nrW7M4W3j
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: konstantin.vladimirov at gmail dot com
Target Milestone: ---
Source code:
struct S {
int a[4];
};
int foo(struct S s) {
return s.a[3];
}
Generated assembly:
foo:
addisp,sp,-16 # useless
srai
23 matches
Mail list logo