[Bug c++/53594] [C++11] Spurious -Wuninitialized warning for member with NSDMI

2012-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53594 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/53594] [C++11] Spurious -Wuninitialized warning for member with NSDMI

2012-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53594 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/53594] [C++11] Spurious -Wuninitialized warning for member with NSDMI

2012-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53594 --- Comment #8 from Jakub Jelinek 2012-06-25 06:54:12 UTC --- Author: jakub Date: Mon Jun 25 06:54:08 2012 New Revision: 188926 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188926 Log: PR c++/53594 * class.c (check_bases_and_mem

[Bug c/53760] attribute packed doesn't pack inner structs

2012-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53760 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5 f

[Bug c++/53594] [C++11] Spurious -Wuninitialized warning for member with NSDMI

2012-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53594 --- Comment #7 from Jakub Jelinek 2012-06-25 06:48:09 UTC --- Author: jakub Date: Mon Jun 25 06:48:04 2012 New Revision: 188925 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188925 Log: PR c++/53594 * class.c (check_bases_and_mem

[Bug c++/53765] Internal errror in build_call_a at cp/call.c:342

2012-06-24 Thread svart.riddare at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53765 --- Comment #1 from Étienne 2012-06-25 05:40:22 UTC --- Same internal error on g++ 4.5.3.

[Bug c++/53765] New: Internal errror in build_call_a at cp/call.c:342

2012-06-24 Thread svart.riddare at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53765 Bug #: 53765 Summary: Internal errror in build_call_a at cp/call.c:342 Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal P

[Bug debug/53740] [4.8 Regression] --enable-checking=yes,rtl bootstrap failure with ada

2012-06-24 Thread aoliva at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53740 Alexandre Oliva changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment

[Bug target/53682] [4.7/4.8 Regression] ICE in cselib_lookup (SEGV) on i586-linux-gnu

2012-06-24 Thread aoliva at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53682 Alexandre Oliva changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/53488] Incorrect code generated when capturing a constant by reference in a lambda

2012-06-24 Thread lunow at math dot hu-berlin.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488 Daniel Lunow changed: What|Removed |Added CC||lunow at math dot |

[Bug target/40134] symbols not resolved when building shared libraries (link with -lgcc_s -lgcc?)

2012-06-24 Thread tg at mirbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40134 --- Comment #8 from Thorsten Glaser 2012-06-24 23:27:34 UTC --- Looks like this is needed for all architectures having such symbols in libgcc.a only – I just backported those for m68k to gcc-4.6 and encountered this issue, which Mikael Pettersson

[Bug target/40134] symbols not resolved when building shared libraries (link with -lgcc_s -lgcc?)

2012-06-24 Thread tg at mirbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40134 Thorsten Glaser changed: What|Removed |Added CC||tg at mirbsd dot org --- Comment #7 fro

[Bug c++/53488] Incorrect code generated when capturing a constant by reference in a lambda

2012-06-24 Thread jpalecek at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488 --- Comment #7 from Jiří Paleček 2012-06-24 20:23:38 UTC --- Daniel, sorry, but I don't think your second example is relevant. First this bug occurs only when capturing by reference, not by value, but your second example uses capture by value. Mo

[Bug c++/53488] Incorrect code generated when capturing a constant by reference in a lambda

2012-06-24 Thread jpalecek at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488 Jiří Paleček changed: What|Removed |Added CC||lunow at math dot |

[Bug c++/53763] Missing error check on decltype when used within variadic template argument list

2012-06-24 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53763 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler at |

[Bug c/53760] attribute packed doesn't pack inner structs

2012-06-24 Thread stsp at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53760 --- Comment #4 from Stas Sergeev 2012-06-24 18:20:00 UTC --- Is this mandated in some spec or doc? Any way to defeat that? :) Btw, why can't the "attribute packed" be allowed to pack on a bit boundary too? Sounds like a useless limitation, no?

[Bug c/53760] attribute packed doesn't pack inner structs

2012-06-24 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53760 --- Comment #3 from Andrew Pinski 2012-06-24 18:12:39 UTC --- Because each inner struct has to be at a byte boundary.

[Bug c++/53762] pointer-casts don't always check null-pointers

2012-06-24 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53762 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/53760] attribute packed doesn't pack inner structs

2012-06-24 Thread stsp at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53760 --- Comment #2 from Stas Sergeev 2012-06-24 18:09:18 UTC --- Even if "attribute packed" have nothing to do with this, then why doesn't it pack regardless? Eg, struct { char a:1; char b:1; char c:1; } would be packed, no matter what. Why does the

[Bug c/53760] attribute packed doesn't pack inner structs

2012-06-24 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53760 --- Comment #1 from Andrew Pinski 2012-06-24 17:59:08 UTC --- I think having a size of 4 is correct. Packed is on a byte boundary and not a bit boundary.

[Bug target/53758] Segfault at 'vmovaps' when setting pointer array in a loop

