------- Comment #2 from manu at gcc dot gnu dot org 2008-02-03 13:36 ------- Created an attachment (id=15084) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15084&action=view) patch
This patch fixes the problem. Testcases for this would be cumbersome but could be created if required. Are we going to test every possible combination of -W*, -Werror=* and -pedantic? I hope not. Boostrapped and regression tested with --enable-languages=all on x86_64-unknown-linux-gnu. I will submit as soon as GCC 4.4 is opened. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |manu at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35058