[Bug target/96786] rs6000: We output the wrong .machine for -mcpu=7450
erhard_f at mailbox dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 10 20:17:17 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96786
Erhard F. <erhard_f at mailbox dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |erhard_f at mailbox dot org
--- Comment #2 from Erhard F. <erhard_f at mailbox dot org> ---
This seems to have been fixed meanwhile. My Gentoo ppc/ppc64 box says:
# gcc-9.5.0 -S -m32 -mcpu=7450 -frecord-gcc-switches -xc -o - - < /dev/null |
grep -E 'mcpu|machine'
.ascii "-mcpu=7450"
# gcc-10.4.0 -S -m32 -mcpu=7450 -frecord-gcc-switches -xc -o - - < /dev/null |
grep -E 'mcpu|machine'
.machine "7450"
.ascii "-mcpu=7450"
# gcc-11.3.0 -S -m32 -mcpu=7450 -frecord-gcc-switches -xc -o - - < /dev/null |
grep -E 'mcpu|machine'
.machine power7
.string "GNU C17 11.3.0 -msecure-plt -m32 -mcpu=7450"
# gcc-12.1.1 -S -m32 -mcpu=7450 -frecord-gcc-switches -xc -o - - < /dev/null |
grep -E 'mcpu|machine'
.machine "7450"
.string "GNU C17 12.1.1 20220625 -msecure-plt -m32 -mcpu=7450"
This would be on the 32bit chroot of my Talos II.
More information about the Gcc-bugs
mailing list