[Bug c/90885] GCC should warn about 2^16 and 2^32 and 2^64 [-Wxor-used-as-pow]

2023-04-27 Thread warp at iki dot fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 warp at iki dot fi changed: What|Removed |Added CC||warp at iki dot fi --- Comment #30

[Bug c++/97121] New: ICE (segfault) on incorrect default three-way comparison declaration

2020-09-19 Thread warp at iki dot fi
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: warp at iki dot fi Target Milestone: --- Consider the following code (which mistakenly tries to return 'bool' from the three-way comparison rather

[Bug inline-asm/92921] New: Feature request: Automatic transliteration of AT&T inline asm into Intel syntax

2019-12-12 Thread warp at iki dot fi
rity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: warp at iki dot fi Target Milestone: --- gcc defaults to using AT&T asm syntax for x86 targets, with Intel syntax being an option (with -masm=inte

[Bug target/91897] Very poor optimization on large attribute vector_size

2019-09-25 Thread warp at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91897 --- Comment #4 from warp at iki dot fi --- You seem to be right (about clang). I suppose time to make a bug report to the clang development team.

[Bug c++/91897] New: Very poor optimization on large attribute vector_size

2019-09-25 Thread warp at iki dot fi
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: warp at iki dot fi Target Milestone: --- Consider the following code: //--- typedef double Double16 __attribute__((vector_size(8*16))); Double16 mult(const

[Bug c++/91818] New: SSE optimization flaw with float vs. double

2019-09-19 Thread warp at iki dot fi
++ Assignee: unassigned at gcc dot gnu.org Reporter: warp at iki dot fi Target Milestone: --- Consider the following code: //- #include #include using Float = std::array; Float p(Float a, Float b) { Float result; for

[Bug c/91526] New: Unnecessary SSE and other instructions generated when compiling in C mode (vs. C++ mode)

2019-08-22 Thread warp at iki dot fi
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: warp at iki dot fi Target Milestone: --- Consider the following piece of code: //-- struct Vec { float

[Bug rtl-optimization/58195] New: Missed optimization opportunity when returning a conditional

2013-08-19 Thread warp at iki dot fi
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: warp at iki dot fi When compiling the following function: int a(int input) { return input == 0 ? 0 : -input; } gcc is unable to see that the conditional and returning 0

[Bug c/42184] New: Same literal behaves differently as a double than as a long double

2009-11-26 Thread warp at iki dot fi
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: warp at iki dot fi GCC host triplet: i586-suse-linux GCC target triplet: i586-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42184

[Bug c++/41094] New: Erroneous optimization of pow() with -ffast-math

2009-08-17 Thread warp at iki dot fi
ed instead of 'x*x', the bug is not triggered either. -- Summary: Erroneous optimization of pow() with -ffast-math Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assign