https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85022
Vegard Nossum <vegard.nossum at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |inline-asm --- Comment #1 from Vegard Nossum <vegard.nossum at oracle dot com> --- Also fails for C: struct b extern c; void a() { asm("" : "+m"(c)); } $ cc1 -O1 a Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <build_ssa_passes> <opt_local_passes> <targetclone> <free-fnsummary> <whole-program> <profile_estimate> <fnsummary> <inline> <pure-const> <free-fnsummary> <static-var> <single-use> <comdats>Assembling functions: <materialize-all-clones> <simdclone> aduring RTL pass: cse1 <stdin>: In function 'a': <stdin>:4:1: internal compiler error: in write_dependence_p, at alias.c:3003 0xd58993 write_dependence_p /home/vegard/git/gcc/gcc/alias.c:3001 0xd59d07 canon_anti_dependence(rtx_def const*, bool, rtx_def const*, machine_mode, rtx_def*) /home/vegard/git/gcc/gcc/alias.c:3092