[Bug c++/54506] Defaulted move constructors and move assignment operators are erroneously defined as deleted

2012-09-09 Thread tsoae at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54506 --- Comment #8 from Nikolka 2012-09-10 06:26:02 UTC --- (In reply to comment #7) > (In reply to comment #3) > > g++ v4.7.2 20120908 (prerelease) compiles the original example successfully, > > but it fails to compile the following code: > > G++ i

[Bug libstdc++/54172] [4.7 Regression] __cxa_guard_acquire thread-safety issue

2012-09-09 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54172 --- Comment #15 from Benjamin Kosnik 2012-09-10 05:08:51 UTC --- In 4.7-branch

[Bug libstdc++/54172] [4.7 Regression] __cxa_guard_acquire thread-safety issue

2012-09-09 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54172 --- Comment #14 from Benjamin Kosnik 2012-09-10 05:08:15 UTC --- Author: bkoz Date: Mon Sep 10 05:08:07 2012 New Revision: 191125 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191125 Log: 2012-09-09 Thiago Macieira PR libstdc++/5

[Bug libstdc++/54172] [4.7 Regression] __cxa_guard_acquire thread-safety issue

2012-09-09 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54172 --- Comment #14 from Benjamin Kosnik 2012-09-10 05:08:15 UTC --- Author: bkoz Date: Mon Sep 10 05:08:07 2012 New Revision: 191125 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191125 Log: 2012-09-09 Thiago Macieira PR libstdc++/5

[Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler

2012-09-09 Thread michael.hope at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432 Michael Hope changed: What|Removed |Added CC||michael.hope at linaro dot

[Bug c++/54506] Defaulted move constructors and move assignment operators are erroneously defined as deleted

2012-09-09 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54506 --- Comment #7 from Jason Merrill 2012-09-10 02:09:26 UTC --- (In reply to comment #3) > g++ v4.7.2 20120908 (prerelease) compiles the original example successfully, > but it fails to compile the following code: G++ is following the proposed res

[Bug web/54539] pdf docs on web site are bzipped: unusable on Apple Ipad

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

[Bug web/54539] New: pdf docs on web site are bzipped: unusable on Apple Ipad

2012-09-09 Thread tom.browder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54539 Bug #: 54539 Summary: pdf docs on web site are bzipped: unusable on Apple Ipad Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug libstdc++/43852] Embedded systems friendly libstdc++

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

[Bug libstdc++/43852] Embedded systems friendly libstdc++

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43852 --- Comment #20 from Jonathan Wakely 2012-09-09 23:08:54 UTC --- Author: redi Date: Sun Sep 9 23:08:48 2012 New Revision: 191121 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191121 Log: 2012-09-10 Sebastian Huber Jonathan Wa

[Bug c++/54506] Defaulted move constructors and move assignment operators are erroneously defined as deleted

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54506 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug c++/54506] Defaulted move constructors and move assignment operators are erroneously defined as deleted

2012-09-09 Thread tsoae at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54506 --- Comment #5 from Nikolka 2012-09-09 22:42:03 UTC --- (In reply to comment #4) These examples aren't similar. An implicitly defined move constructor performs direct-initialization of non-static data members with the corresponding members of the

[Bug c++/54506] Defaulted move constructors and move assignment operators are erroneously defined as deleted

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54506 --- Comment #4 from Jonathan Wakely 2012-09-09 21:36:40 UTC --- The example can be simplified to struct A { A() {} A(A &&) = delete; A &operator =(A &&) = delete; }; struct B { A a;

[Bug tree-optimization/54505] RFE: Inline function tables

2012-09-09 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54505 Steven Bosscher changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/54506] Defaulted move constructors and move assignment operators are erroneously defined as deleted

2012-09-09 Thread tsoae at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54506 --- Comment #3 from Nikolka 2012-09-09 20:55:38 UTC --- g++ v4.7.2 20120908 (prerelease) compiles the original example successfully, but it fails to compile the following code: template struct A { A() {} A(A cons

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #63 from Jonathan Wakely 2012-09-09 20:45:11 UTC --- (In reply to comment #55) > AFAICT nobody has been asking to cross post to libstdc++. Also see comment 40, before the first patch.

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #62 from Jonathan Wakely 2012-09-09 19:46:45 UTC --- Author: redi Date: Sun Sep 9 19:46:41 2012 New Revision: 191119 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191119 Log: PR bootstrap/54419 * acinclude.m4 (GLIBCX

