[Bug tree-optimization/61175] failing vectorization in case of complex access pattern

2014-05-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61175 --- Comment #1 from vincenzo Innocente vincenzo.innocente at cern dot ch --- adding #pragma GCC ivdep before the loop makes no difference

[Bug tree-optimization/60172] [4.9/4.10 Regression] ARM performance regression from trunk@207239

2014-05-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #17 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to Thomas Preud'homme from comment #16) Hi Richard, could you expand on what you said in comment #13? I don't see how reassoc could help cse here. From what I

[Bug bootstrap/61084] [4.10 regression] wide-int merge broke Solaris/SPARC bootstrap

2014-05-15 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61084 --- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE --- Thanks for the fix. The second part, fixing the pdist failures, is still missing, though. I haven't yet had an opportunity to look into the two

[Bug bootstrap/61084] [4.10 regression] wide-int merge broke Solaris/SPARC bootstrap

2014-05-15 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61084 --- Comment #11 from Eric Botcazou ebotcazou at gcc dot gnu.org --- I haven't yet had an opportunity to look into the two gnat.dg testcases that still time out. I'll look into these ones.

[Bug tree-optimization/60172] [4.9/4.10 Regression] ARM performance regression from trunk@207239

2014-05-15 Thread thomas.preudhomme at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #18 from Thomas Preud'homme thomas.preudhomme at arm dot com --- (In reply to Richard Biener from comment #17) Citing myself: On the GIMPLE level before expansion we have +40 = Arr_2_Par_Ref_22(D) + (_41 + pretmp_20);

[Bug c++/58753] Brace-initializing a vector with a direct-initialization NSDMI doesn't work in a template

2014-05-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58753 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c/61191] New: cilkplus ICE on syntax error

2014-05-15 Thread jtaylor.debian at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61191 Bug ID: 61191 Summary: cilkplus ICE on syntax error Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/60172] [4.9/4.10 Regression] ARM performance regression from trunk@207239

2014-05-15 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #19 from rguenther at suse dot de rguenther at suse dot de --- On Thu, 15 May 2014, thomas.preudhomme at arm dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #18 from Thomas Preud'homme

[Bug tree-optimization/60172] [4.9/4.10 Regression] ARM performance regression from trunk@207239

2014-05-15 Thread thomas.preudhomme at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #20 from Thomas Preud'homme thomas.preudhomme at arm dot com --- (In reply to rguent...@suse.de from comment #19) On Thu, 15 May 2014, thomas.preudhomme at arm dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172

[Bug lto/60981] lto-plugin configuration doesn't test for -static-libgcc (OSX gcc - clang)

2014-05-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60981 --- Comment #8 from Rainer Orth ro at gcc dot gnu.org --- Author: ro Date: Thu May 15 09:52:37 2014 New Revision: 210465 URL: http://gcc.gnu.org/viewcvs?rev=210465root=gccview=rev Log: Check for -static-libgcc before use (PR lto/60981) PR

[Bug lto/61192] New: Conflict between register and function name for lto on sparc

2014-05-15 Thread cederman at gaisler dot com
--enable-threads --enable-languages=c,c++ --disable-nls --prefix=/opt/rtems-4.11 --enable-version-specific-runtime-libs --with-system-zlib --disable-libstdcxx-pch --disable-win32-registry --without-included-gettext Thread model: rtems gcc version 4.9.1 20140515 (prerelease) (GCC) COLLECT_GCC_OPTIONS='-v

[Bug lto/60981] lto-plugin configuration doesn't test for -static-libgcc (OSX gcc - clang)

2014-05-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60981 --- Comment #9 from Rainer Orth ro at gcc dot gnu.org --- Author: ro Date: Thu May 15 09:56:22 2014 New Revision: 210466 URL: http://gcc.gnu.org/viewcvs?rev=210466root=gccview=rev Log: Check for -static-libgcc before use (PR lto/60981) PR

