[Bug middle-end/50460] [4.7 Regression] __builtin___strcpy_chk/__builtin_object_size don't work

2011-09-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50460 --- Comment #4 from Jakub Jelinek 2011-09-23 07:26:10 UTC --- Looking at: const char *str1 = "JIHGFEDCBA"; #define strcpy(x,y) __builtin___strcpy_chk (x, y, __builtin_object_size (x, 1)) int f1 (void) { struct A { char buf1[9]; char buf2[1]; }

[Bug c++/50477] -Wunused-parameter should not warn about virtual method declarations with bodies

2011-09-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50477 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3 f

[Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO

2011-09-23 Thread michael.meeks at suse dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394 --- Comment #24 from Michael Meeks 2011-09-23 08:33:17 UTC --- > I can imagine that this sort of magic breaks with LTO. Is the solution as > simple as using non-LTO version of libgcc3_uno.so? I will try to take a look > how this is implemented.

[Bug c++/50477] -Wunused-parameter should not warn about virtual method declarations with bodies

2011-09-23 Thread miles at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50477 --- Comment #4 from miles at gnu dot org 2011-09-23 08:59:47 UTC --- It's different because unlike most function/method definitions, this is _two_ things together -- a virtual method declaration, which pertains to this class and all subclasses, and

[Bug rtl-optimization/50489] [UPC/IA64] mis-schedule of MEM ref with -ftree-vectorize and -fschedule-insns2

2011-09-23 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50489 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comme

[Bug c++/49433] internal compiler error: in write_builtin_type, at cp/mangle.c:2167

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49433 --- Comment #2 from Paolo Carlini 2011-09-23 10:00:10 UTC --- I would say put a breakpoint on write_builtin_type and see what a heck is that type!

[Bug bootstrap/38607] AIX error messages about TOC during build

2011-09-23 Thread lukasz.filipkowski at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38607 Lukasz Filipkowski changed: What|Removed |Added CC||lukasz.filipkowski at gmail

[Bug bootstrap/50492] New: Bootstrap failure on x86_64-apple-darwin10 when using --with-build-config=bootstrap-lto

2011-09-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50492 Bug #: 50492 Summary: Bootstrap failure on x86_64-apple-darwin10 when using --with-build-config=bootstrap-lto Classification: Unclassified Product: gcc Version: 4.7.0

[Bug target/50446] [avr] Implement rotate patterns with offset 1

2011-09-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50446 --- Comment #2 from Georg-Johann Lay 2011-09-23 10:14:26 UTC --- Author: gjl Date: Fri Sep 23 10:14:23 2011 New Revision: 179116 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179116 Log: PR target/50446 * config/avr/avr.md (rotlq

[Bug target/49992] lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11

2011-09-23 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992 --- Comment #57 from Dominique d'Humieres 2011-09-23 10:16:28 UTC --- > I would appreciate some help with testing on Darwin 11 and with lto-bootstraps > on Darwin 10 (since my resources are stretched to the limit right now). See pr50492 for boot

[Bug target/50446] [avr] Implement rotate patterns with offset 1

2011-09-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50446 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/50108] [C++0x] Variadic templates with both type and non-type parameters

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50108 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

gcc-bugs@gcc.gnu.org

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50400 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/50258] [C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50258 --- Comment #2 from Paolo Carlini 2011-09-23 11:27:49 UTC --- Jason, what are we going to do about this? For the record, something like the below would pass the testsuite... /// Index: cp/decl.c =

[Bug c++/50117] [C++0x] Segmentation fault when using std::make_pair with std::ofstream

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50117 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug lto/50492] [4.7 regression] Ada bootstrap failure --with-build-config=bootstrap-lto

2011-09-23 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50492 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug lto/50492] [4.7 regression] Ada bootstrap failure --with-build-config=bootstrap-lto

2011-09-23 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50492 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug c++/45993] ICE in uses_template_parms, at cp/pt.c:7064

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45993 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug c++/50258] [C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr

2011-09-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50258 --- Comment #3 from Jonathan Wakely 2011-09-23 12:18:03 UTC --- How about using a permerror instead? Since it's deprecated, requiring users to give -fpermissive if they want to use it in C++11 seems reasonable to me.

[Bug c++/45853] Segfault while experimenting with c++-0x initializer lists

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45853 Paolo Carlini changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug lto/50492] [4.7 regression] Ada bootstrap failure --with-build-config=bootstrap-lto

2011-09-23 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50492 --- Comment #3 from Iain Sandoe 2011-09-23 12:28:21 UTC --- also on i686-darwin9.