[Bug c++/54538] New: Getting assembler messages when compiling

2012-09-09 Thread leonid at volnitsky dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538 Bug #: 54538 Summary: Getting assembler messages when compiling Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority

[Bug libstdc++/54388] [4.7/4.8 Regression] std::array.at() const results in undefined behaviour

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

[Bug libstdc++/54388] [4.7/4.8 Regression] std::array.at() const results in undefined behaviour

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54388 --- Comment #15 from Jonathan Wakely 2012-09-09 18:40:50 UTC --- Author: redi Date: Sun Sep 9 18:40:46 2012 New Revision: 191117 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191117 Log: PR libstdc++/54388 * include/std/array (a

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #61 from Dominique d'Humieres 2012-09-09 18:17:09 UTC --- > patch committed Thanks.

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 --- Comment #7 from Jonathan Wakely 2012-09-09 18:18:32 UTC --- No, it should be consistent with how it's handled everywhere else.

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-09 Thread rbmj at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 --- Comment #6 from rbmj at verizon dot net 2012-09-09 18:08:11 UTC --- Making local changes to bring stdint.h into compliance works for me as well. (In reply to comment #5) > (In reply to comment #4) > > Maybe it would be nice to use #error in he

[Bug libstdc++/54388] [4.7/4.8 Regression] std::array.at() const results in undefined behaviour

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54388 --- Comment #13 from Jonathan Wakely 2012-09-09 17:56:15 UTC --- (In reply to comment #10) > Can the compiler warn about the original (buggy) code? It already does: c.cc: In function ‘A& get(int)’: c.cc:3:43: error: invalid initialization of no

[Bug libstdc++/54388] [4.7/4.8 Regression] std::array.at() const results in undefined behaviour

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54388 --- Comment #13 from Jonathan Wakely 2012-09-09 17:56:15 UTC --- (In reply to comment #10) > Can the compiler warn about the original (buggy) code? It already does: c.cc: In function ‘A& get(int)’: c.cc:3:43: error: invalid initialization of no

[Bug c++/54537] undiagnosed using-declaration conflicting with used function

2012-09-09 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54537 fabien at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/54537] New: undiagnosed using-declaration conflicting with used function

2012-09-09 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54537 Bug #: 54537 Summary: undiagnosed using-declaration conflicting with used function Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

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

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #59 from Jonathan Wakely 2012-09-09 17:20:47 UTC --- Author: redi Date: Sun Sep 9 17:20:42 2012 New Revision: 19 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=19 Log: 2012-09-09 Ulrich Drepper Dominique d'

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 --- Comment #5 from Jonathan Wakely 2012-09-09 17:19:44 UTC --- (In reply to comment #4) > Maybe it would be nice to use #error in header file to inform the user that > this feature is not supported for target system (nicer than to get linker >

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

2012-09-09 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54021 --- Comment #9 from Jason Merrill 2012-09-09 16:48:46 UTC --- (In reply to comment #5) > // This causes "error: the value of 'x' is not usable in a constant > expression" > constexpr bool c = __builtin_constant_p(x); > } This is also fi

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-09 Thread andris.pavenis at iki dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 --- Comment #4 from Andris Pavenis 2012-09-09 16:47:44 UTC --- My test was done with DJGPP development version (2.04) only. It has stdint.h, but it was recognized by configure as unusable due to bug unrelated to GCC itself. After fixing this prob

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #58 from Jonathan Wakely 2012-09-09 16:21:25 UTC --- (In reply to comment #56) > I suppose that the lack of responsiveness may be ultimately due to the fact > that the issue only shows up on some specific systems (that is, those using

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #57 from Jonathan Wakely 2012-09-09 16:18:12 UTC --- (In reply to comment #55) > (1) A new patch has been posted at > http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00466.html to fix a typo in my > email address. But not to a list I ac

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #56 from Paolo Carlini 2012-09-09 16:14:41 UTC --- I suppose that the lack of responsiveness may be ultimately due to the fact that the issue only shows up on some specific systems (that is, those using old assemblers) which normally

[Bug fortran/54522] Using "g77 -O -fno-automatic", reassignment of a variable in an if statement in a function triggers a compiler bug.

2012-09-09 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54522 --- Comment #3 from Dominique d'Humieres 2012-09-09 15:27:29 UTC --- The test case with -O -fno-automatic compiles on powerpc-apple-darwin9 with gcc 3.4.3.

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-09-09 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #55 from Dominique d'Humieres 2012-09-09 15:21:45 UTC --- (In reply to comments #53 and #54) > Please post the patch to the right list and I'll approve it, all libstdc++ > patches need to go to the libstdc++ list. > > I've tested the

