[Bug c/113255] New: wrong code with -O2 -mtune=k8

2024-01-06 Thread mednafen at sent dot com via Gcc-bugs
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- Target: x86_64-pc-linux-gnu Created attachment 57000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57000=edit test case Linux x86_64 $ /

[Bug c++/91678] New: decltype returns wrong type under certain conditions

2019-09-05 Thread mednafen at sent dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- I'm not totally sure this is a bug, but the following C++ code generates a compilation error("invalid cast of an rvalue expression of type 'float*' to type '

[Bug c++/85882] Value of local variable changes unintentionally if certain optimization are enabled

2018-05-22 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85882 mednafen at sent dot com changed: What|Removed |Added CC||mednafen at sent dot com

[Bug c/83843] New: [8 Regression] wrong code at -O2

2018-01-14 Thread mednafen at sent dot com
Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- Created attachment 43125 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43125=edit test case Linux x86_64 $ /usr/local/gcc8-256680/bin/gcc -Wall -O0 -o crcred crcred.c && ./c

[Bug target/81516] Wrong code with -m32 -O2 on x86_64-linux-gnu

2017-07-22 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81516 --- Comment #5 from mednafen at sent dot com --- Generated assembly looks like it's grabbing garbage off the stack and writing it to b: a: subl$20, %esp fildl 24(%esp) movsd (%esp), %xmm1 movsd %xmm1, b [...]

[Bug target/81516] Wrong code with -m32 -O2 on x86_64-linux-gnu

2017-07-22 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81516 mednafen at sent dot com changed: What|Removed |Added CC||mednafen at sent dot com

[Bug c++/81438] New: silent bad code generation with computed goto exit from catch block

2017-07-13 Thread mednafen at sent dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- Created attachment 41755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41755=edit Test case Seems to be an old issue. Wo

[Bug target/80402] New: Missed optimization on x86/x86_64

2017-04-11 Thread mednafen at sent dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- Target: x86_64 Created attachment 41181 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41181=edit sample code A statement l

[Bug c/80301] Sub-optimal code with an array of structs offsetted inside a struct global on x86/x86_64 at -O2

2017-04-04 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80301 --- Comment #1 from mednafen at sent dot com --- Created attachment 41115 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41115=edit correct test code

[Bug c/80301] New: Sub-optimal code with an array of structs offsetted inside a struct global on x86/x86_64 at -O2

2017-04-04 Thread mednafen at sent dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- Created attachment 41114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41114=edit test code gcc -

[Bug c/79818] New: [7 Regression] wrong code with -fwrapv and -Os/-O1/-O2/-O3

2017-03-02 Thread mednafen at sent dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- Created attachment 40871 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40871=edit test case Linux x86_64 $ /usr/local/gcc-0f7b961/bin/

[Bug c/77392] Premature optimization based on return data from thread

2016-08-27 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77392 mednafen at sent dot com changed: What|Removed |Added CC||mednafen at sent dot com

[Bug c/71539] incomplete execution of a nested loop for -O2 and -O3

2016-06-14 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71539 mednafen at sent dot com changed: What|Removed |Added CC||mednafen at sent dot com

[Bug c/70646] Corrupt truncated function

2016-04-13 Thread mednafen at sent dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 mednafen at sent dot com changed: What|Removed |Added CC||mednafen at sent dot com

[Bug other/66179] New: Sub-optimal code generation with __attribute__((leaf))

2015-05-16 Thread mednafen at sent dot com
Component: other Assignee: unassigned at gcc dot gnu.org Reporter: mednafen at sent dot com Target Milestone: --- Created attachment 35556 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35556action=edit C code which demonstrates the issue. The attached code, when compiled