[Bug rtl-optimization/58662] [4.9 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (in 64-bit mode)

2013-10-11 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58662 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added CC|ebotcazou at gcc dot gnu.org |

[Bug target/58529] GCC -funroll-loops 150% slower with -march=native on x86-64

2013-10-11 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58529 --- Comment #11 from Tobias Burnus burnus at gcc dot gnu.org --- I wonder whether the approach of Teresa's patch might help with this issue, cf. (first email) http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00123.html (latest patch)

[Bug tree-optimization/58686] vect_get_loop_niters() fails for some loops

2013-10-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58686 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug tree-optimization/58685] [4.7/4.8/4.9 Regression] wrong code at -Os on x86_64-linux-gnu in 64-bit mode (affecting gcc trunk, 4.8, and 4.7)

2013-10-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58685 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug c/58683] Internal compiler error: Segmentation fault compiling Cilk Plus code with -ftree-vectorizer-verbose=1

2013-10-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58683 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/58355] [4.7/4.8/4.9 Regression] [F03] ICE with TYPE, EXTENDS before parent TYPE defined

2013-10-11 Thread fgao7 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58355 Feng Gao fgao7 at hotmail dot com changed: What|Removed |Added CC||fgao7 at hotmail dot

[Bug c++/58055] [meta-bug] RVO / NRVO improvements

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse at gcc dot

[Bug libgomp/58642] gomp regression: not honoring anymore task set and numactl

2013-10-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58642 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/58685] [4.7/4.8/4.9 Regression] wrong code at -Os on x86_64-linux-gnu in 64-bit mode (affecting gcc trunk, 4.8, and 4.7)

2013-10-11 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58685 Mikael Pettersson mikpelinux at gmail dot com changed: What|Removed |Added CC||bernds at

[Bug c/58626] [4.9 Regression] possible array wrong code bug

2013-10-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58626 --- Comment #3 from Richard Biener rguenth at gcc dot gnu.org --- I have updated my do-proper-partition-dependencies patch and verified it fixes this issue. We now generate bb 2: __builtin_memmove (MEM[(void *)a + 24B], MEM[(void *)a + 48B],

[Bug java/24825] Standard runtime methods that are known to not return null should not trigger null checks.

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24825 Bug 24825 depends on bug 20318, which changed state. Bug 20318 Summary: RFE: add attribute to specify that a function never returns NULL http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318 What|Removed |Added

[Bug java/21856] null pointer check elimination

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21856 Bug 21856 depends on bug 20318, which changed state. Bug 20318 Summary: RFE: add attribute to specify that a function never returns NULL http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318 What|Removed |Added

[Bug c/20318] RFE: add attribute to specify that a function never returns NULL

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/19476] Missed null checking elimination with new

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19476 Bug 19476 depends on bug 20318, which changed state. Bug 20318 Summary: RFE: add attribute to specify that a function never returns NULL http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318 What|Removed |Added

[Bug java/24242] Redundant null pointer checks generated on refrerences returned by new operator.

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24242 Bug 24242 depends on bug 20318, which changed state. Bug 20318 Summary: RFE: add attribute to specify that a function never returns NULL http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318 What|Removed |Added

[Bug tree-optimization/58689] New: Enhance returns_nonnull

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58689 Bug ID: 58689 Summary: Enhance returns_nonnull Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: diagnostic, missed-optimization Severity: enhancement

[Bug c++/31671] Non-type template of type const ref accepted as a non-const ref

2013-10-11 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31671 --- Comment #3 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Fri Oct 11 14:18:42 2013 New Revision: 203444 URL: http://gcc.gnu.org/viewcvs?rev=203444root=gccview=rev Log: /cp 2013-10-11 Paolo Carlini

[Bug c++/31671] Non-type template of type const ref accepted as a non-const ref

2013-10-11 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31671 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/58633] [4.7/4.8/4.9 Regression] ICE with decltype of destructor call

2013-10-11 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58633 --- Comment #2 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Fri Oct 11 14:35:23 2013 New Revision: 203448 URL: http://gcc.gnu.org/viewcvs?rev=203448root=gccview=rev Log: /cp 2013-10-11 Paolo Carlini

[Bug c++/58633] [4.7/4.8 Regression] ICE with decltype of destructor call

