[Bug c/38945] No warning when using uninitialized variable

2009-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-26 19:27 --- Yes this is a dup of bug 18501. *** This bug has been marked as a duplicate of 18501 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/38945] No warning when using uninitialized variable

2009-01-24 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2009-01-24 16:05 --- I am almost sure that this is CCP again assuming that the undefined value is the same as the constant assigned, hence x++ is converted to 0++. This can be checked using -fdump-tree-all-all-lineno. If so, a duplicate of