[Bug c++/10291] error referencing a static local from a local struct in template code

2013-03-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10291 --- Comment #10 from Paolo Carlini 2013-03-02 11:05:45 UTC --- This is fixed for 4.8.0. I'm adding the testcase and closing the PR.

[Bug c++/52688] static local variable can accessed from local class of function template

2013-03-02 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52688 --- Comment #13 from paolo at gcc dot gnu.org 2013-03-02 11:17:48 UTC --- Author: paolo Date: Sat Mar 2 11:17:44 2013 New Revision: 196405 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196405 Log: 2013-03-02 Paolo Carlini

[Bug c++/10291] error referencing a static local from a local struct in template code

2013-03-02 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10291 --- Comment #11 from paolo at gcc dot gnu.org 2013-03-02 11:17:48 UTC --- Author: paolo Date: Sat Mar 2 11:17:44 2013 New Revision: 196405 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196405 Log: 2013-03-02 Paolo Carlini

[Bug c++/10291] error referencing a static local from a local struct in template code

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

[Bug target/56508] New: [SH] Add support for rtv/n instruction

2013-03-02 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56508 Bug #: 56508 Summary: [SH] Add support for rtv/n instruction Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement

[Bug c/56507] GCC -march=native for Core2Duo

2013-03-02 Thread bratsinot at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56507 --- Comment #2 from Alexander 2013-03-02 13:49:39 UTC --- (In reply to comment #1) > (In reply to comment #0) > > GCC -march=native includes only flags: -mmmx -msse -msse2 -msse3 -mssse3 > > but some Core2Duo processors have -msse4 -msse4

[Bug c++/54383] Internal compiler error for lamba function using this-> with -std=c++0x

2013-03-02 Thread ogoffart at kde dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54383 --- Comment #5 from Olivier Goffart 2013-03-02 15:12:54 UTC --- The code in Bug 56464 is valid code: struct bug { bug*a = [&](){return this;}(); }; (Just in case this may change the priority)

[Bug c++/56464] Crashes when using implicit this in a lambda capture in member initializer

2013-03-02 Thread poenitz at htwm dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56464 poenitz at htwm dot de changed: What|Removed |Added CC||poenitz at htwm dot de

[Bug rtl-optimization/55757] Suboptimal interrupt prologue/epilogue for ARMv7-M (Cortex-M3)

2013-03-02 Thread web at brolinembedded dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55757 Timmy Brolin changed: What|Removed |Added CC||web at brolinembedded dot

[Bug bootstrap/56509] New: [4.8 regression] gnattols build failure

2013-03-02 Thread sch...@linux-m68k.org
Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: sch...@linux-m68k.org Target: powerpc-*-* ../../xgcc -B../../ -static-libgcc -I- -I../rts -I. -I/daten/gcc/gcc-20130302/gcc/ada -DIN_GCC -O2

[Bug bootstrap/56509] [4.8 regression] gnattols build failure

2013-03-02 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56509 Andreas Schwab changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- C

[Bug target/55303] [SH] Add support for clips / clipu instructions

2013-03-02 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55303 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/55303] [SH] Add support for clips / clipu instructions

2013-03-02 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55303 --- Comment #2 from Oleg Endo 2013-03-02 16:23:57 UTC --- For non-SH2A targets there is an opportunity to generate better insn sequences for the special case unsigned int test (unsigned int a) { return a > 1 ? 1 : a; } on SH2A:

[Bug fortran/55789] [4.6/4.7 Regression] Needless realloc with array constructor.

2013-03-02 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55789 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Co

[Bug fortran/55362] [4.6/4.7 Regression] ICE with size() on character pointer

2013-03-02 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55362 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Co

[Bug c++/56312] Firefox 20.0a1 compilation with enabled LTO fails

2013-03-02 Thread marxin.liska at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56312 --- Comment #3 from Martin Liška 2013-03-02 17:37:31 UTC --- I just run it in debugger giving me exactly the same stack trace, so can_refer_decl_in_current_unit_p is the place. Martin

[Bug c/56507] GCC -march=native for Core2Duo

2013-03-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56507 --- Comment #3 from Andrew Pinski 2013-03-02 17:41:13 UTC --- Can you invoke the following command: cat /proc/cpuinfo

[Bug c++/56312] Firefox 20.0a1 compilation with enabled LTO fails

2013-03-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56312 --- Comment #4 from Jan Hubicka 2013-03-02 17:50:06 UTC --- I see, it looks like a bug when computing the boundary then; if folding is possible through the constructor, the symtab node ought to be shipped into the partition.

[Bug debug/56502] entry-value: Missing DW_AT_linkage_name for C<->C++ calls

2013-03-02 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56502 --- Comment #1 from Jan Kratochvil 2013-03-02 18:19:42 UTC --- FAIL: gcc-4.8.0-0.14.fc19.x86_64 FAIL: GNU C++ 4.7.3 20130221 (prerelease) FAIL: GNU C++ 4.8.0 20130302 (experimental)

[Bug c/56507] GCC -march=native for Core2Duo

2013-03-02 Thread bratsinot at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56507 --- Comment #4 from Alexander 2013-03-02 18:51:35 UTC --- (In reply to comment #3) > Can you invoke the following command: > cat /proc/cpuinfo I'm terribly sorry, something went wrong (several times), when I executed "gcc -march=native

