: 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
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
-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
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55311
Niels Penneman changed:
What|Removed |Added
Keywords||rejects-valid
Known to fail|
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
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
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53531
Niels Penneman changed:
What|Removed |Added
CC||niels at penneman dot org
--- Comment