gcc_jit_type_get_aligned gcc/jit/ChangeLog: * docs/cp/topics/types.rst (gccjit::type::get_const): Remove comment. (gccjit::type::get_aligned): Add. * docs/topics/compatibility.rst: Add LIBGCCJIT_ABI_7. * docs/topics/types.rst: Add gcc_jit_type_get_aligned. * docs/_build/texinfo/libgccjit.texi: Regenerate. * jit-playback.c (gcc::jit::playback::type::get_aligned): New method. * jit-playback.h (gcc::jit::playback::type::get_aligned): New method. * jit-recording.c: Within namespace gcc::jit::recording... (type::get_aligned): New method. (memento_of_get_aligned::replay_into): New method. (memento_of_get_aligned::make_debug_string): New method. (memento_of_get_aligned::write_reproducer): New method. * jit-recording.h: Within namespace gcc::jit::recording... (type::get_aligned): New method. (type::accepts_writes_from): Strip off qualifications from this when comparing pointer equality. (decorated_type): New subclass of type, subsuming the commonality between memento_of_get_const and memento_of_get_volatile. (memento_of_get_const): Make a subclass of decorated_type, rather than type. (memento_of_get_volatile): Likewise. (memento_of_get_aligned): Likewise. * libgccjit++.h: Within namespace gccjit... (type::get_const): New method. (type::get_aligned): New method. * libgccjit.c (gcc_jit_type_get_aligned): New function. * libgccjit.h (gcc_jit_type_get_aligned): New decl. * libgccjit.map (LIBGCCJIT_ABI_7): New (gcc_jit_type_get_aligned): Add. gcc/testsuite/ChangeLog: * jit.dg/all-non-failing-tests.h: Add test-alignment.c. * jit.dg/test-alignment.c: New test case. * jit.dg/test-alignment.cc: New test case. * jit.dg/test-error-gcc_jit_type_get_aligned-non-power-of-two.c: New test case. From-SVN: r247111
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
docs | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.jit | Loading commit data... | |
Make-lang.in | Loading commit data... | |
TODO.rst | Loading commit data... | |
config-lang.in | Loading commit data... | |
dummy-frontend.c | Loading commit data... | |
jit-builtins.c | Loading commit data... | |
jit-builtins.h | Loading commit data... | |
jit-common.h | Loading commit data... | |
jit-logging.c | Loading commit data... | |
jit-logging.h | Loading commit data... | |
jit-playback.c | Loading commit data... | |
jit-playback.h | Loading commit data... | |
jit-recording.c | Loading commit data... | |
jit-recording.h | Loading commit data... | |
jit-result.c | Loading commit data... | |
jit-result.h | Loading commit data... | |
jit-spec.c | Loading commit data... | |
jit-tempdir.c | Loading commit data... | |
jit-tempdir.h | Loading commit data... | |
libgccjit++.h | Loading commit data... | |
libgccjit.c | Loading commit data... | |
libgccjit.h | Loading commit data... | |
libgccjit.map | Loading commit data... | |
notes.txt | Loading commit data... |