Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Jason Merrill
On 10/12/2014 10:32 AM, Chen Gang wrote: [root@localhost qemu_cc]# cat test.cc const char n() { return 1; } const char c = n(); [root@localhost qemu_cc]# /usr/local/bin/g++ -Wall -O0 -c -o test.o test.cc [root@localhost qemu_cc]# /usr/local/bin/g++ -Wall -O2 -c -o test.o test.cc

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Peter Maydell
On 12 October 2014 16:32, Chen Gang gang.chen.5...@gmail.com wrote: Hello All: I found an issue about g++, it is OK for -Wall -O0, but will report -Wunused-variable for -Wall -O1|2|3|s. The original version (e.g. gcc 4.8.3 redhat version) does not report warning for -Wall -O?. The related

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Chen Gang
On 10/13/14 18:58, Peter Maydell wrote: On 12 October 2014 16:32, Chen Gang gang.chen.5...@gmail.com wrote: Hello All: I found an issue about g++, it is OK for -Wall -O0, but will report -Wunused-variable for -Wall -O1|2|3|s. The original version (e.g. gcc 4.8.3 redhat version) does not

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Chen Gang
On 10/13/14 18:53, Jason Merrill wrote: On 10/12/2014 10:32 AM, Chen Gang wrote: [root@localhost qemu_cc]# cat test.cc const char n() { return 1; } const char c = n(); [root@localhost qemu_cc]# /usr/local/bin/g++ -Wall -O0 -c -o test.o test.cc [root@localhost qemu_cc]#

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Jakub Jelinek
On Mon, Oct 13, 2014 at 09:10:31PM +0800, Chen Gang wrote: Oh, yes. Originally I got this warning by compiling Qemu. And sorry for my sample (test.cc) may be not quite precise. For me, I guess: - If the constant number is defined in the header file, and never be used, our g++ need not

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Chen Gang
On 10/13/14 21:31, Jakub Jelinek wrote: On Mon, Oct 13, 2014 at 09:10:31PM +0800, Chen Gang wrote: Oh, yes. Originally I got this warning by compiling Qemu. And sorry for my sample (test.cc) may be not quite precise. For me, I guess: - If the constant number is defined in the header file,

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Chen Gang
On 10/13/14 21:59, Chen Gang wrote: On 10/13/14 21:31, Jakub Jelinek wrote: On Mon, Oct 13, 2014 at 09:10:31PM +0800, Chen Gang wrote: Oh, yes. Originally I got this warning by compiling Qemu. And sorry for my sample (test.cc) may be not quite precise. For me, I guess: - If the

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Jakub Jelinek
On Mon, Oct 13, 2014 at 10:01:31PM +0800, Chen Gang wrote: Is it correct? This mailing list is for development of GCC, not the right place to learn C++. Please ask either on gcc-help mailing list, or on some C++ user forums. Jakub

Re: [Consult] g++: About -Wunused-variable for constant variable initialized by function

2014-10-13 Thread Chen Gang
On 10/13/14 22:00, Jakub Jelinek wrote: On Mon, Oct 13, 2014 at 10:01:31PM +0800, Chen Gang wrote: Is it correct? This mailing list is for development of GCC, not the right place to learn C++. Please ask either on gcc-help mailing list, or on some C++ user forums. OK, since I am not

warning about const multidimensional array as function parameter

