Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
Created attachment 48141
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48141&action=edit
Source code reproducing the issue
John Regehr noticed on twitter
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388
krister.walfridsson at gmail dot com changed:
What|Removed |Added
CC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80852
krister.walfridsson at gmail dot com changed:
What|Removed |Added
CC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80600
krister.walfridsson at gmail dot com changed:
What|Removed |Added
CC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520
--- Comment #5 from krister.walfridsson at gmail dot com ---
I have extracted a smaller test case. The loops are generated from
typedef mersenne_twister_engine<
uint_fast32_t,
32, 624, 397, 31,
0x9908b0dfUL,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520
--- Comment #5 from krister.walfridsson at gmail dot com ---
I have extracted a smaller test case. The loops are generated from
typedef mersenne_twister_engine<
uint_fast32_t,
32, 624, 397, 31,
0x9908b0dfUL,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520
--- Comment #3 from krister.walfridsson at gmail dot com ---
You can see the issue in the generated code with
int foo(std::mt19937 &gen)
{
std::uniform_int_distribution dist(0,99);
return dist(gen);
}
too. I.e. it is not jus
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
Target: x86_64-linux-gnu
Created attachment 41266
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41266&action=edit
Te
-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
The function
int foo(int a, int b)
{
int sum = 0;
for (int i = 0; i < 6; i++)
{
sum += a + i * b;
}
return
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390
--- Comment #3 from krister.walfridsson at gmail dot com ---
Correction: -fno-split-paths does not help the trunk compiler. But it restores
the result when using the r242550 compiler...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390
--- Comment #2 from krister.walfridsson at gmail dot com ---
No, I get the same reduced performance when using -fno-split-paths
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
Created attachment 40677
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40677&action=edit
The relevant source code and generated asm
: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
Created attachment 40676
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40676&action=edit
The relevant source code and generated as
++
Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
gcc version 7.0.1 20170124 (r244846) ICEs when compiling the following (using
the command line "g++ -c -std=c++1z bug.cpp")
#include
int foo(std::tuple t)
{
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
GCC has some problems eliminating overhead from C++ range-based for loops.
Consider the program
#include
#include
Assignee: unassigned at gcc dot gnu.org
Reporter: krister.walfridsson at gmail dot com
Target Milestone: ---
GCC 6 and trunk generates inefficient code for the loop
unsigned int test(unsigned int quant)
{
unsigned int sum = 0;
for (unsigned int i = 0; i < quant;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78035
krister.walfridsson at gmail dot com changed:
What|Removed |Added
CC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48244
--- Comment #2 from krister.walfridsson at gmail dot com ---
> --- Comment #1 from Dominique d'Humieres ---
> Is there still maintainers/users of NetBSD?
There are still users. But my paperwork is not in order since I
changed em
18 matches
Mail list logo