Messages in this thread | | | Subject | Re: [PATCH] regmap: silence GCC warning | From | Paul Bolle <> | Date | Mon, 01 Oct 2012 12:32:57 +0200 |
| |
On Mon, 2012-10-01 at 11:19 +0100, Mark Brown wrote: > I haven't actually stared hard enough at the code to figure this out > yet but given what you're changing I'd hope it's a flow analysis bug. > I'm certainly not seeing a warning here.
Well, you may be using another version of gcc, or using different defaults. I'm using gcc-4.7.2-2.fc17.x86_64 (ie, the gcc currently shipped in Fedora 17 for x86_64), in what I think to be default settings.
Note that it's not some local oddity. Looking at the (currently) latest log for a Fedora build of v3.6-rc7 you'll find an identical warning [0]. Apparently that build was done with gcc-4.7.1-5.fc18.x86_64 [1].
Paul Bolle
[0] http://kojipkgs.fedoraproject.org/packages/kernel/3.6.0/0.rc7.git2.2.fc18/data/logs/x86_64/build.log [1] http://kojipkgs.fedoraproject.org/packages/kernel/3.6.0/0.rc7.git2.2.fc18/data/logs/x86_64/root.log
| |