[Bug middle-end/90408] >= -O2 suddenly generates code

2021-09-05 Thread oliverst at online dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90408 --- Comment #5 from Oliver Stoeneberg --- Alright. Just wanted to make sure it's intentional since it just happened on trunk.

[Bug middle-end/90408] >= -O2 suddenly generates code

2021-09-05 Thread oliverst at online dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90408 --- Comment #3 from Oliver Stoeneberg --- Thanks - I checked with godbolt and it looks fine for -O1 and -O2 now. -Os on trunk generates an additional instruction compared to previous versions xor eax, eax

[Bug c++/90967] New: -Os produces more code than -O1

2019-06-23 Thread oliverst at online dot de
++ Assignee: unassigned at gcc dot gnu.org Reporter: oliverst at online dot de Target Milestone: --- Created attachment 46512 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46512&action=edit example code The attached code produces an empty main when compiled with -std=c++11

[Bug c++/90408] >= -O2 suddenly generates code

2019-06-23 Thread oliverst at online dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90408 Oliver Stoeneberg changed: What|Removed |Added Known to work||4.8.5, 4.9.4, 5.4.0, 6.3.0 Know

[Bug c++/90408] New: >= -O2 suddenly generates code

2019-05-09 Thread oliverst at online dot de
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: oliverst at online dot de Target Milestone: --- Created attachment 46324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46324&action=edit example code The attached code should produce an empty main(), but does produce

[Bug c/63213] New: -Warray-bounds false positive with -O3

2014-09-09 Thread oliverst at online dot de
Assignee: unassigned at gcc dot gnu.org Reporter: oliverst at online dot de Created attachment 33462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33462&action=edit source file The attached code generates the following warnings: gcc -Wall -O3 -Wno-uninitialized -c m

[Bug c/63213] -Warray-bounds false positive with -O3

2014-09-09 Thread oliverst at online dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63213 --- Comment #1 from Oliver Stoeneberg --- Created attachment 33463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33463&action=edit preprocessed source

[Bug c/61675] Wrong code generation for 32-bit x86 with i686-w64-mingw32

2014-07-02 Thread oliverst at online dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61675 --- Comment #1 from Oliver Stoeneberg --- Sorry, I forgot the data for the ubuntu 14.04 MinGW compiler: Using built-in specs. COLLECT_GCC=i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/4.8/lto-wrapper Target: i686-w64-min

[Bug c/61675] Wrong code generation for 32-bit x86 with i686-w64-mingw32

2014-07-02 Thread oliverst at online dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61675 --- Comment #2 from Oliver Stoeneberg --- Created attachment 33052 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33052&action=edit The preprocessed file using GCC 4.8.2

[Bug c/61675] New: Wrong code generation for 32-bit x86 with i686-w64-mingw32

2014-07-02 Thread oliverst at online dot de
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: oliverst at online dot de Created attachment 33051 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33051&action=edit The preprocessed file using GCC 4.6.2 I have a JNI DLL, that crash

[Bug target/57669] Incorrect floating point values with 32-bit compile

2013-06-21 Thread oliverst at online dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57669 --- Comment #3 from Oliver Stoeneberg --- It's unoptimized code and using -msse -mfpmath=sse fixes it. But there is another fix: http://msdn.microsoft.com/en-us/library/vstudio/7t5yh4fd(v=vs.110).aspx Changing autoc[coeff] += d * data[sample+co

[Bug c/57669] New: Incorrect floating point values with 32-bit compile

2013-06-21 Thread oliverst at online dot de
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: oliverst at online dot de Created attachment 30334 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30334&action=edit sample code The attached sample produces incorrect values with 32-bit. The function, that produ

[Bug middle-end/25181] [3.4 Regression] wrong "will never be executed" warning in switch - case block

2005-12-01 Thread oliverst at online dot de
--- Comment #5 from oliverst at online dot de 2005-12-01 12:32 --- (In reply to comment #1) > This is invalid code: > t.cc: In function ‘int test_18()’: > t.cc:15: error: jump to case label > t.cc:9: error: crosses initialization of ‘int ret’ > t.cc:18: error: jum

[Bug c++/25181] [3.4 Regression] wrong "will never be executed" warning in switch - case block

2005-11-30 Thread oliverst at online dot de
--- Comment #3 from oliverst at online dot de 2005-11-30 20:38 --- I forgot to meintion, that this happens with C and C++, so I guess it's a middle-end bug!? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25181

