[Bug c++/54020] [c++0x] incorrectly accepted constexpr functions

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54020 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/54021] [c++0x] __builtin_constant_p should be constexpr

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54021 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/54021] [c++0x] __builtin_constant_p should be constexpr

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54021 --- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2012-07-19 07:12:18 UTC --- Perhaps the C++ FE could when parsing a constexpr function during finish_call_expr of __builtin_constant_p just temporarily force optimize = 1 if it is zero to

[Bug c++/54024] Internal compiler error

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54024 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug tree-optimization/54014] Value Range propagation bug

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54014 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug target/50329] [PowerPC] Unnecessary stack frame set up

2012-07-19 Thread sebastian.hu...@embedded-brains.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50329 Sebastian Huber sebastian.hu...@embedded-brains.de changed: What|Removed |Added Attachment #25229|0 |1

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug tree-optimization/53970] -ftree-vectorization does not handle well unaligned data

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53970 --- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-19 08:48:05 UTC --- Author: rguenth Date: Thu Jul 19 08:48:01 2012 New Revision: 189647 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189647 Log: 2012-07-19 Richard

[Bug tree-optimization/54014] Value Range propagation bug

2012-07-19 Thread ferrandi at elet dot polimi.it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54014 --- Comment #6 from Fabrizio Ferrandi ferrandi at elet dot polimi.it 2012-07-19 09:11:31 UTC --- Yes, you are right. I'm assuming a two complements arithmetic but without passing the -fwrapv parameter. With that parameter my analysis is starting

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||redi at

[Bug c/54027] possible mis-optimization of signed left shift in c89 mode

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54027 --- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-19 10:07:11 UTC --- Isn't it invoking undefined behavior by means of a signed integer overflow? (if shifts are not defined in terms of multiplies we may not internally fold x

[Bug c++/54026] [4.7/4.8 regression] template const struct with mutable members erroneously emitted to .rodata

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54026 --- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-19 10:08:08 UTC --- I don't think 'mutable' overrides a const declaration specifier.

[Bug tree-optimization/54022] [4.8 regression] ICE in hoist_edge_and_branch_if_true

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54022 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added CC||stevenb.gcc

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 10:20:07 UTC --- Yes, I think so. I initially wondered if there was some interaction with PR 53901 but I think that just makes the bug visible, duration's constructor should

[Bug tree-optimization/54022] [4.8 regression] ICE in hoist_edge_and_branch_if_true

2012-07-19 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54022 --- Comment #1 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-07-19 10:21:20 UTC --- Something peculiar here is that the default and another case jumps to the same basic block: switch (D.4089_3) default: L0, case 0 ... 7: L3, case 8: L0

[Bug tree-optimization/51179] poor vectorization on interlagos.

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51179 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug ada/54028] New: [4.8 Regression] libada build failure when bootstrapping x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54028 Bug #: 54028 Summary: [4.8 Regression] libada build failure when bootstrapping x86_64-w64-mingw32 Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug target/48510] Does not vectorize loops involving casts from floating point to unsigned integer types

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48510 --- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-19 10:57:07 UTC --- We can now vectorize the conversion to unsigned int, it is not possible to directly convert from double to unsigned long as far as I can see - only

[Bug tree-optimization/54022] [4.8 regression] ICE in hoist_edge_and_branch_if_true

2012-07-19 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54022 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug target/54029] New: SH: Fix ICE in find_dead_or_set_registers

2012-07-19 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54029 Bug #: 54029 Summary: SH: Fix ICE in find_dead_or_set_registers Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/47341] unnecessary versioning in the vectorizer, not implemented affine-affine test

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47341 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Summary|unnecessary versioning in |unnecessary

[Bug middle-end/54017] Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54017 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug tree-optimization/43425] gcc should vectorize this loop by substitution

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43425 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/43428] vectorizer should invoke loop distribution to partially vectorize this loop

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43428 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug middle-end/54017] Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54017 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2012-07-19 11:29:27 UTC --- Created attachment 27832 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27832 gcc48-pr54017.patch Untested fix. Though, of course, the testcase is very

[Bug tree-optimization/35229] Vectorizer doesn't support dependence created by predictive commoning

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35229 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42652 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Blocks||53947

[Bug c++/54024] Internal compiler error

2012-07-19 Thread ian.e.mackenzie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54024 Ian Mackenzie ian.e.mackenzie at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug tree-optimization/39300] vectorizer confused by predictive commoning and PRE

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39300 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/54029] SH: ICE in find_dead_or_set_registers