2014-10-13 Thread Martin Uecker
Hi all, although this is a problem of the C standard, I still find it annoying that the following code produces warnings about incompatible pointer types (this has been discussed before, see below): extern void test(const double x[2][2]); void foo(void) { double x[2][2];

RE: warning about const multidimensional array as function parameter

2014-10-13 Thread Manuel López-Ibáñez
Could we have an option to turn these warnings off? This will be controlled by a new option in GCC 5.0. For the details and the answer to your other questions, see https://gcc.gnu.org/wiki/FAQ#constmismatch (If others have comments that are not covered in the FAQ, or believe the answer there

Re: warning about const multidimensional array as function parameter

2014-10-13 Thread Martin Uecker
Manuel López-Ibáñez lopeziba...@gmail.com: Thank you for your quick response. Could we have an option to turn these warnings off? This will be controlled by a new option in GCC 5.0. For the details and the answer to your other questions, see https://gcc.gnu.org/wiki/FAQ#constmismatch

Re: warning about const multidimensional array as function parameter

2014-10-13 Thread Jonathan Wakely
On 14 October 2014 00:01, Martin Uecker wrote: Manuel López-Ibáñez lopeziba...@gmail.com: Thank you for your quick response. Could we have an option to turn these warnings off? This will be controlled by a new option in GCC 5.0. For the details and the answer to your other questions, see

Re: warning about const multidimensional array as function parameter

2014-10-13 Thread Martin Uecker
Manuel López-Ibáñez lopeziba...@gmail.com: Could we have an option to turn these warnings off? This will be controlled by a new option in GCC 5.0. For the details and the answer to your other questions, see https://gcc.gnu.org/wiki/FAQ#constmismatch (If others have comments that are

Re: warning about const multidimensional array as function parameter

2014-10-13 Thread Martin Uecker
Am Tue, 14 Oct 2014 00:05:47 +0100 Jonathan Wakely jwakely@gmail.com: On 14 October 2014 00:01, Martin Uecker wrote: Manuel López-Ibáñez lopeziba...@gmail.com: Thank you for your quick response. Could we have an option to turn these warnings off? This will be controlled by a

[debug-early] LTO streaming of on-the-side dwarf data structures

2014-10-13 Thread Aldy Hernandez
Gentlemen, your feedback would be greatly appreciated! I was investigating why locals were not being early dumped, and realized Michael's patch was skipping decls_for_scope() unless DECL_STRUCT_FUNCTION-gimple_df was set. I assume this was to wait until location information was available.

Re: warning about const multidimensional array as function parameter

2014-10-13 Thread Manuel López-Ibáñez
On 14 October 2014 01:12, Martin Uecker uec...@eecs.berkeley.edu wrote: Converting a pointer to an array to a pointer to a constant array is safe. Converting a pointer to a pointer to a pointer to a pointer to a constant is not (as the CFAQ points out). You are probably right that it is safe.

Re: warning about const multidimensional array as function parameter

2014-10-13 Thread Martin Uecker
Manuel López-Ibáñez lopeziba...@gmail.com: On 14 October 2014 01:12, Martin Uecker uec...@eecs.berkeley.edu wrote: Converting a pointer to an array to a pointer to a constant array is safe. Converting a pointer to a pointer to a pointer to a pointer to a constant is not (as the CFAQ points

About Code coverage Algorithms.

2014-10-13 Thread Umesh Kalappa
Hi All, Good day for everyone . We benchmarked the code coverage algorithms like a)Optimal Edge Profiling (ftp://ftp.cs.wisc.edu/pub/techreports/1991/TR1031.pdf .) that are adopted by GCC and LLVM b)Dominator Leaf instrumentation(http://users.sdsc.edu/~mtikir/publications/papers/issta02.pdf)

[Bug sanitizer/63520] New: ICE: in get_biv_step, at loop-iv.c:824 with -fsanitize=undefined on ppc64

2014-10-13 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63520 Bug ID: 63520 Summary: ICE: in get_biv_step, at loop-iv.c:824 with -fsanitize=undefined on ppc64 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug target/53513] [SH] Add support for fschg and fpchg insns and improve fenv support

2014-10-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53513 --- Comment #18 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Oleg Endo from comment #15) Created attachment 33691 [details] a possible patch The previous patch was buggy, it always generated a PR toggle sequence, even if a

[Bug target/53513] [SH] Add support for fschg and fpchg insns and improve fenv support

2014-10-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53513 --- Comment #19 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Oleg Endo from comment #18) (In reply to Oleg Endo from comment #15) Created attachment 33691 [details] a possible patch The previous patch was buggy, it always

[Bug target/63260] [SH] fabs, fneg do not need fp-mode setting and do not use fpscr

2014-10-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63260 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added CC||kkojima at gcc

[Bug c++/60664] bool / out of range int comparison warning failure

2014-10-13 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664 --- Comment #3 from David Binderman dcb314 at hotmail dot com --- (In reply to David Binderman from comment #0) I've just built gcc trunk with clang and it looks as if producing a similar warning to clang will flush out five bugs in gcc trunk.

[Bug c++/63419] verify_gimple failed: vector CONSTRUCTOR element is not a GIMPLE value

2014-10-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63419 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Mon Oct 13 07:58:05 2014 New Revision: 216138 URL: https://gcc.gnu.org/viewcvs?rev=216138root=gccview=rev Log: 2014-10-13 Richard Biener rguent...@suse.de

[Bug c++/63419] verify_gimple failed: vector CONSTRUCTOR element is not a GIMPLE value

2014-10-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63419 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/63521] New: The AArch64 backend doesn't define REG_ALLOC_ORDER.