[Bug c++/45855] switched ; and : causes compile crash

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45855 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug lto/50492] [4.7 regression] Ada bootstrap failure --with-build-config=bootstrap-lto

2011-09-23 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50492 Jack Howarth changed: What|Removed |Added CC||howarth at nitro dot |

[Bug c++/45755] [C++0x] Member function template is instantiated to perform the copy

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45755 Paolo Carlini changed: What|Removed |Added Summary|Member function template is |[C++0x] Member function

[Bug c++/45382] internal compiler error: tree code ‘call_expr’ is not supported in gimple streams

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45382 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO

2011-09-23 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394 --- Comment #25 from Markus Trippelsdorf 2011-09-23 12:42:26 UTC --- New ICE with today's gcc and today's libreoffice: [ build PAG ] writer [ build LNK ] Executable/oosplash [ build LNK ] Library/libspl_unxlo.so [ build CMP ] desktop/unx/splash

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/50258] [C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50258 --- Comment #4 from Paolo Carlini 2011-09-23 12:45:43 UTC --- Of course would work for me.

[Bug c++/45755] [C++0x] Member function template is instantiated to perform the copy

2011-09-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45755 --- Comment #2 from Jonathan Wakely 2011-09-23 12:55:23 UTC --- That wording was changed to clarify that it means a template will never be instantiated to produce S::S(S), it does not mean a template cannot be used to perform copies, see http://w

[Bug c++/45755] [C++0x] Member function template is instantiated to perform the copy

2011-09-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45755 --- Comment #3 from Jonathan Wakely 2011-09-23 12:56:54 UTC --- ... so I think this is a dup of PR 46004

[Bug c++/46004] [C++0x] template constructor used to copy object

2011-09-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46004 Jonathan Wakely changed: What|Removed |Added CC||boostcpp at gmail dot com --- Comment #

[Bug c++/45755] [C++0x] Member function template is instantiated to perform the copy

2011-09-23 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45755 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/50258] [C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr

2011-09-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50258 --- Comment #5 from Jason Merrill 2011-09-23 13:07:33 UTC --- permerror sounds good to me.

[Bug c++/45755] [C++0x] Member function template is instantiated to perform the copy

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45755 --- Comment #5 from Paolo Carlini 2011-09-23 13:09:22 UTC --- Ah, great, quite misleading indeed.

[Bug c++/50258] [C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50258 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug regression/50472] Volatile qualification in data is not enough to avoid optimization over pointer to data

2011-09-23 Thread Paulo.Matos at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50472 --- Comment #2 from Paulo J. Matos 2011-09-23 13:18:10 UTC --- (In reply to comment #1) > Duplicate of PR50078? Might be but I can't confirm. Surely we will know once Mat fixes PR50078.

[Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188

2011-09-23 Thread Paulo.Matos at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49601 Paulo J. Matos changed: What|Removed |Added CC||Paulo.Matos at csr dot com --- Comment #

[Bug regression/50472] Volatile qualification in data is not enough to avoid optimization over pointer to data

2011-09-23 Thread Paulo.Matos at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50472 Paulo J. Matos changed: What|Removed |Added CC||Paulo.Matos at csr dot com --- Comment #

[Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188

2011-09-23 Thread Paulo.Matos at csr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49601 --- Comment #4 from Paulo J. Matos 2011-09-23 13:22:15 UTC --- (In reply to comment #3) > Richard raised concerns about this PR being an old bug and already fixed. > Initially I only confirmed it in 4.6.1 but I can reproduce it in git head > 3618

[Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188

2011-09-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49601 --- Comment #5 from Jan Hubicka 2011-09-23 13:29:23 UTC --- I believe I fixed this one, will double check.

[Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188

2011-09-23 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49601 Jan Hubicka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/10980] vararg functions are not inlined

2011-09-23 Thread vanboxem.ruben at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980 Ruben Van Boxem changed: What|Removed |Added CC||vanboxem.ruben at gmail dot

[Bug tree-optimization/10980] vararg functions are not inlined

2011-09-23 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980 --- Comment #8 from Jan Hubicka 2011-09-23 13:40:55 UTC --- > This problem popped up when compiling LLVM's libc++: > M:\Development\Source\libc++\src\locale.cpp:1:0: warning: -fPIC ignored for > target (all code is position independent) [enabled

[Bug tree-optimization/10980] vararg functions are not inlined

2011-09-23 Thread vanboxem.ruben at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980 --- Comment #9 from Ruben Van Boxem 2011-09-23 13:46:27 UTC --- Current Clang compiled everything without a hitch. It might ignore the attribute, I haven't checked. Perhaps this error should be made a warning?

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2011-09-23 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 --- Comment #8 from Manuel López-Ibáñez 2011-09-23 13:59:07 UTC --- (In reply to comment #6) > Honestly, nothing similar will happen any time soon, it means changing > completely the semantics of templates. Maybe we can produce a better > diagnos

Re: [Bug tree-optimization/10980] vararg functions are not inlined

2011-09-23 Thread Jan Hubicka
I bet it just ignores the attribute that is not how the attribute is supposed to work. We output error in this case intentionally (and warning in at the same spot if function is declared inline and -Winline is given). Functions marked always_inlined really ought to be always inlined and attribute

[Bug tree-optimization/10980] vararg functions are not inlined

2011-09-23 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980 --- Comment #10 from Jan Hubicka 2011-09-23 14:10:53 UTC --- I bet it just ignores the attribute that is not how the attribute is supposed to work. We output error in this case intentionally (and warning in at the same spot if function is declar

[Bug target/50493] New: ICE in neon_disambiguate_copy, at config/arm/arm.c:20388

2011-09-23 Thread rmansfield at qnx dot com
ble-target-optspace target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared --disable-libmudflap --disable-libssp Thread model: posix gcc version 4.7.0 20110923 (experimental) [trunk revision 179117] (GCC) $ ./xgcc -B. -O3 -mfpu=neon -mfloat-abi=softfp ~/ice.i -fpic /home/ryan/ic

[Bug target/50494] New: gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2011-09-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 Bug #: 50494 Summary: gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906 Paolo Carlini changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug c++/50495] New: Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 Bug #: 50495 Summary: Optimize exact matches in overload resolution Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug target/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2011-09-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #1 from vries at gcc dot gnu.org 2011-09-23 14:52:55 UTC --- Created attachment 25348 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25348 test.c minimized from gcc.dg/vect/vect-reduc-2char.c To reproduce: $ powerpc-linux-gnu-gcc

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1 f

[Bug target/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2011-09-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #2 from vries at gcc dot gnu.org 2011-09-23 15:05:19 UTC --- Same issue occurs for gcc.dg/vect/pr44507.c with -m64.

[Bug lto/50492] [4.7 regression] Ada bootstrap failure --with-build-config=bootstrap-lto

2011-09-23 Thread iains at gcc dot gnu.org
-prefix=/usr --enable-languages=all,ada,java,obj-c++ --with-build-config='bootstrap-lto bootstrap-debug' Thread model: posix gcc version 4.6.2 20110923 (prerelease) [gcc-4_6-branch revision 179117] (GCC)

[Bug middle-end/50481] builtin to reverse the bit order

2011-09-23 Thread de...@the-user.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50481 Jonathan Schmidt-Dominé changed: What|Removed |Added CC||de...@the-user.org --- Comment

[Bug lto/50496] New: [4.7 regression] ICE in redirect_jump, at jump.c:1497

2011-09-23 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50496 Bug #: 50496 Summary: [4.7 regression] ICE in redirect_jump, at jump.c:1497 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #2 from Mathias Gaunard 2011-09-23 15:46:50 UTC --- Would you happen to have a reference to those changes or discussed improvements? I'm not testing with a very recent GCC.

[Bug lto/50496] [4.7 regression] ICE in redirect_jump, at jump.c:1497

2011-09-23 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50496 --- Comment #1 from Markus Trippelsdorf 2011-09-23 15:50:00 UTC --- Testcase is too big ATM: 1193 kilobytes. Will post reduced testcase later.

[Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO

2011-09-23 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394 --- Comment #26 from Markus Trippelsdorf 2011-09-23 15:52:02 UTC --- (In reply to comment #25) > New ICE with today's gcc and today's libreoffice: > > /var/tmp/portage/app-office/libreoffice--r1/work/libreoffice-core-/dbaccess/source/co

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #4 from Jason Merrill 2011-09-23 16:00:37 UTC --- (In reply to comment #3) > I recently made a number of improvements that will be in 4.7.0; see PR 48481. The fn_set change in particular should cut your overload resolution time by 50

[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances

2011-09-23 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #5 from dave.anglin at bell dot net 2011-09-23 16:04:18 UTC --- On 9/20/2011 6:32 PM, ramana at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 > > --- Comment #4 from Ramana Radhakrishnan > 2011-09-20 22:32

[Bug c++/50258] [C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr

2011-09-23 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50258 --- Comment #7 from paolo at gcc dot gnu.org 2011-09-23 16:20:00 UTC --- Author: paolo Date: Fri Sep 23 16:19:52 2011 New Revision: 179121 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179121 Log: /cp 2011-09-23 Paolo Carlini PR

[Bug c++/50258] [C++0x] -std=gnu++0x should allow in-class initialization of static const floating types without constexpr

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50258 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #5 from Mathias Gaunard 2011-09-23 16:38:11 UTC --- clang was already 50% faster in my tests, so I guess that will put gcc 4.7 on par with it.

[Bug target/50447] [avr] Better support of AND, OR, XOR and PLUS with constant integers for 16- and 32-bit values

2011-09-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50447 --- Comment #2 from Georg-Johann Lay 2011-09-23 17:02:20 UTC --- Author: gjl Date: Fri Sep 23 17:02:10 2011 New Revision: 179123 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179123 Log: PR target/50447 * config/avr/avr.md: (adju

[Bug target/50447] [avr] Better support of AND, OR, XOR and PLUS with constant integers for 16- and 32-bit values

2011-09-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50447 --- Comment #3 from Georg-Johann Lay 2011-09-23 17:06:49 UTC --- Author: gjl Date: Fri Sep 23 17:06:44 2011 New Revision: 179124 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179124 Log: * config/avr/avr.md (adjust_len): Add alternat

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #6 from Paolo Carlini 2011-09-23 17:08:57 UTC --- By the way, since apparently you ran actual benchmarks, some testcases (and relative numbers?) would not hurt here...

[Bug target/50447] [avr] Better support of AND, OR, XOR and PLUS with constant integers for 16- and 32-bit values

2011-09-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50447 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug debug/50497] New: gcc 4.6.x '-g' option no longer emits the .debug_pubnames section

2011-09-23 Thread geir at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50497 Bug #: 50497 Summary: gcc 4.6.x '-g' option no longer emits the .debug_pubnames section Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug debug/50497] gcc 4.6.x '-g' option no longer emits the .debug_pubnames section

2011-09-23 Thread geir at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50497 --- Comment #1 from Geir Johansen 2011-09-23 17:20:49 UTC --- If there is some workaround that will enable previous behavior please add that to this bug.

[Bug debug/50497] gcc 4.6.x '-g' option no longer emits the .debug_pubnames section

2011-09-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50497 Andrew Pinski changed: What|Removed |Added Severity|critical|normal --- Comment #2 from Andrew Pinski

[Bug rtl-optimization/50489] [UPC/IA64] mis-schedule of MEM ref with -ftree-vectorize and -fschedule-insns2

2011-09-23 Thread gary at intrepid dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50489 --- Comment #4 from Gary Funck 2011-09-23 17:38:18 UTC --- (In reply to comment #3) > Does the problem vanish if you add -fno-strict-aliasing? > > One more thing, you mention -O2 in the flags, but then refer to selective > scheduler, which is on

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #7 from Mathias Gaunard 2011-09-23 17:56:48 UTC --- Created attachment 25349 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25349 Python script to generate C++ files with many overloads Syntax is ./generate.py [use single functi

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #8 from Mathias Gaunard 2011-09-23 17:58:41 UTC --- Created attachment 25350 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25350 Bash script to more easily drive python script Same usage as generate.py, but doesn't take the fir

[Bug target/50498] New: __sync_bool_compare_and_swap_16 isn't supported for x86_64

2011-09-23 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50498 Bug #: 50498 Summary: __sync_bool_compare_and_swap_16 isn't supported for x86_64 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug target/50498] __sync_bool_compare_and_swap_16 isn't supported for x86_64

2011-09-23 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50498 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug lto/50496] [4.7 regression] ICE in redirect_jump, at jump.c:1497

2011-09-23 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50496 --- Comment #2 from Markus Trippelsdorf 2011-09-23 19:50:31 UTC --- Created attachment 25351 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25351 testcase Somewhat reduced testcase.

[Bug middle-end/50496] [4.7 regression] ICE in redirect_jump, at jump.c:1497

2011-09-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50496 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, lto Component

Re: version `GLIBC_2.14' not found (required by build/genhooks) ‏

2011-09-23 Thread Mikael Morin
On Thursday 22 September 2011 11:56:12 Teodori Serge wrote: > Hello, > I'm building a toolchain in /opt dir. I have already build and installed > glibc-2.14 and binutils-2.21.1a in /opt. > Now I want to build and install gcc-4.6.1 with gmp, mpfr and mpc also in > /opt. > > Here is my configure: >

[Bug c++/48875] Segmentation fault in maybe_clone_body with -fsyntax-only

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48875 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/47964] logical || returns false result, optimization level 02 or 03

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47964 Paolo Carlini changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/42844] const variable requires initializer / no explicitly declared default constructor

2011-09-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42844 --- Comment #15 from Jason Merrill 2011-09-23 21:30:52 UTC --- Author: jason Date: Fri Sep 23 21:30:48 2011 New Revision: 179130 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179130 Log: Core 234 - allow const objects with no initial

[Bug c++/20039] uninitialized const in `new' of `const struct'

2011-09-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20039 --- Comment #6 from Jason Merrill 2011-09-23 21:30:52 UTC --- Author: jason Date: Fri Sep 23 21:30:48 2011 New Revision: 179130 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179130 Log: Core 234 - allow const objects with no initiali

[Bug c++/45158] Nested classes

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45158 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

gcc-bugs@gcc.gnu.org

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50400 Paolo Carlini changed: What|Removed |Added CC||hans.buchmann at fhnw dot

[Bug c++/44267] SFINAE does not handle down static_cast over virtual inheritance

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44267 --- Comment #3 from Paolo Carlini 2011-09-23 21:38:33 UTC --- Jason, can you help me triaging this PR? Thanks..

[Bug c++/40831] g++ generated symbols for cloned function that be demangled.

2011-09-23 Thread ccoutant at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40831 --- Comment #12 from Cary Coutant 2011-09-23 21:39:13 UTC --- Author: ccoutant Date: Fri Sep 23 21:39:10 2011 New Revision: 179132 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179132 Log: include/ChangeLog: PR 40831 * demangle.

[Bug c++/43734] cerr related segmentation fault

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43734 Paolo Carlini changed: What|Removed |Added CC||ro at CeBiTec dot |

[Bug c++/42194] performance degradation with STL complex convolution operation

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42194 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/48665] type of const member function

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48665 Paolo Carlini changed: What|Removed |Added CC||iant at google dot com --- Comment #2 fro

[Bug c++/49485] Performance problem with C++ code

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49485 Paolo Carlini changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #2

[Bug c++/48035] [4.4 Regression] Mismatch on size of class when initializing hierarchy involving virtual inheritance and empty base classes

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48035 --- Comment #10 from Paolo Carlini 2011-09-23 21:57:15 UTC --- Jakub, shall we close this?

[Bug target/50499] New: segmentation fault in gcc.dg/compat/struct-by-value-1 c_compat_x_tst.o-c_compat_y_tst.o with ppc -m64

2011-09-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50499 Bug #: 50499 Summary: segmentation fault in gcc.dg/compat/struct-by-value-1 c_compat_x_tst.o-c_compat_y_tst.o with ppc -m64 Classification: Unclassified Product: gcc Version: 4.7

[Bug c++/48562] [C++0x] Prematurely destroys initializer_list array when using new-expression

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org Summa

[Bug target/50499] segmentation fault in gcc.dg/compat/struct-by-value-1 c_compat_x_tst.o-c_compat_y_tst.o with ppc -m64

2011-09-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50499 --- Comment #1 from vries at gcc dot gnu.org 2011-09-23 22:08:12 UTC --- Created attachment 25352 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25352 preprocessed struct-by-value-1_y.c to reproduce: $ powerpc-linux-gnu-gcc -c-m64 struct-by-v

[Bug tree-optimization/29751] not optimizing access a[0] , a[1]

2011-09-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29751 --- Comment #8 from Andrew Pinski 2011-09-23 22:09:14 UTC --- (In reply to comment #7) > Created attachment 18307 [details] > Patch which I am testing There is one bug in that patch which I have a fix for.

[Bug target/50499] segmentation fault in gcc.dg/compat/struct-by-value-1 c_compat_x_tst.o-c_compat_y_tst.o with ppc -m64

2011-09-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50499 --- Comment #2 from vries at gcc dot gnu.org 2011-09-23 22:10:51 UTC --- gcc -v configure line: ... Configured with: /scratch/vries/b6/pr43864.42.all-fsf-mainline-powerpc-linux-gnu.cfg/src/gcc-mainline/configure --build=i686-pc-linux-gnu --host=i68

[Bug target/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2011-09-23 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #3 from vries at gcc dot gnu.org 2011-09-23 22:12:13 UTC --- Configure line for compiler same as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50499#c2

  1   2   >