[Bug lto/60981] lto-plugin configuration doesn't test for -static-libgcc (OSX gcc - clang)

2014-05-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60981 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/61158] negative shift at fold-const.c:12095

2014-05-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61158 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Thu May 15 10:01:11 2014 New Revision: 210467 URL: http://gcc.gnu.org/viewcvs?rev=210467root=gccview=rev Log: PR tree-optimization/61158 * fold-const.c

[Bug libgcc/61097] Solaris linker change broke --disabled-shared support

2014-05-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61097 --- Comment #3 from Rainer Orth ro at gcc dot gnu.org --- Author: ro Date: Thu May 15 10:02:04 2014 New Revision: 210468 URL: http://gcc.gnu.org/viewcvs?rev=210468root=gccview=rev Log: Don't build libgcc-unwind.map with --disable-shared (PR

[Bug libgcc/61097] Solaris linker change broke --disabled-shared support

2014-05-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61097 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug lto/61192] Conflict between register and function name for lto on sparc

2014-05-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61192 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at

[Bug middle-end/61158] negative shift at fold-const.c:12095

2014-05-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61158 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Thu May 15 10:08:12 2014 New Revision: 210469 URL: http://gcc.gnu.org/viewcvs?rev=210469root=gccview=rev Log: PR tree-optimization/61158 * fold-const.c

[Bug middle-end/61158] negative shift at fold-const.c:12095

2014-05-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61158 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org --- Fixed for 4.9.1+ so far.

[Bug fortran/61126] [4.10 Regression] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #21 from Dominique d'Humieres dominiq at lps dot ens.fr --- -Wunused-parameter is enabled by -Wall. No, according to the manual it isn't. The gfortran manual reads: -Wunused-parameter Contrary to gcc's meaning of

[Bug tree-optimization/60172] [4.9/4.10 Regression] ARM performance regression from trunk@207239

2014-05-15 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #21 from rguenther at suse dot de rguenther at suse dot de --- On Thu, 15 May 2014, thomas.preudhomme at arm dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60172 --- Comment #20 from Thomas Preud'homme

[Bug fortran/61126] [4.10 Regression] gfortran does not enable -Wununused-parameter with -Wextra

2014-05-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61126 --- Comment #22 from Manuel López-Ibáñez manu at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #21) -Wunused-parameter Contrary to gcc's meaning of -Wunused-parameter, gfortran's implementation of this option does not warn

[Bug lto/60981] lto-plugin configuration doesn't test for -static-libgcc (OSX gcc - clang)

2014-05-15 Thread tony.theodore at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60981 --- Comment #11 from Tony Theodore tony.theodore at gmail dot com --- Thanks!

[Bug c++/58753] Brace-initializing a vector with a direct-initialization NSDMI doesn't work in a template

2014-05-15 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58753 --- Comment #11 from Ville Voutilainen ville.voutilainen at gmail dot com --- (In reply to Paolo Carlini from comment #10) Looks somewhat similar, but not identical. In this particular bug it doesn't seem to be a case of explicitness being the

[Bug target/61064] ARM G++ compiler mis-optimizes safe Abs function

2014-05-15 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61064 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug target/61193] New: ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 Bug ID: 61193 Summary: ABI incompatibility between POWER and Z HTM builtins and intrinsics Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: blocker

[Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added CC||dje at gcc dot

[Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added Target||powerpc*-linux

[Bug tree-optimization/61194] New: vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested

2014-05-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 Bug ID: 61194 Summary: vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested Product: gcc Version: 4.9.0 Status:

[Bug gcov-profile/60897] Mangled function name in warning during -fprofile-use phase of Firefox build

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60897 --- Comment #5 from Martin Jambor jamborm at gcc dot gnu.org --- Author: jamborm Date: Thu May 15 12:16:33 2014 New Revision: 210472 URL: http://gcc.gnu.org/viewcvs?rev=210472root=gccview=rev Log: 2014-05-15 Martin Jambor mjam...@suse.cz

[Bug gcov-profile/60897] Mangled function name in warning during -fprofile-use phase of Firefox build

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60897 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/58753] Brace-initializing a vector with a direct-initialization NSDMI doesn't work in a template

2014-05-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58753 --- Comment #12 from Paolo Carlini paolo.carlini at oracle dot com --- It is in Comment #2, though. In fact, I *only* noticed that one when I asked ;) Anyway, I was looking a bit into the other bug and interestingly a rather rough draft I have

[Bug c++/58930] [C++11] Bogus error: converting to ... from initializer list would use explicit constructor

2014-05-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58930 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/58753] Brace-initializing a vector with a direct-initialization NSDMI doesn't work in a template

2014-05-15 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58753 --- Comment #13 from Ville Voutilainen ville.voutilainen at gmail dot com --- (In reply to Paolo Carlini from comment #12) Ah, indeed, comment 2 has an explicit diagnostic as well. The patch looks reasonable (to my taste the condition doesn't,

[Bug libstdc++/60326] Incorrect type from std::make_unsignedwchar_t

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60326 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org --- Author: redi Date: Thu May 15 12:31:05 2014 New Revision: 210473 URL: http://gcc.gnu.org/viewcvs?rev=210473root=gccview=rev Log: PR libstdc++/60326 * include/std/type_traits

[Bug libstdc++/60326] Incorrect type from std::make_unsignedwchar_t

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60326 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org --- Fixed on trunk so far

[Bug target/61195] New: single precision fmov does not need to switch mode

2014-05-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61195 Bug ID: 61195 Summary: single precision fmov does not need to switch mode Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/61180] surprising -Wsurprising warning

2014-05-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61180 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|WAITING |NEW

[Bug tree-optimization/61194] vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested

2014-05-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 --- Comment #1 from vincenzo Innocente vincenzo.innocente at cern dot ch --- what I find quite absurd is that void barX() { for (int i=0; i1024; ++i) { k[i] = x[i]0; k[i] = w[i]y[i]; //z[i] = (k[i]) ? z[i] : y[i]; } } vectorize

[Bug target/61195] single precision fmov does not need to switch mode

2014-05-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61195 --- Comment #1 from chrbr at gcc dot gnu.org --- movsf_ie forces the fp_mode attr for all constraints. Testing a fix.

[Bug tree-optimization/61194] vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested

2014-05-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 --- Comment #2 from vincenzo Innocente vincenzo.innocente at cern dot ch --- new test code cat cond0.cc float x[1024]; float y[1024]; float z[1024]; float w[1024]; int k[1024]; void barX() { for (int i=0; i1024; ++i) { k[i] = (x[i]0)

[Bug tree-optimization/61090] [4.10 Regression] ICE in build_ref_for_offset

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61090 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED ---

[Bug tree-optimization/61194] [4.9 Regression] vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested

2014-05-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug ipa/61085] [4.9/4.10 Regression] wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization)

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61085 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED ---

[Bug tree-optimization/61090] [4.10 Regression] ICE in build_ref_for_offset

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61090 --- Comment #4 from Martin Jambor jamborm at gcc dot gnu.org --- Author: jamborm Date: Thu May 15 14:54:29 2014 New Revision: 210476 URL: http://gcc.gnu.org/viewcvs?rev=210476root=gccview=rev Log: 2014-05-15 Martin Jambor mjam...@suse.cz

[Bug tree-optimization/61090] [4.10 Regression] ICE in build_ref_for_offset

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61090 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/61194] [4.9/4.10 Regression] vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested

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

[Bug ipa/61085] [4.9/4.10 Regression] wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization)

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61085 --- Comment #5 from Martin Jambor jamborm at gcc dot gnu.org --- Author: jamborm Date: Thu May 15 15:04:18 2014 New Revision: 210477 URL: http://gcc.gnu.org/viewcvs?rev=210477root=gccview=rev Log: 2014-05-15 Martin Jambor mjam...@suse.cz