2014-10-13 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63521 Bug ID: 63521 Summary: The AArch64 backend doesn't define REG_ALLOC_ORDER. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/63521] The AArch64 backend doesn't define REG_ALLOC_ORDER.

2014-10-13 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63521 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug target/63521] The AArch64 backend doesn't define REG_ALLOC_ORDER.

2014-10-13 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63521 --- Comment #1 from Ramana Radhakrishnan ramana at gcc dot gnu.org --- This corresponds to ticket 4402 in the ARM database.

[Bug ada/63225] ada bootstrap failure when -fno-inline in STAGE1_CFLAGS

2014-10-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63225 --- Comment #3 from Eric Botcazou ebotcazou at gcc dot gnu.org --- Author: ebotcazou Date: Mon Oct 13 08:19:45 2014 New Revision: 216139 URL: https://gcc.gnu.org/viewcvs?rev=216139root=gccview=rev Log: PR ada/63225 * uintp.adb

[Bug ada/63225] ada bootstrap failure when -fno-inline in STAGE1_CFLAGS

2014-10-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63225 --- Comment #4 from Eric Botcazou ebotcazou at gcc dot gnu.org --- Author: ebotcazou Date: Mon Oct 13 08:20:30 2014 New Revision: 216140 URL: https://gcc.gnu.org/viewcvs?rev=216140root=gccview=rev Log: PR ada/63225 * uintp.adb

[Bug ada/63225] ada bootstrap failure when -fno-inline in STAGE1_CFLAGS

2014-10-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63225 --- Comment #5 from Eric Botcazou ebotcazou at gcc dot gnu.org --- Author: ebotcazou Date: Mon Oct 13 08:21:19 2014 New Revision: 216141 URL: https://gcc.gnu.org/viewcvs?rev=216141root=gccview=rev Log: PR ada/63225 * uintp.adb

[Bug ada/63225] ada bootstrap failure when -fno-inline in STAGE1_CFLAGS

2014-10-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63225 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/62127] [5 Regression] ICE with VLA in constructor

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/60664] bool / out of range int comparison warning failure

2014-10-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING

[Bug bootstrap/63496] ../../gcc/ipa-polymorphic-call.c:2117:1: error: assuming signed overflow does not occur when assuming that (X + c) X is always false [-Werror=strict-overflow]

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63496 --- Comment #3 from Jan Hubicka hubicka at gcc dot gnu.org --- Yep, the second offset was meant to be tci-offset. I am testing the fix.

[Bug rtl-optimization/63475] Postreload CSE propagates aliased memory operand

2014-10-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63475 --- Comment #2 from Uroš Bizjak ubizjak at gmail dot com --- Created attachment 33695 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33695action=edit Patch that looks into non-canonical VALUEs for AND addresses Patch in testing. This patch

[Bug c++/60664] bool / out of range int comparison warning failure

