[Bug lto/61969] [4.8/4.9/5 Regression] wrong code by LTO on i?86-linux-gnu (affecting trunk, 4.9.x, and 4.8.x)

2014-09-27 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61969 --- Comment #5 from Andi Kleen --- func_52 disappears during/after nrv: in 173t.nrv: ;; Function func_52 (func_52, funcdef_no=86, decl_uid=2858, cgraph_uid=54, symbol_order=1152) func_52 (uint32_t p_53) { extern const struct S0 l_55 = {.f0=4

[Bug lto/61969] [4.8/4.9/5 Regression] wrong code by LTO on i?86-linux-gnu (affecting trunk, 4.9.x, and 4.8.x)

2014-09-27 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61969 --- Comment #4 from Andi Kleen --- The problem is when returning a struct from func_52: const struct S0 func_52 (uint32_t p_53) { const struct S0 l_55 = { 4, 40290, 10, 4 }; return l_55; } The main code stores the struct value from the sta

[Bug lto/61969] [4.8/4.9/5 Regression] wrong code by LTO on i?86-linux-gnu (affecting trunk, 4.9.x, and 4.8.x)

2014-09-27 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61969 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug tree-optimization/63302] [4.9 Regression] Code with 64-bit long long constants is miscompiled on 32-bit host

2014-09-27 Thread zhenqiang.chen at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63302 --- Comment #6 from Zhenqiang Chen --- I double checked the function optimize_range_tests_diff. Overall, I think it does the right thing. X86 and ARM work correctly. The ldil.c.169t.optimized is : x_2 = ival_1(D) & -2147481601; _8 = x_2 +

[Bug rtl-optimization/63384] selective scheduling on x86 takes very long

2014-09-27 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63384 Andi Kleen changed: What|Removed |Added Attachment #33585|0 |1 is obsolete|

[Bug rtl-optimization/63384] ICE in moveup_expr_chached->sel_bb_head->bb_node with special options

2014-09-27 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63384 --- Comment #1 from Andi Kleen --- With a newer compiler version gcc version 5.0.0 20140926 (experimental) (GCC) the test case doesn't crash anymore, but just runs very very long. I killed it after 20s. This happens with the following two opt

[Bug c/63393] [regression]-ffreestanding not work: memset call cause valgrind crash

2014-09-27 Thread dushistov at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63393 --- Comment #4 from Evgeniy Dushistov --- (In reply to Mikael Pettersson from comment #3) > I don't know if this is supposed to be "fixed" (for all str* and mem* > functions one might want to implement oneself), but the standard workaround > is t

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #10 from Mikael Pettersson --- I strongly suspect 32-bit Cygwin uses x87 by default, while 64-bit Cygwin probably uses SSE2 by default. These two FP implementations are very different, and it's not at all surprising to see different

[Bug c/63394] Segmentation Fault with -O3 flag on ARM v61 Processor

2014-09-27 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63394 --- Comment #1 from Mikael Pettersson --- (In reply to Bruce Dale from comment #0) > gcc build options: unknown "gcc -v" will tell you that

[Bug c/63393] [regression]-ffreestanding not work: memset call cause valgrind crash

2014-09-27 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63393 --- Comment #3 from Mikael Pettersson --- I don't know if this is supposed to be "fixed" (for all str* and mem* functions one might want to implement oneself), but the standard workaround is to compile with -fno-tree-loop-distribute-patterns. Th

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #9 from bernardwidynski at gmail dot com --- Created attachment 33599 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33599&action=edit Cygwin64 cygcheck output

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #8 from bernardwidynski at gmail dot com --- Created attachment 33598 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33598&action=edit Cygwin cygcheck output

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #7 from bernardwidynski at gmail dot com --- Created attachment 33597 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33597&action=edit Cygwin64 make output

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #6 from bernardwidynski at gmail dot com --- Created attachment 33596 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33596&action=edit Cygwin make output

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #5 from bernardwidynski at gmail dot com --- Created attachment 33595 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33595&action=edit makefile

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #4 from bernardwidynski at gmail dot com --- Created attachment 33594 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33594&action=edit Cygwin64 .i file

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #3 from bernardwidynski at gmail dot com --- Created attachment 33593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33593&action=edit Cywin .i file

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #2 from bernardwidynski at gmail dot com --- Created attachment 33592 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33592&action=edit Cygwin64 output file

[Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 --- Comment #1 from bernardwidynski at gmail dot com --- Created attachment 33591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33591&action=edit Cygwin output file

[Bug other/63395] New: Cygwin vs Cygwin64 Floating Point Discrepancy

2014-09-27 Thread bernardwidynski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395 Bug ID: 63395 Summary: Cygwin vs Cygwin64 Floating Point Discrepancy Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: oth

[Bug c/63394] New: Segmentation Fault with -O3 flag on ARM v61 Processor

2014-09-27 Thread Bruce at Daihls dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63394 Bug ID: 63394 Summary: Segmentation Fault with -O3 flag on ARM v61 Processor Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 --- Comment #20 from Manuel López-Ibáñez --- (In reply to Jonathan Wakely from comment #14) > Created attachment 20817 [details] > better -Wmeminit patch > > This version ignores empty classes and checks for a nontrivial default ctor > instead of

[Bug c++/19808] miss a warning about uninitialized members in constructor

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 Manuel López-Ibáñez changed: What|Removed |Added Last reconfirmed|2005-05-09 00:52:15 |2014-9-27 CC|

[Bug c++/63386] Release version of CB wont compile Bullet (-o2)

2014-09-27 Thread root at borealis dot su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63386 --- Comment #5 from TechoMan --- TDM version - gcc version 4.8.1 (tdm-2)

[Bug c++/63386] Release version of CB wont compile Bullet (-o2)

2014-09-27 Thread root at borealis dot su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63386 --- Comment #4 from TechoMan --- gcc version 4.8.1 (GCC). Why CB release - that error was only on release of CB. It changes some variables , such as -O2. Originaly it was rel. CB, but i found what its O2

[Bug c/63393] [regression]-ffreestanding not work: memset call cause valgrind crash

2014-09-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63393 --- Comment #2 from Andrew Pinski --- I think what is happening is hand coded memset is being optimized to memset and then becoming an infinite loop. I thought there was a fix for this already.

[Bug c/63393] [regression]-ffreestanding not work: memset call cause valgrind crash

2014-09-27 Thread dushistov at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63393 Evgeniy Dushistov changed: What|Removed |Added Summary|-ffreestanding not work:|[regression]-ffreestanding

[Bug c/63393] New: -ffreestanding not work: memset call cause valgrind crash

2014-09-27 Thread dushistov at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63393 Bug ID: 63393 Summary: -ffreestanding not work: memset call cause valgrind crash Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug c++/63392] New: poor error recovery with missing typename

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63392 Bug ID: 63392 Summary: poor error recovery with missing typename Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++

[Bug c++/63391] New: Erroneous -Wsign-conversion with offsetof

2014-09-27 Thread ian at geometrian dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63391 Bug ID: 63391 Summary: Erroneous -Wsign-conversion with offsetof Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++

[Bug target/63390] New: [SH] Hoist/schedule constant pool loads

2014-09-27 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63390 Bug ID: 63390 Summary: [SH] Hoist/schedule constant pool loads Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target

[Bug bootstrap/61164] GCC 4.9.0 fails to build libitm when fortification enabled

2014-09-27 Thread glebfm at altlinux dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 --- Comment #3 from Gleb Pfotenhauer-Malinowski --- https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02469.html Sorry, previous patch is incomplete.

[Bug target/54236] [SH] Improve addc and subc insn utilization

2014-09-27 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54236 --- Comment #9 from Oleg Endo --- The following function compiled with -O2 unsigned int check (unsigned int x) { return x == 0 ? 1 : x; } results in: tst r4,r4 bt/s.L7 mov #1,r0 mov r4,r0 .L7:

