[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-28 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23106

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-28 Thread wilson at gcc dot gnu dot org
--- Additional Comments From wilson at gcc dot gnu dot org 2005-07-29 00:24 --- Fixed on mainline and the gcc-4.0.x branch. -- What|Removed |Added Status|ASSIGNE

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-28 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-29 00:14 --- Subject: Bug 23106 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-07-29 00:13:58 Modified files: gcc: Change

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-28 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-28 23:37 --- Subject: Bug 23106 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-28 23:37:22 Modified files: gcc: ChangeLog gcc/doc: i

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-28 Thread wilson at gcc dot gnu dot org
--- Additional Comments From wilson at gcc dot gnu dot org 2005-07-28 23:18 --- -Wstrict-aliasing warns for all aliasing problems that we can detect, and which are obviously incorrect. -Wstrict-aliasing=2 warns for all aliasing problems that we can detect, and which are not obviously co

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-28 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-28 16:40 --- Confirmed, for the doc problems. -- What|Removed |Added Severity|normal

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-27 Thread fn_x at hotmail dot com
--- Additional Comments From fn_x at hotmail dot com 2005-07-28 05:26 --- Consider this reopened as a documentation bug, then, as it is currently clearly documented that the second case will get a warning with -Wstrict-aliasing=2. -- What|Removed |Add

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-27 Thread fn_x at hotmail dot com
--- Additional Comments From fn_x at hotmail dot com 2005-07-28 00:00 --- The bug this is marked a duplicate of is about -Wall, which includes only -Wstrict-aliasing. This bug is about -Wstrict-aliasing=2. It is documented as warning for "all code which might break the strict aliasing ru

[Bug c/23106] -Wstrict-aliasing=2 doesn't warn for all aliasing problems

2005-07-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-27 23:38 --- there are two different issues here, the second example cannot be warned about, because no warning does no flow control at all and that was a different bug, PR 20689 Since this is a bug about the second i