2014-10-13 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664 --- Comment #5 from David Binderman dcb314 at hotmail dot com --- (In reply to Manuel López-Ibáñez from comment #4) David, would you mind testing with a recent revision? In those cases where Clang warns and GCC doesn't, could you figure out a

[Bug c++/62127] [5 Regression] ICE with VLA in constructor

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127 --- Comment #4 from Jan Hubicka hubicka at gcc dot gnu.org --- Uff, this is caused by a pasto where I forget to remap TREE_TYPE of array. Index: tree-inline.c === --- tree-inline.c

[Bug c++/60664] bool / out of range int comparison warning failure

2014-10-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug tree-optimization/62053] [5 Regression] ICE: in remap_type_1, at tree-inline.c:540

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62053 --- Comment #6 from Jan Hubicka hubicka at gcc dot gnu.org --- I am testing the following Index: tree.c === --- tree.c (revision 216141) +++ tree.c (working copy) @@

[Bug middle-end/61558] [5 Regression] ICE: Segmentation fault

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61558 --- Comment #11 from Jan Hubicka hubicka at gcc dot gnu.org --- It seems that C++ FE do not produce any assembler name for b (because it is not instantiated?). (gdb) p debug_tree (node-decl) var_decl 0x76ae4bd0 b type integer_type

[Bug libstdc++/61347] std::distance(list.first(),list.end()) in O(1)

2014-10-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61347 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org --- Author: glisse Date: Mon Oct 13 10:00:27 2014 New Revision: 216142 URL: https://gcc.gnu.org/viewcvs?rev=216142root=gccview=rev Log: 2014-10-13 Marc Glisse marc.gli...@inria.fr

[Bug libstdc++/63345] Multiple undefined behaviors (static_cast) in libstdc++-v3/include/bits

2014-10-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63345 --- Comment #6 from Marc Glisse glisse at gcc dot gnu.org --- Author: glisse Date: Mon Oct 13 10:00:27 2014 New Revision: 216142 URL: https://gcc.gnu.org/viewcvs?rev=216142root=gccview=rev Log: 2014-10-13 Marc Glisse marc.gli...@inria.fr

[Bug c++/63506] GCC deduces wrong return type of operator*() inside template functions

2014-10-13 Thread steffen.muething at iwr dot uni-heidelberg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63506 --- Comment #5 from Steffen Müthing steffen.muething at iwr dot uni-heidelberg.de --- The exact same problem is present on operator[] : //--- struct proxy {}; struct iterator { proxy operator*() { return proxy();

[Bug c++/63522] New: [4.8/4.9/5.0] ICE: unexpected expression 'ElementIndices' of kind template_parm_index

2014-10-13 Thread lucdanton at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63522 Bug ID: 63522 Summary: [4.8/4.9/5.0] ICE: unexpected expression 'ElementIndices' of kind template_parm_index Product: gcc Version: 5.0 Status: UNCONFIRMED

[Bug c++/11685] typeinfo is not demangled in error messages

2014-10-13 Thread flast at flast dot jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11685 Kohei Takahashi flast at flast dot jp changed: What|Removed |Added CC||flast at flast

[Bug other/63504] [5 Regression] Issues found by --enable-checking=valgrind

2014-10-13 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63504 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added CC||emsr at

[Bug lto/61048] compiling with -fsanitize=address crashes GCC if pointers are used

2014-10-13 Thread i.palachev at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61048 Ilya Palachev i.palachev at samsung dot com changed: What|Removed |Added CC||i.palachev

[Bug middle-end/61558] [5 Regression] ICE: Segmentation fault

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61558 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added CC||jason at redhat

[Bug c++/11685] typeinfo is not demangled in error messages

2014-10-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11685 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/63521] The AArch64 backend doesn't define REG_ALLOC_ORDER.

2014-10-13 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63521 --- Comment #2 from Richard Earnshaw rearnsha at gcc dot gnu.org --- Ideally, a port should not need to define reg_alloc_order; it's rather a blunt instrument. Better would be for the register allocator to have a better understanding of which

