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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |compare-debug-failure

--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #15)
> Created attachment 60259 [details]
> Non-reduced testcase for compare debug issue
> 
> [apinski@xeond2 gcc]$ !./x
> ./xgcc -B. -fno-exceptions -fschedule-insns t.ii -O2 -fno-rtti -g
> -fcompare-debug -S
> 
> Happens with a cross on the trunk with r15-2810 reapplied.

Note it does not show up with -gno-statement-frontiers but that might just
because there are less debug statements .

But does not see like the standard statement-frontiers issue.

That is:
_ZL23split_constant_offset_1P9tree_nodeS0_9tree_codeS0_PS0_S2_P6irangeR8hash_mapIS0_St4pairIS0_S0_E21simple_hashmap_traitsI19default_hash_traitsIS0_ES7_EEPj
has a different stack space that is saved. 


-       sub     sp, sp, #1808
+       sub     sp, sp, #1792

- is with -g. While + is without.

Reply via email to