[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

[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 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/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 dag at nimrod dot no 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

[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 mikpe at it dot uu.se changed: What|Removed |Added CC||mikpe at it dot

[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

[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 lunow at math dot hu-berlin.de 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

[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 hjl.tools at gmail dot com changed: What|Removed |Added URL|http://gcc.gnu.org/ml/gcc-p

[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 hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last

[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 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 lunow at math dot hu-berlin.de 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

[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 hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[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 hjl.tools at gmail dot com 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 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

[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

[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 redi at gcc dot gnu.org changed: What|Removed |Added Severity|major |normal ---

[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 redi at gcc dot gnu.org 2012-06-24 16:30:54 UTC --- These are allowed: pa = static_castA*(pb); pb = static_castB*(pa); All the other casts are not because they involve dereferencing a null pointer which

[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 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 jan.boon at kaetemi dot be changed: What|Removed |Added Status|WAITING |RESOLVED

[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 pinskia at gcc dot gnu.org 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 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 stsp at users dot sourceforge.net 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

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 pinskia at gcc dot gnu.org 2012-06-24 18:12:39 UTC --- Because each inner struct has to be at a byte boundary.

[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 stsp at users dot sourceforge.net 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

[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 daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[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 jpalecek at web dot de changed: What|Removed |Added CC||lunow at math dot

[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 jpalecek at web dot de 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

[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 tg at mirbsd dot org changed: What|Removed |Added CC||tg at mirbsd 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 tg at mirbsd dot org 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,

[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 lunow at math dot hu-berlin.de changed: What|Removed |Added CC||lunow at

[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 aoliva at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[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 aoliva at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at

[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

[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 svart.riddare at gmail dot com 2012-06-25 05:40:22 UTC --- Same internal error on g++ 4.5.3.