2013-10-11 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58633 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Summary|[4.7/4.8/4.9 Regression]|[4.7/4.8

[Bug c/58683] Internal compiler error: Segmentation fault compiling Cilk Plus code with -ftree-vectorizer-verbose=1

2013-10-11 Thread bviyer at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58683 --- Comment #2 from Balaji V. Iyer bviyer at gmail dot com --- (In reply to Richard Biener from comment #1) Doesn't compile on trunk. Yes, this shouldn't compile in trunk because this feature is not implemented in it yet. It is an issue in Cilk

[Bug tree-optimization/58653] [4.7/4.8/4.9 Regression] wrong code (segfaults) at -O3 on x86_64-linux-gnu in 64-bit mode (affecting gcc 4.6 to trunk)

2013-10-11 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58653 Mikael Pettersson mikpelinux at gmail dot com changed: What|Removed |Added CC||mikpelinux

[Bug target/58690] New: internal compiler error: in copy_to_mode_reg, at explow.c:641

2013-10-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58690 Bug ID: 58690 Summary: internal compiler error: in copy_to_mode_reg, at explow.c:641 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/58689] Enhance returns_nonnull

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58689 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org --- 5) A warning that suggests adding the attribute to a function, when gcc can detect that the return value is != 0.

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 --- Comment #1 from Marc Glisse glisse at gcc dot gnu.org --- Created attachment 30981 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30981action=edit basic patch This is a very limited version of this optimization. It is in

[Bug tree-optimization/58689] Enhance returns_nonnull

2013-10-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58689 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug target/58690] internal compiler error: in copy_to_mode_reg, at explow.c:641

2013-10-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58690 --- Comment #1 from H.J. Lu hjl.tools at gmail dot com --- Created attachment 30982 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30982action=edit A patch In x32, when TLS address is in DImode and Pmode is SImode. copy_addr_to_reg will fail.

[Bug tree-optimization/58689] Enhance returns_nonnull

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58689 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) Well, guess the warning could have many false positives. Not more than the other -Wsuggest-attribute= warnings, no? I don't see how it

[Bug target/58673] ICE in final_scan_insn for movti_ppc64 with base+offset address

2013-10-11 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58673 Michael Meissner meissner at gcc dot gnu.org changed: What|Removed |Added Attachment #30978|0 |1

[Bug libgomp/58691] New: OpenMP 4: Surprising results with OMP_PLACES=

2013-10-11 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58691 Bug ID: 58691 Summary: OpenMP 4: Surprising results with OMP_PLACES= Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/58640] [4.9 Regression] wrong code (segfaults) at -O3 on x86_64-linux-gnu

2013-10-11 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58640 Jeffrey A. Law law at redhat dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/58640] [4.9 Regression] wrong code (segfaults) at -O3 on x86_64-linux-gnu

2013-10-11 Thread law at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58640 --- Comment #6 from Jeffrey A. Law law at gcc dot gnu.org --- Author: law Date: Fri Oct 11 20:31:25 2013 New Revision: 203463 URL: http://gcc.gnu.org/viewcvs?rev=203463root=gccview=rev Log: PR tree-optimization/58640 *

[Bug target/58587] Bootstrap error with ada with -mcpu=power7

2013-10-11 Thread meissner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58587 --- Comment #6 from Michael Meissner meissner at gcc dot gnu.org --- This patch caused a regression in power8 support. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58673.

[Bug c/58692] New: aarch64 arm_neon.h functions are not documented

2013-10-11 Thread lennox at cs dot columbia.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58692 Bug ID: 58692 Summary: aarch64 arm_neon.h functions are not documented Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/58693] New: GCC aarch64 arm_neon.h inconsistent with Apple clang arm64 arm_neon.h

2013-10-11 Thread lennox at cs dot columbia.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58693 Bug ID: 58693 Summary: GCC aarch64 arm_neon.h inconsistent with Apple clang arm64 arm_neon.h Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug target/58693] GCC aarch64 arm_neon.h inconsistent with Apple clang arm64 arm_neon.h

2013-10-11 Thread lennox at cs dot columbia.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58693 --- Comment #1 from Jonathan Lennox lennox at cs dot columbia.edu --- Note: I have also filed the equivalent bug with Apple.

[Bug target/58694] New: Support intrinsic functions for ARMv8 Crypto extension

2013-10-11 Thread lennox at cs dot columbia.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58694 Bug ID: 58694 Summary: Support intrinsic functions for ARMv8 Crypto extension Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug libgomp/58691] OpenMP 4: Surprising results with OMP_PLACES=

2013-10-11 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58691 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug target/58695] New: MSP430 zero-initialized array remains uninitialized with -nostartfiles

