https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110869
Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> --- (In reply to Stefan Schulze Frielinghaus from comment #4) > This would solve test cases cmp-mem-const-{1,2,3,4}.c. For > cmp-mem-const-{5,6} we have that the pre-optimization already chopped the > 64-bit constant into a 32-bit constant and thus leaves us with nothing to do > here. I'm not entirely sure how we handled such cases in the past. Though, > one solution would be to simply exclude sparc from this test: > > /* { dg-do compile { target { lp64 } && ! target { sparc*-*-* } } } */ > > Would that be ok? I guess that's best for Eric (Cc'ed) to say.