2012-07-19 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54029 --- Comment #1 from chrbr at gcc dot gnu.org 2012-07-19 11:56:14 UTC --- Author: chrbr Date: Thu Jul 19 11:56:09 2012 New Revision: 189652 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189652 Log: PR target/54029 * config/sh/sh.c

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com 2012-07-19 11:57:04 UTC --- If we just do the change and nothing else, 20_util/duration/cons/constexpr.cc doesn't compile anymore with this error:

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 12:06:32 UTC --- I think that test is wrong, a duration is only constexpr_default_constructible if the rep type has a default-constructor, but std::chrono::seconds uses a

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 12:08:29 UTC --- (In reply to comment #6) I think that test is wrong, a duration is only constexpr_default_constructible if the rep type has a default-constructor ... that

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com 2012-07-19 12:17:13 UTC --- Understood, thanks. A couple of times in the past I already tweeked a bit some of those tests. Let me see...

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 12:19:05 UTC --- Another option would be to give duration::__rep a NSDMI, which leaves the testcase valid (as a QoI feature, I believe)

[Bug other/54030] New: make install does not honor --program-prefix/--program-suffix for 'gcc' (AVR build)

2012-07-19 Thread sylvain at chicoree dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54030 Bug #: 54030 Summary: make install does not honor --program-prefix/--program-suffix for 'gcc' (AVR build) Classification: Unclassified Product: gcc Version:

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #10 from Paolo Carlini paolo.carlini at oracle dot com 2012-07-19 12:23:40 UTC --- I see. For now I would rather just minimally tweak to testcase. If you want to play a bit more with this and experiment with the various options, just

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #11 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 12:34:19 UTC --- Oh, I think our current code might be intentional, we should ask Benjamin: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3303.html See

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||bkoz at

[Bug tree-optimization/54031] New: [4.8 Regression] Revision 189607 miscompiles Linux kernel

2012-07-19 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54031 Bug #: 54031 Summary: [4.8 Regression] Revision 189607 miscompiles Linux kernel Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/28656] duplicated null argument warning on memcpy()

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28656 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/53838] _GLIBCXX_DEBUG and empty ostringstream

2012-07-19 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53838 --- Comment #4 from Akim Demaille akim.demaille at gmail dot com 2012-07-19 13:16:23 UTC --- Hi People, I have therefore reported this to MacPorts, see http://trac.macports.org/ticket/35070 . The outcome is that (i) with

[Bug tree-optimization/54031] [4.8 Regression] Revision 189607 miscompiles Linux kernel

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54031 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug c++/54026] [4.7/4.8 regression] template const struct with mutable members erroneously emitted to .rodata

2012-07-19 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54026 --- Comment #2 from Paul Pluzhnikov ppluzhnikov at google dot com 2012-07-19 13:20:40 UTC --- (In reply to comment #1) I don't think 'mutable' overrides a const declaration specifier. I am not a language lawyer, but I believe the standard

[Bug c/54032] New: The C compiler does not warn about casts to more aligned types

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54032 Bug #: 54032 Summary: The C compiler does not warn about casts to more aligned types Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug tree-optimization/54031] [4.8 Regression] Revision 189607 miscompiles Linux kernel

2012-07-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54031 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2012-07-19 13:36:34 UTC --- I have spotted an error in the patch, can you try Index: gcc/builtins.c === ---

[Bug libstdc++/53838] _GLIBCXX_DEBUG and empty ostringstream

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53838 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 13:36:42 UTC --- (In reply to comment #4) What course of action would you recommend? I don't understand what the comments in the macports trac mean, but as far as I'm

[Bug target/54029] SH: ICE in find_dead_or_set_registers

2012-07-19 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54029 --- Comment #2 from chrbr at gcc dot gnu.org 2012-07-19 13:46:51 UTC --- Author: chrbr Date: Thu Jul 19 13:46:46 2012 New Revision: 189657 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189657 Log: PR target/54029 * config/sh/sh.c

[Bug rtl-optimization/48830] [4.6 regression] unrecognized insn: storing invalid upper FP reg in SImode

2012-07-19 Thread martin at netbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48830 Martin Husemann martin at netbsd dot org changed: What|Removed |Added CC||martin at

[Bug middle-end/53959] [4.8 Regression] 189.lucas in SPEC CPU 2000 miscompiled by LTO

2012-07-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53959 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/54017] Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54017 --- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2012-07-19 14:02:37 UTC --- Author: jakub Date: Thu Jul 19 14:02:32 2012 New Revision: 189658 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189658 Log: PR middle-end/54017

