https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88714

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If I add __attribute__((optimize (0))) to:
static unsigned
do_rpo_vn (function *fn, edge entry, bitmap exit_bbs,
           bool iterate, bool eliminate)
and recompile stage2 tree-ssa-sccvn.o + relink stage2 cc1, then sort.i is the
same between stage1/cc1 and stage2/cc1.

../stage1-gcc/cc1plus tree-ssa-sccvn.ii -quiet -mtune=cortex-a9
-mfloat-abi=hard -mfpu=vfpv3-d16 -mtls-dialect=gnu -marm -march=armv7-a+fp -g
-gtoggle -O2 -fno-PIE -fno-checking -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -fno-ipa-ra -o tree-ssa-sccvn.s

compiled tree-ssa-sccvn.ii without that optimize (0) attribute still works
differently from stage1/cc1.
Let me attach tree-ssa-sccvn.ii and tree-ssa-sccvn.s.

Reply via email to