public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745
@ 2021-03-24 14:55 marxin at gcc dot gnu.org
2021-03-24 14:55 ` [Bug target/99753] " marxin at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-24 14:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753
Bug ID: 99753
Summary: [11 Regression] ICE in ix86_target_macros_internal, at
config/i386/i386-c.c:250 since
r11-5757-g3e2ae3ee285a5745
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
The following fails:
$ gcc -march=amd ~/Programming/testcases/a.c -m32 -c
<built-in>: internal compiler error: in ix86_target_macros_internal, at
config/i386/i386-c.c:250
0x657e49 ix86_target_macros_internal
/home/marxin/Programming/gcc/gcc/config/i386/i386-c.c:250
0x96c24c ix86_target_macros()
/home/marxin/Programming/gcc/gcc/config/i386/i386-c.c:770
0x91d3d7 c_cpp_builtins(cpp_reader*)
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c:1498
0x9382fe c_finish_options
/home/marxin/Programming/gcc/gcc/c-family/c-opts.c:1467
0x93b201 c_common_parse_file()
/home/marxin/Programming/gcc/gcc/c-family/c-opts.c:1212
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
I've got a patch for it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745
2021-03-24 14:55 [Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745 marxin at gcc dot gnu.org
@ 2021-03-24 14:55 ` marxin at gcc dot gnu.org
2021-03-24 14:56 ` marxin at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-24 14:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-03-24
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745
2021-03-24 14:55 [Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745 marxin at gcc dot gnu.org
2021-03-24 14:55 ` [Bug target/99753] " marxin at gcc dot gnu.org
@ 2021-03-24 14:56 ` marxin at gcc dot gnu.org
2021-03-24 19:45 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-24 14:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
Known to fail| |11.0
Known to work| |10.2.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745
2021-03-24 14:55 [Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745 marxin at gcc dot gnu.org
2021-03-24 14:55 ` [Bug target/99753] " marxin at gcc dot gnu.org
2021-03-24 14:56 ` marxin at gcc dot gnu.org
@ 2021-03-24 19:45 ` cvs-commit at gcc dot gnu.org
2021-03-24 19:47 ` marxin at gcc dot gnu.org
2021-03-31 12:57 ` cvs-commit at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-24 19:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:4f00c4d40a539360938607561460904663c64cda
commit r11-7818-g4f00c4d40a539360938607561460904663c64cda
Author: Martin Liska <mliska@suse.cz>
Date: Wed Mar 24 15:58:03 2021 +0100
i386: fix -march=amd crash
It started with g:3e2ae3ee285a57455d5a23bd352a68c289130186 where
new entry was added to processor_alias_table after generic node:
+ {"amdfam19h", PROCESSOR_GENERIC, CPU_GENERIC, 0,
+ M_CPU_TYPE (AMDFAM19H), P_NONE},
and then the following is violated:
/* NB: processor_alias_table stops at the "generic" entry. */
gcc/ChangeLog:
PR target/99753
* common/config/i386/i386-common.c (ARRAY_SIZE): Fix off-by-one
error.
* config/i386/i386-options.c (ix86_option_override_internal):
Add run-time assert.
gcc/testsuite/ChangeLog:
PR target/99753
* gcc.target/i386/pr99753.c: New test.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745
2021-03-24 14:55 [Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745 marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2021-03-24 19:45 ` cvs-commit at gcc dot gnu.org
@ 2021-03-24 19:47 ` marxin at gcc dot gnu.org
2021-03-31 12:57 ` cvs-commit at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-24 19:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/99753] [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745
2021-03-24 14:55 [Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745 marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2021-03-24 19:47 ` marxin at gcc dot gnu.org
@ 2021-03-31 12:57 ` cvs-commit at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-31 12:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99753
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jan Hubicka
<hubicka@gcc.gnu.org>:
https://gcc.gnu.org/g:f87a08caf42e45162e934c7120a677565149708a
commit r10-9639-gf87a08caf42e45162e934c7120a677565149708a
Author: Martin Liska <mliska@suse.cz>
Date: Wed Mar 24 15:58:03 2021 +0100
i386: fix -march=amd crash
It started with g:3e2ae3ee285a57455d5a23bd352a68c289130186 where
new entry was added to processor_alias_table after generic node:
+ {"amdfam19h", PROCESSOR_GENERIC, CPU_GENERIC, 0,
+ M_CPU_TYPE (AMDFAM19H), P_NONE},
and then the following is violated:
/* NB: processor_alias_table stops at the "generic" entry. */
gcc/ChangeLog:
PR target/99753
* common/config/i386/i386-common.c (ARRAY_SIZE): Fix off-by-one
error.
* config/i386/i386-options.c (ix86_option_override_internal):
Add run-time assert.
gcc/testsuite/ChangeLog:
PR target/99753
* gcc.target/i386/pr99753.c: New test.
(cherry picked from commit 4f00c4d40a539360938607561460904663c64cda)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-03-31 12:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24 14:55 [Bug target/99753] New: [11 Regression] ICE in ix86_target_macros_internal, at config/i386/i386-c.c:250 since r11-5757-g3e2ae3ee285a5745 marxin at gcc dot gnu.org
2021-03-24 14:55 ` [Bug target/99753] " marxin at gcc dot gnu.org
2021-03-24 14:56 ` marxin at gcc dot gnu.org
2021-03-24 19:45 ` cvs-commit at gcc dot gnu.org
2021-03-24 19:47 ` marxin at gcc dot gnu.org
2021-03-31 12:57 ` cvs-commit 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).