[Bug middle-end/54017] Incorrect implementation of infinite loops in OpenMP sections leads to SIGILL

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54017 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2012-07-19 14:05:59 UTC --- Author: jakub Date: Thu Jul 19 14:05:54 2012 New Revision: 189659 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189659 Log: PR middle-end/54017

[Bug tree-optimization/54031] [4.8 Regression] Revision 189607 miscompiles Linux kernel

2012-07-19 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54031 --- Comment #3 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-19 14:06:14 UTC --- (In reply to comment #2) I have spotted an error in the patch, can you try Unfortunately it doesn't fix the issue. I will try to narrow it down

[Bug c++/53792] [C++11][constexpr] improving compiler-time constexpr evaluation

2012-07-19 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53792 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot

[Bug target/53967] GCC produces slow code for convolution algorithm with -mfpmath=sse (the AMD_64 default)

2012-07-19 Thread bfriesen at simple dot dallas.tx.us
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53967 --- Comment #16 from bfriesen at simple dot dallas.tx.us 2012-07-19 14:29:10 UTC --- Is there a way that I can selectively apply the -frename-registers fix to functions which benefit from it in order to work around the bug until the fix is widely

[Bug fortran/54033] New: gfortran: Passing file as include directory - add diagnostic and ICE with -cpp

2012-07-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54033 Bug #: 54033 Summary: gfortran: Passing file as include directory - add diagnostic and ICE with -cpp Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug c++/54026] [4.7/4.8 regression] template const struct with mutable members erroneously emitted to .rodata

2012-07-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54026 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added CC||jason at redhat dot

[Bug c++/54026] [4.7/4.8 regression] template const struct with mutable members erroneously emitted to .rodata

2012-07-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54026 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/54027] possible mis-optimization of signed left shift in c89 mode

2012-07-19 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54027 --- Comment #2 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-07-19 15:07:54 UTC --- On Thu, 19 Jul 2012, rguenth at gcc dot gnu.org wrote: Isn't it invoking undefined behavior by means of a signed integer overflow?

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 --- Comment #13 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-07-19 15:18:16 UTC --- (In reply to comment #12) Ah! Let's add in CC both Benjamin and Daniel then. I more and more tend to change my mind: I recommend to ignore the

[Bug libstdc++/54025] atomicchrono::duration won't compile: chrono::duration::duration() is not C++11 compliant

2012-07-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug rtl-optimization/48830] [4.6 regression] unrecognized insn: storing invalid upper FP reg in SImode

2012-07-19 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48830 --- Comment #19 from Eric Botcazou ebotcazou at gcc dot gnu.org 2012-07-19 15:28:24 UTC --- I see something similar with gcc 4.5.3 when compiling mrtg: ./src/rateup.c:1136:1: error: insn does not satisfy its constraints: (insn 11219 11218