[Bug bootstrap/63523] New: [5.0 regression] gcc/cp/pt.c -Werror=format breaks bootstrap on sparc-linux

2014-10-13 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63523 Bug ID: 63523 Summary: [5.0 regression] gcc/cp/pt.c -Werror=format breaks bootstrap on sparc-linux Product: gcc Version: 5.0 Status: UNCONFIRMED Severity:

[Bug bootstrap/63523] [5.0 regression] gcc/cp/pt.c -Werror=format breaks bootstrap on sparc-linux

2014-10-13 Thread izamyatin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63523 Igor Zamyatin izamyatin at gmail dot com changed: What|Removed |Added CC||izamyatin at

[Bug bootstrap/63496] ../../gcc/ipa-polymorphic-call.c:2117:1: error: assuming signed overflow does not occur when assuming that (X + c) X is always false [-Werror=strict-overflow]

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63496 --- Comment #4 from Jan Hubicka hubicka at gcc dot gnu.org --- Author: hubicka Date: Mon Oct 13 12:44:00 2014 New Revision: 216146 URL: https://gcc.gnu.org/viewcvs?rev=216146root=gccview=rev Log: PR bootstrap/63496 *

[Bug target/63260] [SH] fabs, fneg do not need fp-mode setting and do not use fpscr

2014-10-13 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63260 --- Comment #3 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to Oleg Endo from comment #2) Kaz, could you please add the proposed patch to your test run and let me know of the result? I'd like to sort this out before proceeding

[Bug target/63260] [SH] fabs, fneg do not need fp-mode setting and do not use fpscr

2014-10-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63260 --- Comment #4 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Kazumoto Kojima from comment #3) I've just run make -k check-gcc with the patch on my environment and got no new failures. Great. Thanks! I'll try patching GDB

[Bug bootstrap/63523] [5.0 regression] gcc/cp/pt.c -Werror=format breaks bootstrap on sparc-linux

2014-10-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63523 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |5.0

[Bug c++/60664] bool / out of range int comparison warning failure

2014-10-13 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664 David Binderman dcb314 at hotmail dot com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug fortran/63514] functions containing volatile are considered pure

2014-10-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63514 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/63512] [5 Regression] ICE: error: virtual use of statement not up-to-date

2014-10-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63512 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug rtl-optimization/60664] comparison of constant SPR_POINTER with unsigned_flag is always false

2014-10-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Keywords|diagnostic |

[Bug bootstrap/63496] ../../gcc/ipa-polymorphic-call.c:2117:1: error: assuming signed overflow does not occur when assuming that (X + c) X is always false [-Werror=strict-overflow]

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63496 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/63260] [SH] fabs, fneg do not need fp-mode setting and do not use fpscr

2014-10-13 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63260 --- Comment #5 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to Oleg Endo from comment #4) If the failures on my side go away after that, I'll commit the patch from comment #2, OK? Please go ahead.

[Bug libstdc++/57350] std::align missing

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57350 --- Comment #12 from Jonathan Wakely redi at gcc dot gnu.org --- Author: redi Date: Mon Oct 13 14:08:44 2014 New Revision: 216149 URL: https://gcc.gnu.org/viewcvs?rev=216149root=gccview=rev Log: PR libstdc++/57350 * include/std/memory

[Bug libstdc++/57350] std::align missing

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57350 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug libstdc++/41628] _GLIBCXX_DEBUG feature: check for unstable iterators

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41628 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last

[Bug libstdc++/56109] Add light-weight ABI-compatible debug checks to standard containers

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56109 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/63379] [4.8 Regression] Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value

2014-10-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63379 clyon at gcc dot gnu.org changed: What|Removed |Added CC||clyon at gcc dot gnu.org ---

[Bug libstdc++/63524] New: FAIL: 27_io/basic_ostream/inserters_arithmetic/char/hexfloat.cc (test for excess errors)