[Bug c++/56506] variadic class template specialization not selected as best match

2013-03-02 Thread mmehlich at semanticdesigns dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506 --- Comment #1 from Michael Mehlich 2013-03-02 18:55:43 UTC --- Some more information using a function template instead of a class template: -- Additional code template void foo(Y,T>...) { } int main() { Y,int> yi; Y,bool>

[Bug inline-asm/56479] Register allocator can't allocate two 4-byte variables into 8 registers for inline asm on avr-gcc

2013-03-02 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56479 Georg-Johann Lay changed: What|Removed |Added Target||avr Status|UNCONF

[Bug libmudflap/44661] Link order (?) might cause threaded libmudflap to assert

2013-03-02 Thread g_sauthoff at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44661 --- Comment #5 from Georg Sauthoff 2013-03-02 20:42:25 UTC --- I can reproduce this issue on Ubuntu 10.04 (gcc 4.4.3). That means: $ gcc -o foo foo.c -fmudflapth -lpthread -lmudflapth $ ./foo -> mf: erroneous reentrancy detected i

[Bug libmudflap/44661] Link order (?) might cause threaded libmudflap to assert

2013-03-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44661 --- Comment #6 from Andrew Pinski 2013-03-02 20:44:20 UTC --- I bet the issue is that Ubuntu's GCC passes --as-needed by default (non standard really).

[Bug libmudflap/37927] Mudflap : invalid reads when accessing static objects in shared libraries

2013-03-02 Thread g_sauthoff at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37927 --- Comment #4 from Georg Sauthoff 2013-03-02 20:51:07 UTC --- Can reproduce this with gcc 4.7.2: $ cat setl.c #include #include #include int main() { char *s = setlocale(LC_ALL, 0); char buffer[512] = {0}; strcpy(buf

[Bug c++/56464] Crashes when using implicit this in a lambda capture in member initializer

2013-03-02 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56464 --- Comment #5 from Jonathan Wakely 2013-03-02 22:20:44 UTC --- That one's easy, it can be both ice-on-valid-code and ice-on-invalid-code If it crashes in the same place and is fixed by the same fix, it's the same bug, no?

[Bug debug/56510] New: adding -g compiles 'forever' vs 49s

2013-03-02 Thread sam-gccbug at rushing dot nightmare.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56510 Bug #: 56510 Summary: adding -g compiles 'forever' vs 49s Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Pri

[Bug debug/56510] adding -g compiles 'forever' vs 49s

2013-03-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56510 --- Comment #1 from Andrew Pinski 2013-03-03 00:10:49 UTC --- Since you are building the trunk you should do timings only when configure with --enable-checking=release as by default on the trunk, some extra checking is enabled.

[Bug debug/56510] adding -g compiles 'forever' vs 49s

2013-03-02 Thread sam-gccbug at rushing dot nightmare.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56510 --- Comment #2 from Sam Rushing 2013-03-03 00:48:51 UTC --- I recompiled with --enable-checking=release, but I couldn't see any difference. I've attached to the process with gdb and it appears to be stuck forever in cselib.c, often in cs

[Bug debug/56510] adding -g compiles 'forever' vs 49s

2013-03-02 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56510 Steven Bosscher changed: What|Removed |Added CC||steven at gcc dot gnu.org ---

[Bug debug/56510] adding -g compiles 'forever' vs 49s

2013-03-02 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56510 Steven Bosscher changed: What|Removed |Added Keywords||compile-time-hog S

[Bug debug/56510] adding -g compiles 'forever' vs 49s

2013-03-02 Thread sam-gccbug at rushing dot nightmare.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56510 --- Comment #4 from Sam Rushing 2013-03-03 01:19:30 UTC --- That did the trick... -fno-var-tracking fixes the issue.

[Bug c++/56485] [cilkplus] internal compiler error: in cdtor_comdat_group, at cp/optimize.c: 186

2013-03-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56485 Andrew Pinski changed: What|Removed |Added Severity|major |normal

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored "-Wundef"

2013-03-02 Thread markus at oberhumer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Markus F.X.J. Oberhumer changed: What|Removed |Added CC||markus at oberhumer dot

[Bug tree-optimization/56145] [4.8 Regression] Use of too much optimizations -O2 -ffast-math -floop-parallelize-all

2013-03-02 Thread vchou79 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145 --- Comment #5 from Vincent 2013-03-03 05:00:12 UTC --- The problem started with (ppl changeover to isl) this revision http://gcc.gnu.org/viewcvs?view=revision&revision=189156

[Bug rtl-optimization/56511] New: memcpy misses chance to use AVX instructions

2013-03-02 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56511 Bug #: 56511 Summary: memcpy misses chance to use AVX instructions Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/56511] memcpy misses chance to use AVX instructions

2013-03-02 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56511 --- Comment #1 from Jeffrey Yasskin 2013-03-03 06:19:57 UTC --- LLVM catches this optimization.

[Bug target/56511] memcpy misses chance to use AVX instructions

2013-03-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56511 Andrew Pinski changed: What|Removed |Added Target||x86_64-*-* Component|rt