public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/98209] New: printf failed with O1 or above
@ 2020-12-08 21:35 jamesgua at ca dot ibm.com
  2020-12-09  0:00 ` [Bug c/98209] " pinskia at gcc dot gnu.org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: jamesgua at ca dot ibm.com @ 2020-12-08 21:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209

            Bug ID: 98209
           Summary: printf failed with O1 or above
           Product: gcc
           Version: 9.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamesgua at ca dot ibm.com
  Target Milestone: ---

Testing file:

#include <stdio.h>

int main(int argc, char** argv) __attribute__ ((__target__ ("no-sse,no-mmx"))); 
int main(int argc, char** argv)
{
        printf("hello!\n");
        return 0;
} 

cmd to compile: gcc -O3 -c test.c
On Ubuntu 20.04 (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) it failed
with "inlining failed in call to always_inline printf’: target specific option
mismatch" but it works on Ubuntu 16.04 (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.12))

If not supported pls let me know.

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

end of thread, other threads:[~2023-07-07  9:18 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 21:35 [Bug c/98209] New: printf failed with O1 or above jamesgua at ca dot ibm.com
2020-12-09  0:00 ` [Bug c/98209] " pinskia at gcc dot gnu.org
2020-12-09  1:27 ` jamesgua at ca dot ibm.com
2020-12-09  8:24 ` marxin at gcc dot gnu.org
2020-12-09  9:03 ` rguenth at gcc dot gnu.org
2020-12-09  9:05 ` [Bug middle-end/98209] [8/9/10/11 Regression] " rguenth at gcc dot gnu.org
2020-12-09  9:05 ` rguenth at gcc dot gnu.org
2020-12-09  9:08 ` marxin at gcc dot gnu.org
2020-12-09  9:18 ` rguenther at suse dot de
2020-12-09 15:04 ` jamesgua at ca dot ibm.com
2021-01-14 11:03 ` rguenth at gcc dot gnu.org
2021-01-28 18:02 ` jakub at gcc dot gnu.org
2021-01-29  7:34 ` rguenther at suse dot de
2021-01-29  8:55 ` jakub at gcc dot gnu.org
2021-03-25 12:37 ` cvs-commit at gcc dot gnu.org
2021-03-25 12:42 ` hjl.tools at gmail dot com
2021-03-25 12:54 ` [Bug middle-end/98209] [8/9/10 " rguenth at gcc dot gnu.org
2021-03-25 13:59 ` hjl.tools at gmail dot com
2021-05-14  9:54 ` [Bug middle-end/98209] [9/10 " jakub at gcc dot gnu.org
2021-06-01  8:19 ` rguenth at gcc dot gnu.org
2022-05-27  9:44 ` [Bug middle-end/98209] [10 " rguenth at gcc dot gnu.org
2022-06-28 10:42 ` jakub at gcc dot gnu.org
2023-07-07  9:18 ` [Bug middle-end/98209] [11/12/13/14 " rguenth 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).