[Bug target/54536] New: [avr]: incorrect crt with -mmcu=at90usb1287

2012-09-09 Thread michael.schaenzler at nurfuerspam dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54536 Bug #: 54536 Summary: [avr]: incorrect crt with -mmcu=at90usb1287 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: minor Priorit

[Bug fortran/54522] Using "g77 -O -fno-automatic", reassignment of a variable in an if statement in a function triggers a compiler bug.

2012-09-09 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54522 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org --- Co

[Bug c++/54535] New: gcc fails to warn when functions are inlined

2012-09-09 Thread david at doublewise dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54535 Bug #: 54535 Summary: gcc fails to warn when functions are inlined Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: minor Priori

[Bug pch/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support

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

[Bug c++/54532] [C++0x][constexpr] internal error when initializing static constexpr with pointer to non-static member variable

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54532 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/53475] [4.8 Regression] Section type conflict errors in libstdc++ testsuite

2012-09-09 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53475 Andreas Schwab changed: What|Removed |Added CC||sch...@linux-m68k.org --- Comment #8 fro

[Bug libstdc++/54451] c++11/random.cc build failure when _GLIBCXX_USE_C99_STDINT_TR1 is not defined in config.h

2012-09-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54451 Paolo Carlini changed: What|Removed |Added CC||drepper.fsp at gmail dot

[Bug libstdc++/54530] [4.8 regression] error: std::piecewise_construct causes a section type conflict with std::piecewise_construct

2012-09-09 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54530 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|aaw at googl

[Bug target/29845] sh floating point emulation is inefficient

2012-09-09 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29845 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #8 fr

[Bug tree-optimization/54505] RFE: Inline function tables

2012-09-09 Thread avi at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54505 --- Comment #4 from Avi Kivity 2012-09-09 11:12:53 UTC --- (In reply to comment #2) > I don't think this transformation would always be an improvement. gcc should make the transformation when it improves the code (like all other transformations

[Bug target/54531] vpermilpd(x, 2 or 10) is a move

2012-09-09 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54531 --- Comment #1 from Marc Glisse 2012-09-09 09:30:57 UTC --- As a side note, is there a reason to prefer vpermpd to vpermilpd when both are available (apart from the fact that they are written in that order in the .md file)? I would expect that by

[Bug pch/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support

2012-09-09 Thread kettenis at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39618 kettenis at gnu dot org changed: What|Removed |Added CC||kettenis at gnu dot org --- Comm

[Bug debug/54534] New: [4.7 Regression] Missing location for unused variable

2012-09-09 Thread jan.kratochvil at redhat dot com
PASS: gcc (GCC) 4.6.4 20120909 (prerelease) PASS: gcc (GCC) 4.8.0 20120909 (experimental) <1><2d>: Abbrev Number: 2 (DW_TAG_variable) <2e> DW_AT_name: i <30> DW_AT_decl_file : 1 <31> DW_AT_decl_line : 1 <32> DW

[Bug c++/54527] wcout breaks on win32 console

2012-09-09 Thread vurentjie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54527 vurentjie changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/54527] wcout breaks on win32 console

2012-09-09 Thread vurentjie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54527 vurentjie changed: What|Removed |Added Severity|blocker |enhancement

[Bug debug/54533] breakpoint on C-style variadic function not hit at -O0 on amd64

2012-09-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54533 --- Comment #3 from Andrew Pinski 2012-09-09 07:17:00 UTC --- (In reply to comment #2) > Looks like powerpc has the same issue: > http://sourceware.org/ml/gdb/2009-01/msg00161.html Which has a patch: http://gcc.gnu.org/ml/gcc-patches/2009-02/msg

[Bug debug/54533] breakpoint on C-style variadic function not hit at -O0 on amd64

2012-09-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54533 --- Comment #2 from Andrew Pinski 2012-09-09 07:12:07 UTC --- Looks like powerpc has the same issue: http://sourceware.org/ml/gdb/2009-01/msg00161.html

[Bug debug/54533] breakpoint on C-style variadic function not hit at -O0 on amd64

2012-09-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54533 --- Comment #1 from Andrew Pinski 2012-09-09 07:01:52 UTC --- I have seen a bug about this before but I cannot find it. It only happen on x86_64 as al tells the function if it uses floating point arguments or not. It might be a bug in gdb in fi