public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/109954] New: x86-64's -m32 does not conform to documentation
@ 2023-05-24  9:33 jbeulich at suse dot com
  2023-05-24  9:45 ` [Bug target/109954] " redi at gcc dot gnu.org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: jbeulich at suse dot com @ 2023-05-24  9:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109954
           Summary: x86-64's -m32 does not conform to documentation
           Product: gcc
           Version: 13.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jbeulich at suse dot com
  Target Milestone: ---

Quote from doc: "The -m32 option sets int, long, and pointer types to 32 bits,
and generates code that runs on any i386 system." While it may well be that the
documentation is misleading, I also won't exclude that generated code is wrong
instead for a compiler that defaults to generate 64-bit code: cmov<cc> or SSE
insns are happily used by the compiler, for example. Respective pre-processor
symbols are also defined, including __k8__ and __FXSR__.

Just to make it explicit: No -march= or -mtune= options were used, just -m32.

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

end of thread, other threads:[~2023-07-10  5:11 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24  9:33 [Bug target/109954] New: x86-64's -m32 does not conform to documentation jbeulich at suse dot com
2023-05-24  9:45 ` [Bug target/109954] " redi at gcc dot gnu.org
2023-05-24  9:53 ` jakub at gcc dot gnu.org
2023-05-24  9:58 ` jbeulich at suse dot com
2023-05-24 10:02 ` redi at gcc dot gnu.org
2023-05-24 10:05 ` jakub at gcc dot gnu.org
2023-05-24 10:06 ` redi at gcc dot gnu.org
2023-05-24 10:09 ` jakub at gcc dot gnu.org
2023-05-24 10:11 ` redi at gcc dot gnu.org
2023-05-25  7:41 ` rguenth at gcc dot gnu.org
2023-06-01 10:39 ` redi at gcc dot gnu.org
2023-06-01 11:01 ` cvs-commit at gcc dot gnu.org
2023-06-01 12:01 ` cvs-commit at gcc dot gnu.org
2023-06-01 12:01 ` cvs-commit at gcc dot gnu.org
2023-06-01 12:02 ` cvs-commit at gcc dot gnu.org
2023-06-01 12:03 ` cvs-commit at gcc dot gnu.org
2023-06-01 12:03 ` redi at gcc dot gnu.org
2023-06-02  8:37 ` tschwinge at gcc dot gnu.org
2023-06-02  8:41 ` jakub at gcc dot gnu.org
2023-06-02  8:49 ` jbeulich at suse dot com
2023-06-02  8:50 ` arsen at gcc dot gnu.org
2023-07-10  5:10 ` pinskia 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).