2013-10-11 Thread quandary at remstate dot com
-libatomic --disable-threads --without-headers --disable-bootstrap --with-newlib --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' Thread model: single gcc version 20131011 (experimental) rev. 203465 (Gentoo SVN) Command line that triggers the bug: msp430-elf-gcc -save

[Bug target/58695] MSP430 zero-initialized array remains uninitialized with -nostartfiles

2013-10-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58695 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/58695] MSP430 zero-initialized array remains uninitialized with -nostartfiles

2013-10-11 Thread quandary at remstate dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58695 --- Comment #2 from Travis Snoozy quandary at remstate dot com --- (In reply to Andrew Pinski from comment #1) I think you should do either -fno-zero-initialized-in-bss or even better use a linker script which forces the bss to be allocated in

[Bug tree-optimization/58686] vect_get_loop_niters() fails for some loops

2013-10-11 Thread congh at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58686 --- Comment #2 from Cong Hou congh at google dot com --- I think this issue is more like a missed optimization. If the iteration number can be calculated as a constant value at compile time, then the function assert_loop_rolls_lt() won't be

[Bug rtl-optimization/57518] [4.8/4.9 Regression] Redundant insn generated in LRA

2013-10-11 Thread brooks at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57518 Brooks Moses brooks at gcc dot gnu.org changed: What|Removed |Added CC||brooks at gcc dot

[Bug tree-optimization/58696] New: wrong code at -O3 on x86_64-linux-gnu

2013-10-11 Thread su at cs dot ucdavis.edu
--with-gmp=/usr/local/gcc-trunk --with-mpfr=/usr/local/gcc-trunk --with-mpc=/usr/local/gcc-trunk --with-cloog=/usr/local/gcc-trunk --prefix=/usr/local/gcc-trunk Thread model: posix gcc version 4.9.0 20131011 (experimental) [trunk revision 203458] (GCC) $ $ gcc-trunk -O2 small.c; a.out 0 $ gcc-4.8

[Bug target/58695] MSP430 zero-initialized array remains uninitialized with -nostartfiles

2013-10-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58695 --- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org --- (In reply to Travis Snoozy from comment #2) I don't see how the linker script can be the problem here -- perhaps I'm missing a point? Looking at my output, .bss and its variables

[Bug tree-optimization/58640] [4.9 Regression] wrong code (segfaults) at -O3 on x86_64-linux-gnu

2013-10-11 Thread su at cs dot ucdavis.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58640 --- Comment #8 from Zhendong Su su at cs dot ucdavis.edu --- (In reply to Jeffrey A. Law from comment #7) Fixed on trunk. Verified (also against the original). Thanks Jeff.

[Bug tree-optimization/58697] New: wrong code (segfaults) at -O3

2013-10-11 Thread su at cs dot ucdavis.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58697 Bug ID: 58697 Summary: wrong code (segfaults) at -O3 Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c/58698] Spurious may be used unitialized warning when compiling with -Os

2013-10-11 Thread arequipeno at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58698 --- Comment #2 from Ian Pilcher arequipeno at gmail dot com --- Created attachment 30988 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30988action=edit Header file (required to compile C source)

[Bug c/58698] New: Spurious may be used unitialized warning when compiling with -Os

2013-10-11 Thread arequipeno at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58698 Bug ID: 58698 Summary: Spurious may be used unitialized warning when compiling with -Os Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal

[Bug c/58698] Spurious may be used unitialized warning when compiling with -Os

2013-10-11 Thread arequipeno at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58698 --- Comment #1 from Ian Pilcher arequipeno at gmail dot com --- Created attachment 30987 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30987action=edit C source file

[Bug c/58698] Spurious may be used unitialized warning when compiling with -Os

2013-10-11 Thread arequipeno at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58698 --- Comment #3 from Ian Pilcher arequipeno at gmail dot com --- Created attachment 30989 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30989action=edit Preprocessed file

[Bug c/58698] Spurious may be used unitialized warning when compiling with -Os

2013-10-11 Thread arequipeno at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58698 --- Comment #4 from Ian Pilcher arequipeno at gmail dot com --- Created attachment 30990 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30990action=edit Assembler file

[Bug c++/55436] g++ compiles invalid code with child class of nested class in template class

2013-10-11 Thread conradsand.arma at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55436 Conrad conradsand.arma at gmail dot com changed: What|Removed |Added CC||conradsand.arma

[Bug bootstrap/57125] Build not SMP safe; fails to build bconfig.h

2013-10-11 Thread dirtyepic at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57125 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||toolchain at