OSDN Git Service

2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Jan 2007 12:03:38 +0000 (12:03 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Jan 2007 12:03:38 +0000 (12:03 +0000)
commit6a60f216c210e3a38096d326901eb187beaf4954
tree06f74328e5fa1bec8c013b5ce2683658b5237193
parentbec03e1caff2af585501092f1a27640464dc98db
2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* c-cppbuiltin.c (builtin_define_type_sizeof): New function.
(c_cpp_builtins): New builtin macros: __SIZEOF_INT__, __SIZEOF_LONG__,
__SIZEOF_LONG_LONG__, __SIZEOF_SHORT__, __SIZEOF_POINTER__,
__SIZEOF_FLOAT__, __SIZEOF_DOUBLE__, __SIZEOF_LONG_DOUBLE__,
__SIZEOF_SIZE_T__, __SIZEOF_WCHAR_T__, __SIZEOF_WINT_T__ and
__SIZEOF_PTRDIFF_T__.
* doc/cpp.texi: Documentation for the new builtin macros added.

2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.c-torture/compile/sizeof-macros-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121107 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-cppbuiltin.c
gcc/doc/cpp.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/sizeof-macros-1.c [new file with mode: 0644]