------- Comment #7 from fxcoudert at gcc dot gnu dot org 2005-10-29 12:55 ------- Confirmed and marked as an enhancement.
The standard clearly forbids the behaviour the reporter would like (and that some commercial compilers exhibit), so it's not a bug. However, it could be an interesting feature, if someone has time to implement it. The code proposed in comment #6 is indeed the right way to use unit numbers in a very general way to avoid clashes (well, there is a race condition, but i'm not sure how you could avoid it). -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|x86_64-unknown-linux-gnu | GCC host triplet|x86_64-unknown-linux-gnu | GCC target triplet|x86_64-unknown-linux-gnu | Last reconfirmed|0000-00-00 00:00:00 |2005-10-29 12:55:40 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24576