[Bug testsuite/122450] New: DG_TORTURE_OPTIONS does not contain `-Og -g` while C_TORTURE_OPTIONS does
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 27 20:47:20 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122450
Bug ID: 122450
Summary: DG_TORTURE_OPTIONS does not contain `-Og -g` while
C_TORTURE_OPTIONS does
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: pinskia at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
This means gcc.dg/torture tests does not test `-Og -g` while
gcc.c-torture/{compile,execute} tests does.
`-Og -g` was added with r0-118952-g471dc06d278bd3 around the same time -Og was
added.
Since new testcases are being added to gcc.dg/torture now instead of
gcc.c-torture, they don't get tested as much for -Og.
I will do some timings when adding -Og to DG_TORTURE_OPTIONS and submit a patch
to add them.
More information about the Gcc-bugs
mailing list