public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/58944] New: [4.9 Regression] bogus -Wunused-macros warnings when compiling Libreoffice
@ 2013-10-31 18:24 octoploid at yandex dot com
  2013-10-31 19:06 ` [Bug other/58944] " octoploid at yandex dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: octoploid at yandex dot com @ 2013-10-31 18:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58944

            Bug ID: 58944
           Summary: [4.9 Regression] bogus -Wunused-macros warnings when
                    compiling Libreoffice
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: octoploid at yandex dot com

markus@x4 tmp % cat test.ii
#pragma GCC push_options
#pragma GCC target("xsaveopt")
void fn1(void) {}
#pragma GCC pop_options

markus@x4 tmp % gcc -Wunused-macros -march=native -c test.ii
test.ii:4:9: warning: macro "__code_model_small__" is not used
[-Wunused-macros]
 #pragma GCC pop_options
         ^
test.ii:4:9: warning: macro "__XSAVE__" is not used [-Wunused-macros]
test.ii:4:9: warning: macro "__XSAVEOPT__" is not used [-Wunused-macros]
test.ii:4:24: warning: macro "__amdfam10__" is not used [-Wunused-macros]
 #pragma GCC pop_options
                        ^
test.ii:4:24: warning: macro "__amdfam10" is not used [-Wunused-macros]
test.ii:4:24: warning: macro "__code_model_small__" is not used
[-Wunused-macros]
test.ii:4:24: warning: macro "__tune_amdfam10__" is not used [-Wunused-macros]
markus@x4 tmp %  

The "__tune_amdfam10__" and "__amdfam10" (and maybe "__code_model_small__")
warnings look bogus. 
I've noticed this issue while compiling Libreoffice.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-01-18 10:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31 18:24 [Bug other/58944] New: [4.9 Regression] bogus -Wunused-macros warnings when compiling Libreoffice octoploid at yandex dot com
2013-10-31 19:06 ` [Bug other/58944] " octoploid at yandex dot com
2013-11-04 20:25 ` tmsriram at google dot com
2013-11-06  1:18 ` tmsriram at google dot com
2013-11-19 10:42 ` [Bug target/58944] " rguenth at gcc dot gnu.org
2013-11-19 17:39 ` tmsriram at google dot com
2013-12-03  3:14 ` tmsriram at gcc dot gnu.org
2013-12-03  3:17 ` tmsriram at google dot com
2013-12-03 13:23 ` octoploid at yandex dot com
2013-12-13 15:02 ` octoploid at yandex dot com
2014-01-17 13:44 ` jakub at gcc dot gnu.org
2014-01-18 10:19 ` jakub at gcc dot gnu.org
2014-01-18 10:24 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).