[Bug middle-end/41838] Incorrect "dereferencing pointer '<anonymous>' does break strict-aliasing rules"
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 7 18:01:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41838
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |RESOLVED
CC| |msebor at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The test case from attachment 18908 compiles with just a -Wunused-parameter
warning on trunk. Resolving as fixed.
t.c: In function ‘Twine operator+(const Twine&, const Twine&)’:
t.c:16:63: warning: unused parameter ‘RHS’ [-Wunused-parameter]
inline Twine operator + (const Twine & LHS, const Twine & RHS) {
^~~
More information about the Gcc-bugs
mailing list