[Bug middle-end/25184] New: another wrong "will never be executed" warning with switch - case

2005-11-30 Thread oliverst at online dot de
nt: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25184

[Bug c++/25181] New: wrong "will never be executed" warning in switch - case block

2005-11-30 Thread oliverst at online dot de
everity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25181

[Bug c/24968] New: wrong "will never be executed" warning

2005-11-21 Thread oliverst at online dot de
igned at gcc dot gnu dot org ReportedBy: oliverst at online dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24968

[Bug other/20791] visibilty options don't work

2005-06-27 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-06-27 09:32 --- OK, I got a more recent version of the binutils and I know get this: 91 C:\cvs\STLport\stlport\stl\_new.h [Warning] visibility attribute not supported in this configuration; ignored Guess this can be closed

[Bug c++/19761] -Winit-self doesn't work anymore

2005-05-30 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-05-31 01:29 --- Yes, I did expect a different warning, because int i = i; would be uninitialized use and self initialization. And because of an special warnings flag I expected it to be different from the uninitialized use

[Bug gcov/profile/21810] -pg causes libexpat code to crash

2005-05-30 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-05-30 07:56 --- Filed a bug report on the MinGW project page: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21810 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21810

[Bug gcov/profile/21810] -pg causes libexpat code to crash

2005-05-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-05-30 00:05 --- Maybe you should add Danny Smith to the CC list. -- What|Removed |Added Component

[Bug gcov/profile/21810] -pg causes libexpat code to crash

2005-05-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-05-30 00:03 --- With -pg: Program received signal SIGSEGV, Segmentation fault. 0x00401329 in [EMAIL PROTECTED] () (gdb) bt #0 0x00401329 in [EMAIL PROTECTED] () #1 0x00401375 in main () Without -pg: Program exited with

[Bug gcov/profile/21810] -pg causes libexpat code to crash

2005-05-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-05-29 23:54 --- Created an attachment (id=8988) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8988&action=view) isolated source from MAME 0.96u3 call "make maketree" and then "make xml2info.exe"

[Bug gcov/profile/21810] -pg causes libexpat code to crash

2005-05-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-05-29 23:52 --- I attached a stripped down version of the source. You have to call "make maketree" and then "make xml2info.exe". The resulting executable with the backtrace seen in the initial post. --

[Bug c++/19756] -Wparentheses doesn't warn on ambiguous if in C++

2005-05-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-05-29 23:38 --- If this is not going to be added any time soon for C++, maybe at least the manual should reflect, that it is a C-only warning. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19756

[Bug gcov/profile/21810] New: -pg causes libexpat code to crash

2005-05-29 Thread oliverst at online dot de
Severity: normal Priority: P2 Component: gcov/profile AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21810

[Bug other/20791] visibilty options don't work

2005-04-06 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-04-06 20:56 --- I didn't build GCC 4.0.0 myself, I got it from this site: http://www.thisiscool.com/gcc_mingw.htm and he is offering a complete MinGW package. Looking at the list of components he put in, we can see, th

[Bug other/20791] visibilty options don't work

2005-04-06 Thread oliverst at online dot de
-- What|Removed |Added GCC host triplet||i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20791

[Bug other/20791] New: visibilty options don't work

2005-04-06 Thread oliverst at online dot de
lease) -- Summary: visibilty options don't work Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org Re

[Bug c++/19761] -Winit-self doesn't work anymore

2005-03-31 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-31 11:36 --- Created an attachment (id=8504) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8504&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19761

[Bug c++/19761] -Winit-self doesn't work anymore

2005-03-31 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-31 11:35 --- I tried it again with this GCC: Using built-in specs. Target: i686-pc-mingw32 Configured with: /datal/gcc/gcc/configure --prefix=/datal/gcc/build/wingcc --build=i686-pc-linux-gnu --host=i686-pc-mingw32 --target

[Bug c++/20685] another wrong warning when using "-Woverloaded-virtual"

2005-03-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-29 12:58 --- Created an attachment (id=8488) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8488&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20685

[Bug c++/20685] another wrong warning when using "-Woverloaded-virtual"