[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 Rainer Emrich rai...@emrich-ebersheim.de changed: What|Removed |Added Summary|[4.7/4.8 Regression]|[4.7/4.8

[Bug c++/54020] [c++0x] incorrectly accepted constexpr functions

2012-07-19 Thread luto at mit dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54020 --- Comment #2 from Andy Lutomirski luto at mit dot edu 2012-07-19 15:41:51 UTC --- I clearly failed at reading comprehension yesterday. Maybe this should be considered as more of an enhancement request (like PR54021): it would be nicer for the

[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-19 16:12:18 UTC --- Does changing the definition of POINTER_HASH to use intptr_t instead of long work?

[Bug middle-end/54008] [4.8 Regression] gcc.dg/tree-prof/update-loopch.c and gcc.dg/tree-ssa/pr18133-1.c

2012-07-19 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54008 Hans-Peter Nilsson hp at gcc dot gnu.org changed: What|Removed |Added CC||hp at gcc dot

[Bug fortran/54034] New: [4.8 Regression] doduc benchmark from polyhedron 11 segfaults

2012-07-19 Thread ubizjak at gmail dot com
4.8.0 20120719 (experimental) [trunk revision 189664] (GCC) [uros@localhost source]$ ./a.out MAIN : FIN S2 MAIN : FIN S1 MAIN : FIN S00011 MAIN : FIN S00022 TEMPS = 33. , NITERA : 1 TEMPS = 34.00031044 , NITERA :186 TEMPS = 35.00497388 , NITERA

[Bug c++/54026] [4.7/4.8 regression] template const struct with mutable members erroneously emitted to .rodata

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54026 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-07-19 16:44:20 UTC --- The problem is that for incomplete types TYPE_HAS_MUTABLE_P is never going to be true, as finish_struct_1 hasn't been called yet, therefore not

[Bug fortran/54034] [4.8 Regression] doduc benchmark from polyhedron 11 segfaults

2012-07-19 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54034 --- Comment #1 from Uros Bizjak ubizjak at gmail dot com 2012-07-19 16:59:37 UTC --- Created attachment 27834 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27834 doduc benchmark The source says: ! There is no condition about using this

[Bug tree-optimization/54031] [4.8 Regression] Revision 189607 miscompiles Linux kernel

2012-07-19 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54031 --- Comment #4 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-19 17:28:26 UTC --- Created attachment 27835 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27835 preprocessed source of the compilation unit involved I've

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-07-19 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 Alexander Monakov amonakov at gcc dot gnu.org changed: What|Removed |Added CC||abel at

[Bug other/54030] make install does not honor --program-prefix/--program-suffix for 'gcc' (AVR build)

2012-07-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54030 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-07-19 17:59:40 UTC --- I don't think it is right to use --program-suffix == the version and --program-prefix == target.

[Bug tree-optimization/54031] [4.8 Regression] Revision 189607 miscompiles Linux kernel

2012-07-19 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54031 --- Comment #5 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-07-19 18:01:16 UTC --- Function clocksource_enqueue is compiled to an endless loop: static void clocksource_enqueue(struct clocksource *cs) { struct list_head *entry =

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-07-19 Thread jakub at jermar dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 --- Comment #11 from Jakub Jermar jakub at jermar dot eu 2012-07-19 18:06:16 UTC --- For HelenOS, we started to hit this only after we switched from gcc 4.6.3 to 4.7.1.

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-07-19 Thread stevenb.gcc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 --- Comment #12 from stevenb.gcc at gmail dot com stevenb.gcc at gmail dot com 2012-07-19 18:11:30 UTC --- On Thu, Jul 19, 2012 at 7:50 PM, amonakov at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: I wonder how this bug managed to stay latent

[Bug fortran/54035] New: [OOP] TBP wrongly binds to a generic name if the specific name is the same

2012-07-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54035 Bug #: 54035 Summary: [OOP] TBP wrongly binds to a generic name if the specific name is the same Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug pch/48004] doesn't work with randomize_va_space

2012-07-19 Thread wbrana at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48004 wbrana wbrana at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/53787] Possible IPA-SRA / IPA-CP improvement

2012-07-19 Thread izamyatin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53787 --- Comment #7 from Igor Zamyatin izamyatin at gmail dot com 2012-07-19 19:09:49 UTC --- Any thoughts here?

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-19 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #15 from Daniel Richard G. skunk at iskunk dot org 2012-07-19 19:24:37 UTC --- (In reply to comment #14) I still don't think it's the right thing to do, but does this help? I'm trying this now, in conjunction with the patch posted

[Bug debug/53235] [4.8 Regression] 20120504 broke -fdebug-types-section

2012-07-19 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53235 --- Comment #11 from Jason Merrill jason at gcc dot gnu.org 2012-07-19 20:02:02 UTC --- Author: jason Date: Thu Jul 19 20:01:56 2012 New Revision: 189676 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189676 Log: PR debug/53235 *

[Bug c++/54021] [c++0x] __builtin_constant_p should be constexpr

2012-07-19 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54021 --- Comment #3 from Jason Merrill jason at gcc dot gnu.org 2012-07-19 20:02:13 UTC --- Author: jason Date: Thu Jul 19 20:02:08 2012 New Revision: 189677 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189677 Log: PR c++/54021 *

[Bug debug/53235] [4.8 Regression] 20120504 broke -fdebug-types-section

2012-07-19 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53235 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 --- Comment #6 from Rainer Emrich rai...@emrich-ebersheim.de 2012-07-19 20:33:01 UTC --- Am 19.07.2012 18:12, schrieb redi at gcc dot gnu.org: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 --- Comment #5 from Jonathan Wakely redi at gcc

[Bug c++/54036] New: Negating a DFP NAN in C++ produces NAN not -NAN

2012-07-19 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54036 Bug #: 54036 Summary: Negating a DFP NAN in C++ produces NAN not -NAN Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/53942] [4.6/4.7/4.8 Regression] unable to find a register to spill in class 'CREG'

2012-07-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53942 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-07-19 20:48:30 UTC --- Author: jakub Date: Thu Jul 19 20:48:25 2012 New Revision: 189681 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189681 Log: PR

[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread iant at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 --- Comment #7 from iant at google dot com iant at google dot com 2012-07-19 20:52:27 UTC --- On Thu, Jul 19, 2012 at 1:32 PM, Rainer Emrich rai...@emrich-ebersheim.de wrote: ../../../src/gcc-4.8.0/gcc/pointer-set.c: In function 'size_t

[Bug c++/54021] [c++0x] __builtin_constant_p should be constexpr

2012-07-19 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54021 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/54037] New: Warn pointer to integer cast for ilp32

2012-07-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54037 Bug #: 54037 Summary: Warn pointer to integer cast for ilp32 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement

[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

2012-07-19 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238 --- Comment #16 from Daniel Richard G. skunk at iskunk dot org 2012-07-19 21:10:28 UTC --- Okay, spoke too soon; I encountered the same error later in the game, when building the pthread variant of libstdc++-v3. I'm going to try the build with a

[Bug c/54032] The C compiler does not warn about casts to more aligned types

2012-07-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54032 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-07-19 21:43:41 UTC --- It does warn on STRICT_ALIGN targets though.

[Bug c/54037] Warn pointer to signed integer cast for ilp32

2012-07-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54037 --- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2012-07-19 21:50:33 UTC --- Created attachment 27836 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27836 A patch to add -Wpointer-to-signed-int-cast

[Bug c/54037] Warn pointer to signed integer cast for ilp32

2012-07-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54037 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2012-07-19 21:55:24 UTC --- (In reply to comment #1) Created attachment 27836 [details] A patch to add -Wpointer-to-signed-int-cast This won't work for intptr_t which is a signed

[Bug c/54037] Warn pointer to signed integer cast for ilp32

2012-07-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54037 --- Comment #3 from H.J. Lu hjl.tools at gmail dot com 2012-07-19 22:04:39 UTC --- (In reply to comment #2) (In reply to comment #1) Created attachment 27836 [details] A patch to add -Wpointer-to-signed-int-cast This won't work for

[Bug c++/54038] New: finalize_type_size enters infinite loop becasue TYPE_NEXT_VARIANT (variant) == variant

2012-07-19 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54038 Bug #: 54038 Summary: finalize_type_size enters infinite loop becasue TYPE_NEXT_VARIANT (variant) == variant Classification: Unclassified Product: gcc Version: 4.8.0

[Bug tree-optimization/54004] __atomic_always_lock_free / __atomic_is_lock_free has a faulty implementation in which the target has no saying

2012-07-19 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54004 Hans-Peter Nilsson hp at gcc dot gnu.org changed: What|Removed |Added Attachment #27819|0 |1 is

[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 --- Comment #8 from Rainer Emrich rai...@emrich-ebersheim.de 2012-07-19 22:31:32 UTC --- ../../../src/gcc-4.8.0/gcc/print-tree.c:258:31: error: cast from 'tree' to 'long unsigned int' loses precision [-fpermissive] hash = ((unsigned long)

[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 --- Comment #9 from Rainer Emrich rai...@emrich-ebersheim.de 2012-07-19 22:41:28 UTC --- ../../../src/gcc-4.8.0/gcc/tree-dump.c:171:63: error: cast from 'void*' to 'long unsigned int' loses precision [-fpermissive] fprintf (di-stream, %-4s:

[Bug c++/54038] finalize_type_size enters infinite loop becasue TYPE_NEXT_VARIANT (variant) == variant

2012-07-19 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54038 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC||markus

[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

2012-07-19 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 --- Comment #10 from Rainer Emrich rai...@emrich-ebersheim.de 2012-07-19 23:17:40 UTC --- ../../../src/gcc-4.8.0/gcc/prefix.c: In function 'char* lookup_key(char*)': ../../../src/gcc-4.8.0/gcc/prefix.c:160:22: error: invalid conversion from

[Bug bootstrap/53832] [4.8 Regression] error: macro ggc_alloc_cleared_lang_decl passed 1 arguments, but takes just 0

2012-07-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53832 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Last

  1   2   >