[Bug c++/77557] gcc doesn't warn about code (clang does), __PRETTY_FUNCTION__ used in struct in function

2016-09-11 Thread marmoo1024 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77557 --- Comment #4 from Martin --- (In reply to Jonathan Wakely from comment #3) > N.B. for clang 3.9 the program prints "top level" not the constructor name. And for __func_ clang 3.9 has has an empty string. Which makes me think clang 3.9 moves th

[Bug c++/77557] gcc doesn't warn about code (clang does), __PRETTY_FUNCTION__ used in struct in function

2016-09-11 Thread marmoo1024 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77557 --- Comment #2 from Martin --- (In reply to Andrew Pinski from comment #1) > The question comes down to the following is NSDMI considered part of the > constructor or not. If not then GCC is correct here and depends on the > following code is va

[Bug c++/77557] New: gcc doesn't warn about code (clang does), __PRETTY_FUNCTION__ used in struct in function

2016-09-11 Thread marmoo1024 at gmail dot com
IRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marmoo1024 at gmail dot com Target Milestone: --- I don't know about the standard, I'm afraid to embark on a grand quest to read the whole thin

[Bug c++/77555] New: unused inline function in-function static variable accessed from outside leads to linker error

2016-09-10 Thread marmoo1024 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marmoo1024 at gmail dot com Target Milestone: --- Created attachment 39603 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39603&action=edit e

[Bug rtl-optimization/60473] optimization after shift sub-optimal

2014-03-10 Thread marmoo1024 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60473 --- Comment #1 from Martin --- After some checking I've found that the problem is with the binary OR operator. Addition doesn't have a problem but or does. Here are my results. unsigned long long **_rdtsc_64 () { unsigned long long h,l;

[Bug rtl-optimization/60473] New: optimization after shift sub-optimal

2014-03-09 Thread marmoo1024 at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marmoo1024 at gmail dot com Created attachment 32316 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32316&action=edit source file with outputs, 3 versions with simple function using them unsigned lo

[Bug c++/60471] template aliasing doesn't compile (using aa = bb)

2014-03-09 Thread marmoo1024 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60471 --- Comment #2 from Martin --- Oh, sorry, thanks for the info. On 03/09/2014 01:21 PM, glisse at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60471 > > Marc Glisse changed: > > What|Removed

[Bug c++/60471] New: template aliasing doesn't compile (using aa = bb)

2014-03-09 Thread marmoo1024 at gmail dot com
onent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marmoo1024 at gmail dot com Created attachment 32313 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32313&action=edit output of "g++ b.cpp -o b -std=c++0x -v" template class base { public: T va