diff options
| author | Richard Guenther <rguenther@suse.de> | 2005-11-24 10:48:15 +0000 |
|---|---|---|
| committer | Richard Biener <rguenth@gcc.gnu.org> | 2005-11-24 10:48:15 +0000 |
| commit | de9c56a4dc72cbf510064de22950ef44835701c7 (patch) | |
| tree | 2423af056692fa5b5f531ef395833a9a44b629dd /libjava/classpath/gnu/java/beans/decoder/AbstractCreatableObjectContext.java | |
| parent | 349d23dd85821238f764ac9868dcd32fc50db5a9 (diff) | |
re PR c++/14024 (g++ isn't reporting aliasing warnings)
2005-11-24 Richard Guenther <rguenther@suse.de>
Dirk Mueller <dmueller@suse.de>
PR c++/14024
* c-common.h (strict_aliasing_warning): Declare.
* c-common.c (strict_aliasing_warning): New function,
split out from ...
* c-typeck.c (build_c_cast): ... here.
* typeck.c (build_reinterpret_cast_1): Use it.
* g++.dg/warn/Wstrict-aliasing-1.C: New testcase.
* g++.dg/warn/Wstrict-aliasing-2.C: Likewise.
* g++.dg/warn/Wstrict-aliasing-3.C: Likewise.
* g++.dg/warn/Wstrict-aliasing-4.C: Likewise.
* g++.dg/warn/Wstrict-aliasing-5.C: Likewise.
* g++.dg/warn/Wstrict-aliasing-6.C: Likewise.
Co-Authored-By: Dirk Mueller <dmueller@suse.de>
From-SVN: r107459
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/AbstractCreatableObjectContext.java')
0 files changed, 0 insertions, 0 deletions
