Name |
Last commit
|
Last update |
---|---|---|
.. | ||
guality.exp | ||
guality.h | ||
pr46815.C | ||
pr55541.C | ||
pr55665.C | ||
pr67192.C | ||
pr82630.C | ||
pr86687.C | ||
redeclaration1.C |
This patch prevents -Og from deleting stores to write-only variables, so that the values are still available when debugging. This seems more convenient than forcing users to use __attribute__((used)) (probably conditionally, if it's not something they want in release builds). 2019-07-29 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-cfg.c (execute_fixup_cfg): Don't delete stores to write-only variables for -Og. gcc/testsuite/ * c-c++-common/guality/Og-static-wo-1.c: New test. * g++.dg/guality/guality.exp: Separate the c-c++-common tests into "Og" and "general" tests. Run the latter at -O0 and -Og only. * gcc.dg/guality/guality.exp: Likewise. From-SVN: r273870
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
guality.exp | Loading commit data... | |
guality.h | Loading commit data... | |
pr46815.C | Loading commit data... | |
pr55541.C | Loading commit data... | |
pr55665.C | Loading commit data... | |
pr67192.C | Loading commit data... | |
pr82630.C | Loading commit data... | |
pr86687.C | Loading commit data... | |
redeclaration1.C | Loading commit data... |