2012-06-24 Thread jan.boon at kaetemi dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53758 Jan Boon changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug translation/53764] New: Typo in translatable string: "literalto"

2012-06-24 Thread stigge at antcom dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53764 Bug #: 53764 Summary: Typo in translatable string: "literalto" Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority:

[Bug c++/53762] pointer-casts don't always check null-pointers

2012-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53762 --- Comment #2 from Jonathan Wakely 2012-06-24 16:30:54 UTC --- These are allowed: pa = static_cast(pb); pb = static_cast(pa); All the other casts are not because they involve dereferencing a null pointer which is not allowed by [expr.unary

[Bug c++/53762] pointer-casts don't always check null-pointers

2012-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53762 Jonathan Wakely changed: What|Removed |Added Severity|major |normal --- Comment #1 from Jonathan Wak

[Bug c++/53763] New: Missing error check on decltype when used within variadic template argument list

2012-06-24 Thread o.mangold at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53763 Bug #: 53763 Summary: Missing error check on decltype when used within variadic template argument list Classification: Unclassified Product: gcc Version: 4.7.1 Status

[Bug c++/53762] New: pointer-casts don't always check null-pointers

2012-06-24 Thread imzhuli at vip dot qq.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53762 Bug #: 53762 Summary: pointer-casts don't always check null-pointers Classification: Unclassified Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: major Prio

[Bug target/53759] [4.7/4.8 Regression] gcc -mavx emits vshufps for __builtin_ia32_loadlps

2012-06-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53759 --- Comment #3 from H.J. Lu 2012-06-24 15:46:33 UTC --- It is caused by revision 172123: http://gcc.gnu.org/ml/gcc-cvs/2011-04/msg00316.html

[Bug target/53759] [4.7/4.8 Regression] gcc -mavx emits vshufps for __builtin_ia32_loadlps

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

[Bug c++/53488] Incorrect code generated when capturing a constant by reference in a lambda

2012-06-24 Thread lunow at math dot hu-berlin.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488 --- Comment #5 from Daniel Lunow 2012-06-24 14:30:19 UTC --- Created attachment 27694 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27694 integral constant-expression not an integral constant-expression This test case should compile, but i

[Bug c++/53761] New: ICE (only with C++) on incorrect transparent union (first field has floating point type)

2012-06-24 Thread br+gcc at waldteufel dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53761 Bug #: 53761 Summary: ICE (only with C++) on incorrect transparent union (first field has floating point type) Classification: Unclassified Product: gcc Version: 4.7.1

[Bug target/53758] Segfault at 'vmovaps' when setting pointer array in a loop

2012-06-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53758 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug debug/52857] DW_OP_GNU_regval_type is generated with INVALID_REGNUM

2012-06-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52857 H.J. Lu changed: What|Removed |Added URL|http://gcc.gnu.org/ml/gcc-p |http://gcc.gnu.org/ml/gcc-p |

[Bug c++/53488] Incorrect code generated when capturing a constant by reference in a lambda

2012-06-24 Thread lunow at math dot hu-berlin.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488 --- Comment #4 from Daniel Lunow 2012-06-24 14:21:31 UTC --- Created attachment 27693 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27693 small test case Just wanted to report the same bug with gcc 4.7.1. I found out, that it occurs, if t

[Bug c/53760] New: attribute packed doesn't pack inner structs

2012-06-24 Thread stsp at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53760 Bug #: 53760 Summary: attribute packed doesn't pack inner structs Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priori

[Bug target/53682] [4.7/4.8 Regression] ICE in cselib_lookup (SEGV) on i586-linux-gnu

2012-06-24 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53682 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #7

[Bug target/53759] gcc -mavx emits vshufps for__builtin_ia32_loadlps

2012-06-24 Thread dag at nimrod dot no
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53759 --- Comment #1 from Dag Lem 2012-06-24 12:45:55 UTC --- Test code as follows: typedef float v4sf __attribute__ ((vector_size (4*4))); typedef float v2sf __attribute__ ((vector_size (4*2))); v2sf mem[1]; int main() { v4

[Bug target/53759] New: gcc -mavx emits vshufps for__builtin_ia32_loadlps

2012-06-24 Thread dag at nimrod dot no
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53759 Bug #: 53759 Summary: gcc -mavx emits vshufps for__builtin_ia32_loadlps Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug target/53758] New: Segfault at 'vmovaps' when setting pointer array in a loop

2012-06-24 Thread jan.boon at kaetemi dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53758 Bug #: 53758 Summary: Segfault at 'vmovaps' when setting pointer array in a loop Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED

[Bug tree-optimization/53663] 4.7 inconsistent inline handling of bool within union

2012-06-24 Thread brendan.jones.it at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663 --- Comment #4 from brendan.jones.it at gmail dot com 2012-06-24 07:56:59 UTC --- Hi, have you been able to replicate this issue with the second example I have sent? If so is there a known workaround that we can use? many thanks Brendan