[Bug tree-optimization/61194] [4.9/4.10 Regression] vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested

2014-05-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- Actually the vectorizer punts on the comparisons itself. The pattern recognizer handles some of them as patt_10 = _4 0.0 ? 1 : 0; but not those feeding the BIT expressions

[Bug ipa/61085] [4.9/4.10 Regression] wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization)

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61085 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug ipa/61085] [4.9/4.10 Regression] wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization)

2014-05-15 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61085 --- Comment #6 from Martin Jambor jamborm at gcc dot gnu.org --- Author: jamborm Date: Thu May 15 15:10:58 2014 New Revision: 210478 URL: http://gcc.gnu.org/viewcvs?rev=210478root=gccview=rev Log: 2014-05-15 Martin Jambor mjam...@suse.cz

[Bug tree-optimization/61194] [4.9/4.10 Regression] vectorization failed with bit-precision arithmetic not supported even if conversion to int is requested

2014-05-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 --- Comment #5 from vincenzo Innocente vincenzo.innocente at cern dot ch --- of course if you can make z[i] = ( (x[i]0) (w[i]0)) ? z[i] : y[i]; to vectorize would be even better!

[Bug c/56724] sub-optimal location in error

2014-05-15 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724 --- Comment #5 from Tom Tromey tromey at gcc dot gnu.org --- I tried this today with a recent-ish gcc trunk build, and there's been a regression. Now: barimba. gcc --syntax-only r.c r.c: In function ‘docall’: r.c:7:10: warning: passing argument

[Bug c/56724] sub-optimal location in error

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

[Bug fortran/61028] [4.9/4.10 Regression] -g3 -g leads to spurious warnings

2014-05-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61028 --- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr --- I remember some posts about the order of -gx -gy, but cannot find it right now. It is pr61013, fixed by r210442 on trunk and r210456 for 4.9.1. AFAICT the warnings are

[Bug c/56724] sub-optimal location in error

2014-05-15 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56724 --- Comment #7 from Tom Tromey tromey at gcc dot gnu.org --- (In reply to Manuel López-Ibáñez from comment #6) (In reply to Tom Tromey from comment #5) The new situation is much worse for me as it prevents automated rewriting... What

[Bug fortran/61028] [4.9/4.10 Regression] -g3 -g leads to spurious warnings

2014-05-15 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61028 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Status|NEW

[Bug middle-end/61196] New: Optimizer does not handle memory accesses with two pointers to same location correctly

2014-05-15 Thread bjoern.m.haase at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61196 Bug ID: 61196 Summary: Optimizer does not handle memory accesses with two pointers to same location correctly Product: gcc Version: 4.5.3 Status: UNCONFIRMED

[Bug c++/61151] [4.9/4.10 Regression] ICE with lambda

2014-05-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61151 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libstdc++/61166] overflow when parse number in std::duration operator

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61166 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org --- I can see one good reason to implement those operators as templates: it allows us to check if the literal value overflows the duration::rep type, which is required by the standard

[Bug rtl-optimization/61094] [4.9/4.10 Regression] -O3 insn Internal compiler error in copyprop_hardreg_forward_1, at regcprop.c:775

2014-05-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61094 --- Comment #12 from Jeffrey A. Law law at redhat dot com --- I think the cascading problem can be pretty easily addressed. The problematical sequence of insns would look something like this: A (set (r0) (expression)) B (set (r1) (extend (r0))

[Bug c++/61103] False-positive, template-independent name taken as dependent name

2014-05-15 Thread synxis at gmx dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61103 --- Comment #1 from synxis at gmx dot fr --- I did some testing and this bug is present on: gcc 4.7.2 gcc 4.8.1 gcc 4.9.0 at least. Is it possible to have some feedback on it ? Thanks in advance.

[Bug tree-optimization/61197] New: wrong code at -O3 on x86_64-linux (in both 32-bit and 64-bit modes)

