[Bug c++/71384] New: Global constructors (init_array) emitted for trivial initialisation depending on source code ordering

2016-06-02 Thread niels at penneman dot org
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: niels at penneman dot org Target Milestone: --- GCC versions 4.7.2/5.3.0/5.3.1 are emitting a global constructor (to the .init_array section) for the

[Bug rtl-optimization/58727] Sub-optimal code for bit clear/set sequence

2013-10-14 Thread niels at penneman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58727 --- Comment #2 from Niels Penneman --- You could be right about x86 being a different issue, since the superfluous clear is there for every single optimization level that I have tested. In that case, for the sake of completeness: - ARM results ha

[Bug tree-optimization/58727] New: Sub-optimal code for bit clear/set sequence

2013-10-14 Thread niels at penneman dot org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: niels at penneman dot org GCC generates sub-optimal but functionally correct code when successively clearing a bit and setting another bit in an integral value, as shown in the "clear_set" and "set_c

[Bug c++/55311] Cannot specialize template parameter of type 'const char *const' in 'using' alias

2012-12-05 Thread niels at penneman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55311 --- Comment #2 from Niels Penneman 2012-12-05 08:32:42 UTC --- Workaround for GCC 4.8.0-alpha20121202 (full version details see earlier post) for case #2: replace STRING_PTR template parameter with static_cast(STRING_PTR). Example code b

[Bug c++/55311] Cannot specialize template parameter of type 'const char *const' in 'using' alias

2012-12-04 Thread niels at penneman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55311 Niels Penneman changed: What|Removed |Added Keywords||rejects-valid Known to fail|

[Bug c++/55535] Call to default constructor with overloaded subscript operator is interpreted as declaring/using array

2012-11-29 Thread niels at penneman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55535 --- Comment #1 from Niels Penneman 2012-11-29 21:07:07 UTC --- Wrong copy/paste for output. Below is the correct compiler output. $ g++ -fsyntax-only -Wall -Wextra voodoo.cxx voodoo.cxx: In function ‘void func()’: voodoo.cxx:10:20: error: size

[Bug c++/55535] New: Call to default constructor with overloaded subscript operator is interpreted as declaring/using array

2012-11-29 Thread niels at penneman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55535 Bug #: 55535 Summary: Call to default constructor with overloaded subscript operator is interpreted as declaring/using array Classification: Unclassified Product: gcc Version: 4

[Bug c++/55311] New: Cannot specialize template parameter of type 'const char *const' in 'using' alias

2012-11-13 Thread niels at penneman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55311 Bug #: 55311 Summary: Cannot specialize template parameter of type 'const char *const' in 'using' alias Classification: Unclassified Product: gcc Version: 4.8.0 Stat

[Bug c++/53531] <,,,,> accepted as template arguments for variadic template

2012-07-10 Thread niels at penneman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53531 Niels Penneman changed: What|Removed |Added CC||niels at penneman dot org --- Comment