2014-10-13 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63524 Bug ID: 63524 Summary: FAIL: 27_io/basic_ostream/inserters_arithmetic/char/hexfloat .cc (test for excess errors) Product: gcc Version: 5.0 Status:

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

2014-10-13 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63376 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/53513] [SH] Add support for fschg and fpchg insns and improve fenv support

2014-10-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53513 --- Comment #20 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Oleg Endo from comment #19) No I didn't. That was a patch for PR 63260. Sorry for the noise. Now I have. For both '-m4 -ml' and '-m4 -mb' there are a few new

[Bug libstdc++/57403] A vector of volatile int doesn't work, but one of volatile void * does

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57403 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/62127] [5 Regression] ICE with VLA in constructor

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127 --- Comment #5 from Jan Hubicka hubicka at gcc dot gnu.org --- Author: hubicka Date: Mon Oct 13 14:43:24 2014 New Revision: 216150 URL: https://gcc.gnu.org/viewcvs?rev=216150root=gccview=rev Log: PR tree-optimization/62127 *

[Bug c++/62127] [5 Regression] ICE with VLA in constructor

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug regression/62102] [5 Regression]: gcc.dg/torture/pr48953.c -O2 -flto

2014-10-13 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62102 --- Comment #6 from Jan Hubicka hubicka at gcc dot gnu.org --- Since this testcase also involves VLA, can you, please, test if the patch for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127 (now in mainline) fixes the problem?

[Bug libstdc++/57740] C++11 std::thread not usable with static linking

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57740 --- Comment #11 from Jonathan Wakely redi at gcc dot gnu.org --- Since r213922 pthread_create should get linked in, but apparently not pthread_join.

[Bug libstdc++/60519] Debug mode should check comparators for irreflexivity

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60519 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug libstdc++/57997] Segmentation fault after returning valarray expression from an auto function

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57997 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement

[Bug target/63442] [AArch64] ICE with ubsan/overflow-int128.c test

2014-10-13 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63442 Jiong Wang jiwang at gcc dot gnu.org changed: What|Removed |Added CC||jiwang at gcc dot

[Bug libstdc++/57997] Segmentation fault after returning valarray expression from an auto function

2014-10-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57997 --- Comment #9 from Marc Glisse glisse at gcc dot gnu.org --- I'd rather work on improving the warnings so we can tell the user how bad his code is, but in case, we had a similar request in GMP, a code that was inspired by libstdc++ valarray:

[Bug tree-optimization/63464] compare one character to many: faster

2014-10-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63464 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 33697 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33697action=edit gcc5-pr63464.patch WIP patch. What is missing: 1) the optimize_range_tests_to_bit_test

[Bug c/16351] NULL dereference warnings

2014-10-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351 --- Comment #19 from Jeffrey A. Law law at redhat dot com --- Nobody ever reviewed the changes :(

[Bug bootstrap/63432] [5 Regression] profiledbootstrap failure with bootstrap-lto

2014-10-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432 --- Comment #27 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Teresa Johnson from comment #24) Arg, looks very similar so maybe another instance of the duplicate threading is slipping through? My own lto profiled bootstrap succeeded

[Bug tree-optimization/63464] compare one character to many: faster

2014-10-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63464 --- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 33698 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33698action=edit bittest.c Testcase I've been playing with.

[Bug fortran/63514] functions containing volatile are considered pure

2014-10-13 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63514 --- Comment #3 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Richard Biener from comment #2) The fortran frontend must do sth wrong here - it seems to mark the function pure itself and either fold or the FE

[Bug bootstrap/63523] [5.0 regression] gcc/cp/pt.c -Werror=format breaks bootstrap on sparc-linux

2014-10-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63523 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/57622] -W -Wall -Werror -Wno-unused gives Wunused-parameter warning

2014-10-13 Thread lucier at math dot purdue.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57622 lucier at math dot purdue.edu changed: What|Removed |Added CC||lucier at math dot

