Bug#293957: gcc-3.3: No warning when initializing a variable with itself.

2005-05-21 Thread Falk Hueffner
tags 293957 + upstream fixed-upstream retitle 293957 [fixed in 3.4] gcc-3.3: No warning when initializing a variable with itself. thanks Hi, this is fixed in 3.4 by the introduction of -Winit-self. -- Falk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe"

Bug#293957: gcc-3.3: No warning when initializing a variable with itself.

2005-02-06 Thread Ian Turner
Package: gcc-3.3 Version: 1:3.3.5-5 Severity: minor Consider the following C code: -- stuffage.c: CUT HERE -- void stuffage() { int foo = foo; } -- CUT HERE -- If you compile this as follows: gcc stuffage.c -Wall -c Then gcc will generate no output. This is a bug, because this program actual