Files
TinyCC/tests
Michael Matz 1d0a5c2515 x86_64: Fix segfault for global data
When offsetted addresses of global non-static data are computed
multiple times in the same statement the x86_64 backend uses
gen_gotpcrel with offset, which implements an add insn on the
register given.  load() uses the R member of the to-be-loaded
value, which doesn't yet have a reg assigned in all cases.

So use the register we're supposed to load the value into as
that register.
2012-04-18 20:57:13 +02:00
..
2011-02-24 09:38:13 -08:00
2009-07-18 22:06:54 +02:00
2012-04-18 18:43:09 +02:00
2012-04-18 20:57:13 +02:00