]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000-protos.h (rs6000_special_adjust_field_align_p): Add prototype.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 24 Jul 2014 17:34:24 +0000 (17:34 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 24 Jul 2014 17:34:24 +0000 (17:34 +0000)
commit7ebcfd0f71b49c45734f93f3095d6cb31b2ac2e8
tree4b0725bd233b8167016d4b1322644a2674b826eb
parentc34edbd23c101fe503c1fe1cd4ef2221bf710365
rs6000-protos.h (rs6000_special_adjust_field_align_p): Add prototype.

gcc/

* config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
Add prototype.
* config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
function.  Issue -Wpsabi warning if future GCC releases will use
different field alignment rules for this type.
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
* config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.

gcc/testsuite/

* gcc.target/powerpc/ppc64-abi-warn-3.c: New test.

* gcc.c-torture/execute/20050316-1.x: Add -Wno-psabi.
* gcc.c-torture/execute/20050604-1.x: Add -Wno-psabi.
* gcc.c-torture/execute/20050316-3.x: New file.  Add -Wno-psabi.
* gcc.c-torture/execute/pr23135.x: Likewise.

From-SVN: r213025
12 files changed:
gcc/ChangeLog
gcc/config/rs6000/freebsd64.h
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/sysv4.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20050316-1.x
gcc/testsuite/gcc.c-torture/execute/20050316-3.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/20050604-1.x
gcc/testsuite/gcc.c-torture/execute/pr23135.x [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ppc64-abi-warn-3.c [new file with mode: 0644]