2014-05-15 Thread su at cs dot ucdavis.edu
Configured with: ../gcc-trunk/configure --prefix=/usr/local/gcc-trunk --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 4.10.0 20140515 (experimental) [trunk revision 210458] (GCC) $ $ gcc-trunk -O2 small.c; a.out $ gcc-4.9.0 -O3 small.c; a.out $ $ gcc-trunk

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #15 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Hideaki Kimura from comment #14) I'm not sure if this helps, but could you try the following code snippet? Very helpful, thanks

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #16 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Hideaki Kimura from comment #14) void run_task(DummyTask* task) { std::this_thread::sleep_for(std::chrono::milliseconds(100)); task-pr.set_value(); }

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread hideaki.kimura at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #17 from Hideaki Kimura hideaki.kimura at gmail dot com --- (In reply to Jonathan Wakely from comment #16) promise::get_future() is a non-const function that modifies the promise object, therefore it must not be called while any

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #18 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Hideaki Kimura from comment #17) Oh, is it the design of promise::get_future/set_value? I so far don't see any reference that clarifies either way (most document

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #19 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #16) The easiest fix is to call get_future() before passing the task into a new thread, and store it in a std::vectorstd::futurevoid

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #21 from Jonathan Wakely redi at gcc dot gnu.org --- Created attachment 32801 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=32801action=edit increase reference count on shared state during set_value / set_exception This patch

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread hideaki.kimura at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #22 from Hideaki Kimura hideaki.kimura at gmail dot com --- Ah, you are right, set_value() might have context switch after signaling before exitting. ... ah, and that's why what Thomas initially posted could also see a hang. { //

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #23 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Hideaki Kimura from comment #22) Ah, you are right, set_value() might have context switch after signaling before exitting. Or even before signalling (a waiting

[Bug libstdc++/60966] std::call_once sometime hangs

2014-05-15 Thread fawaka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966 --- Comment #24 from Leon Timmermans fawaka at gmail dot com --- (In reply to Jonathan Wakely from comment #18) (In reply to Hideaki Kimura from comment #17) Oh, is it the design of promise::get_future/set_value? I so far don't see any

[Bug c++/61198] Crash when selecting specializations through aliases.

2014-05-15 Thread i-photon at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61198 --- Comment #1 from Chris i-photon at hotmail dot com --- Created attachment 32802 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=32802action=edit A sample of offending code.

[Bug c++/61198] New: Crash when selecting specializations through aliases.

2014-05-15 Thread i-photon at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61198 Bug ID: 61198 Summary: Crash when selecting specializations through aliases. Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: blocker Priority: P3

[Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 --- Comment #1 from Peter Bergner bergner at gcc dot gnu.org --- Author: bergner Date: Fri May 16 03:43:12 2014 New Revision: 210486 URL: http://gcc.gnu.org/viewcvs?rev=210486root=gccview=rev Log: PR target/61193 *

[Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 --- Comment #2 from Peter Bergner bergner at gcc dot gnu.org --- Author: bergner Date: Fri May 16 03:44:19 2014 New Revision: 210487 URL: http://gcc.gnu.org/viewcvs?rev=210487root=gccview=rev Log: PR target/61193 *

[Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 --- Comment #3 from Peter Bergner bergner at gcc dot gnu.org --- Author: bergner Date: Fri May 16 03:46:23 2014 New Revision: 210488 URL: http://gcc.gnu.org/viewcvs?rev=210488root=gccview=rev Log: Backport from mainline 2014-05-15 Peter

[Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug target/61193] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61193 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libstdc++/61166] overflow when parse number in std::duration operator

2014-05-15 Thread kan.liu.229 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61166 --- Comment #10 from Kan Liu kan.liu.229 at gmail dot com --- (In reply to Jonathan Wakely from comment #9) I can see one good reason to implement those operators as templates: it allows us to check if the literal value overflows the