This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
extra instructions lost from -O0 to -O1
- From: "Thomas A.M. Bernard" <t dot bernard at uva dot nl>
- To: gcc at gcc dot gnu dot org, gcc at gnu dot org
- Date: Thu, 11 Sep 2008 10:38:31 +0200
- Subject: extra instructions lost from -O0 to -O1
Hi,
I inserted some extra instructions in the Alpha back-end (MD files).
They are properly emitted when the flag -O0 is enabled. Since they have
no side effects and no dependencies on other instructions, they are
omitted when flag -O1 is engaged. Is there a way (I mean
attribute/constraint in their MD patterns) to avoid that and keep the
extra instructions in any case ?
Thanks,
Thomas