comparison gcc/tsystem.h @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents 77e2b8dfacca
children 84e7813d76e9
comparison
equal deleted inserted replaced
15:561a7518be6b 16:04ced10e8804
1 /* Get common system includes and various definitions and declarations 1 /* Get common system includes and various definitions and declarations
2 based on target macros. 2 based on target macros.
3 Copyright (C) 2000, 2001, 2004, 2005, 2009 Free Software Foundation, Inc. 3 Copyright (C) 2000-2017 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free 8 the terms of the GNU General Public License as published by the Free
126 #endif 126 #endif
127 /* Use gcc_unreachable() to mark unreachable locations (like an 127 /* Use gcc_unreachable() to mark unreachable locations (like an
128 unreachable default case of a switch. Do not use gcc_assert(0). */ 128 unreachable default case of a switch. Do not use gcc_assert(0). */
129 #define gcc_unreachable() (abort ()) 129 #define gcc_unreachable() (abort ())
130 130
131 #define CONST_CAST2(TOTYPE,FROMTYPE,X) ((__extension__(union {FROMTYPE _q; TOTYPE _nq;})(X))._nq)
132 #define CONST_CAST(TYPE,X) CONST_CAST2 (TYPE, const TYPE, (X))
133
131 /* Filename handling macros. */ 134 /* Filename handling macros. */
132 #include "filenames.h" 135 #include "filenames.h"
133 136
134 #endif /* ! GCC_TSYSTEM_H */ 137 #endif /* ! GCC_TSYSTEM_H */