public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/59884] New: Unexpected warning pragma GCC target
@ 2014-01-20  3:07 joey.ye at arm dot com
  2014-01-20  3:46 ` [Bug target/59884] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: joey.ye at arm dot com @ 2014-01-20  3:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59884
           Summary: Unexpected warning pragma GCC target
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joey.ye at arm dot com

Affected target: arm. (x86/x86_64 passes)
Affected version: trunk 20140109, 4.8, 4.7

~/cases/pragma $ cat p.c
#pragma GCC push_options
#pragma GCC optimize("O2")
int foo(int a){
return a+1;
}
#pragma GCC pop_options

~/cases/pragma $ arm-none-eabi-gcc p.c -c
p.c:6:9: warning: #pragma GCC target is not supported for this machine
[-Wpragmas]
 #pragma GCC pop_options


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

end of thread, other threads:[~2015-06-22  8:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20  3:07 [Bug c/59884] New: Unexpected warning pragma GCC target joey.ye at arm dot com
2014-01-20  3:46 ` [Bug target/59884] " pinskia at gcc dot gnu.org
2014-01-20  3:56 ` joey.ye at arm dot com
2015-04-30  9:59 ` ramana at gcc dot gnu.org
2015-05-20 12:59 ` chrbr at gcc dot gnu.org
2015-06-22  8:22 ` chrbr 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).