[Bug target/63442] [AArch64] ICE with ubsan/overflow-int128.c test

2014-10-13 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63442 --- Comment #2 from Jiong Wang jiwang at gcc dot gnu.org --- Have done a quick investigation, it's caused by the implementation of TARGET_LIBGCC_CMP_RETURN_MODE aarch64_libgcc_cmp_return_mode AArch64 define the return mode to be SImode which

[Bug rtl-optimization/63475] Postreload CSE propagates aliased memory operand

2014-10-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63475 Uroš Bizjak ubizjak at gmail dot com changed: What|Removed |Added Attachment #33695|0 |1 is

[Bug rtl-optimization/63475] Postreload CSE propagates aliased memory operand

2014-10-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63475 --- Comment #4 from Uroš Bizjak ubizjak at gmail dot com --- (In reply to Uroš Bizjak from comment #3) Created attachment 33699 [details] Updated patch I have started native alpha bootstrap with the above attached patch. The idea implemented

[Bug rtl-optimization/63525] New: unnecessary reloads generated in loop

2014-10-13 Thread wmi at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63525 Bug ID: 63525 Summary: unnecessary reloads generated in loop Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/63526] New: O1 O2 O3 optimization and inline template constructor - uninitialized member

2014-10-13 Thread eles.david.88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63526 Bug ID: 63526 Summary: O1 O2 O3 optimization and inline template constructor - uninitialized member Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug libfortran/63471] [5.0 Regression] unix.c:1906:10: error: implicit declaration of function 'ttyname_r'

2014-10-13 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63471 --- Comment #10 from John David Anglin danglin at gcc dot gnu.org --- Author: danglin Date: Mon Oct 13 17:02:35 2014 New Revision: 216152 URL: https://gcc.gnu.org/viewcvs?rev=216152root=gccview=rev Log: PR libfortran/63471 *

[Bug c++/63526] O1 O2 O3 optimization and inline template constructor - uninitialized member

2014-10-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63526 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org --- Why do you think the member should be zero-initialized? Your constructor fails to initialize it.

[Bug libfortran/63471] [5.0 Regression] unix.c:1906:10: error: implicit declaration of function 'ttyname_r'

2014-10-13 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63471 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/63526] O1 O2 O3 optimization and inline template constructor - uninitialized member

2014-10-13 Thread eles.david.88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63526 --- Comment #2 from Dávid Éles eles.david.88 at gmail dot com --- (In reply to Jonathan Wakely from comment #1) Why do you think the member should be zero-initialized? Your constructor fails to initialize it. I uses the default mechanism to

[Bug target/8340] ICE on x86 inline asm w/ -fPIC

2014-10-13 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8340 --- Comment #9 from Kirill Yukhin kyukhin at gcc dot gnu.org --- Author: kyukhin Date: Mon Oct 13 17:26:49 2014 New Revision: 216154 URL: https://gcc.gnu.org/viewcvs?rev=216154root=gccview=rev Log: gcc/ PR target/8340 PR middle-end/47602

[Bug rtl-optimization/55458] [4.8 Regression] ICE: in assign_by_spills, at lra-assigns.c:1212 with -fPIC -m32 and simple asm volatile

2014-10-13 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55458 --- Comment #4 from Kirill Yukhin kyukhin at gcc dot gnu.org --- Author: kyukhin Date: Mon Oct 13 17:26:49 2014 New Revision: 216154 URL: https://gcc.gnu.org/viewcvs?rev=216154root=gccview=rev Log: gcc/ PR target/8340 PR

[Bug middle-end/47602] Permit inline asm to clobber PIC register

2014-10-13 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47602 --- Comment #16 from Kirill Yukhin kyukhin at gcc dot gnu.org --- Author: kyukhin Date: Mon Oct 13 17:26:49 2014 New Revision: 216154 URL: https://gcc.gnu.org/viewcvs?rev=216154root=gccview=rev Log: gcc/ PR target/8340 PR

  1   2   3   >