[Bug c++/63389] Wrong warning about 64 bit integer constant overflow

2014-09-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63389 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/63389] New: Wrong warning about 64 bit integer constant overflow

2014-09-27 Thread ingo.josopait at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63389 Bug ID: 63389 Summary: Wrong warning about 64 bit integer constant overflow Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: minor Priority: P3 Componen

[Bug c++/16564] g++ seems to go into an infinite loop after errors

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16564 --- Comment #22 from Manuel López-Ibáñez --- (In reply to Volker Reichelt from comment #18) > The first error message about exceeding the maximum template instantiation > depth appears rather quickly. So maybe we could make the first error messag

[Bug c++/59804] C++ front-end checking ends in an infinite loop on erroneous code

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59804 Manuel López-Ibáñez changed: What|Removed |Added Keywords||error-recovery,

[Bug fortran/36534] Bogus: '__convert_s1_s4' at (1) is obsolescent in fortran 95

2014-09-27 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36534 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/63376] [5.0 Regression] ICE: in operator[], at vec.h:736 compiling team.c

2014-09-27 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63376 --- Comment #2 from John David Anglin --- This was bug was introduced by r214422: Author: marxin Date: Mon Aug 25 13:01:47 2014 New Revision: 214422 URL: https://gcc.gnu.org/viewcvs?rev=214422&root=gcc&view=rev Log: IPA C++ refactoring 4/N

[Bug fortran/37173] Check whether intrinsic assignment between character kind=1 / 4 is allowed

2014-09-27 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37173 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug bootstrap/61164] GCC 4.9.0 fails to build libitm when fortification enabled

2014-09-27 Thread glebfm at altlinux dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 --- Comment #2 from Gleb Pfotenhauer-Malinowski --- Patch: https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02460.html

[Bug rtl-optimization/60969] [4.9/4.10 Regression] ICE in output_129 in MMXMOV of mode MODE_SF for march=pentium4

2014-09-27 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60969 Maciej W. Rozycki changed: What|Removed |Added CC||ma...@linux-mips.org --- Comment #31

[Bug testsuite/58321] FAIL: gcc.target/i386/memcpy-strategy-3.c scan-assembler-times memcpy 2 on x86_64-apple-darwin*

2014-09-27 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58321 Dominique d'Humieres changed: What|Removed |Added CC||mrs at gcc dot gnu.org --- Commen

[Bug c/53871] Please warn about endless loops if they are obvious

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 Manuel López-Ibáñez changed: What|Removed |Added CC||kuq03132 at qoika dot com --- Comm

[Bug c++/63388] cout of enum class value - segmentation fault

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63388 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org Re

[Bug c++/63388] cout of enum class value - segmentation fault

2014-09-27 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63388 Marc Glisse changed: What|Removed |Added Keywords||diagnostic Severity|major

[Bug c++/63388] cout of enum class value - segmentation fault

2014-09-27 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63388 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/63388] cout of enum class value - segmentation fault

2014-09-27 Thread kuq03132 at qoika dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63388 --- Comment #1 from kuq03132 at qoika dot com --- (problem might be in libstdc++)

[Bug c++/63388] New: cout of enum class value - segmentation fault

2014-09-27 Thread kuq03132 at qoika dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63388 Bug ID: 63388 Summary: cout of enum class value - segmentation fault Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++

[Bug libgcc/63182] [5.0 Regression] libgcov-interface.c:136:33: error: alias definitions not supported

2014-09-27 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63182 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug libfortran/62768] Handling of file names with embedded nulls

2014-09-27 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62768 Francois-Xavier Coudert changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/57598] [Coarray,caf] Add FPE summary printing for ERROR STOP

2014-09-27 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57598 Francois-Xavier Coudert changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug fortran/48979] FRACTION und EXPONENT return invalid results for infinity/NaN

2014-09-27 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48979 Francois-Xavier Coudert changed: What|Removed |Added Status|WAITING |ASSIGNED CC|