2005-03-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-29 12:57 --- Sorry, forgot the warning: 4 C:\Dev-Cpp\Projects\test-stlport\main_8.cpp [Warning] 'virtual bool A::LinkData(int**, int)' was hidden 9 C:\Dev-Cpp\Projects\test-stlport\main_8.cpp [Warning] by '

[Bug c++/20685] New: another wrong warning when using "-Woverloaded-virtual"

2005-03-29 Thread oliverst at online dot de
Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20685

[Bug c++/20683] wrong warning when using "-Woverloaded-virtual"

2005-03-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-29 12:19 --- Created an attachment (id=8487) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8487&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20683

[Bug c++/20683] New: wrong warning when using "-Woverloaded-virtual"

2005-03-29 Thread oliverst at online dot de
Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20683

[Bug c++/20624] [4.0/4.1 Regression] wrong "control reaches end of non-void function" warning

2005-03-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-29 09:58 --- I could isolate the other warning and reduce the soce a bit. I filed it as PR 20681. Could be a duplicate. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20624

[Bug c++/20681] another wrong "control reaches end of non-void function" warning

2005-03-29 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-29 09:56 --- Created an attachment (id=8482) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8482&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20681

[Bug c++/20681] another wrong "control reaches end of non-void function" warning

2005-03-29 Thread oliverst at online dot de
-- What|Removed |Added Summary|another wrong "control |another wrong "control |reaches end of non-void |reaches end of non-void

[Bug c++/20681] New: another wrong "control reaches end of non-void function"

2005-03-29 Thread oliverst at online dot de
lease) -- Summary: another wrong "control reaches end of non-void function" Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu d

[Bug c++/20624] [4.0/4.1 Regression] wrong "control reaches end of non-void function" warning

2005-03-24 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-25 02:02 --- OK, next week I will try to isolate the other occurance of a wrong warning and file another bug report. Maybe there's another reason for the wrong warning in that case (not STLport related). --

[Bug middle-end/20624] wrong "control reaches end of non-void function" warning

2005-03-24 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-24 17:32 --- I know, that there is a standard, but it's only a standard and any implementation can have its own bugs. And having just one STL you should run into the same bugs and not having it working fine on one oper

[Bug middle-end/20624] wrong "control reaches end of non-void function" warning

2005-03-24 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-03-24 16:54 --- > Second why are you using STLport instead of the GCC's libstdc++? Because we had problems with the default GCC STL in the past, so we switched to STLport. We are also working cross-platform (GCC for l

[Bug c++/20624] New: wrong "control reaches end of non-void function" warning

2005-03-24 Thread oliverst at online dot de
Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20624

[Bug c++/19761] -Winit-self doesn't work anymore

2005-02-03 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-02-03 10:19 --- strange...I just tried it again with this example: extern void foo(int); int main() { int i = i; foo(i); return i; } And I get only this (C and C++ front-end / -O1, -O2 and -O3

[Bug c++/19763] New: surplus -Wuninitialized warnings

2005-02-02 Thread oliverst at online dot de
and a linux GCC 3.2 also behaves the same. -- Summary: surplus -Wuninitialized warnings Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org

[Bug c++/19761] New: -Winit-self doesn't work anymore

2005-02-02 Thread oliverst at online dot de
ONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19761

[Bug c++/19756] -Wparentheses doesn't warn anymore

2005-02-02 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-02-02 15:33 --- from GCC 3.4.3 manual: Also warn about constructions where there may be confusion to which if statement an else branch belongs. Here is an example of such a case: { if (a

[Bug c++/19757] New: -Wparentheses doesn't warn anymore

2005-02-02 Thread oliverst at online dot de
Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19757

[Bug c++/19756] New: -Wparentheses doesn't warn anymore

2005-02-02 Thread oliverst at online dot de
Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19756

[Bug c++/19755] New: -Wmissing-braces doesn't warn anymore

2005-02-02 Thread oliverst at online dot de
es doesn't warn anymore Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oliverst at online dot de CC:

[Bug c++/19437] wrong warning when assigning negative value to int

2005-01-14 Thread oliverst at online dot de
--- Additional Comments From oliverst at online dot de 2005-01-14 14:26 --- Ah, OK. Why is there warning at all. "-1" is being assigned to an "int" and not to an "unsigned int". Writing it without the "? :" operator, the following code should b

[Bug c++/19437] New: wrong warning when assigning negative value to int

2005-01-14 Thread oliverst at online dot de
dot gnu dot org ReportedBy: oliverst at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19437