comparison gcc/c-pch.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
1 /* Precompiled header implementation for the C languages. 1 /* Precompiled header implementation for the C languages.
2 Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2009
3 Free Software Foundation, Inc.
3 4
4 This file is part of GCC. 5 This file is part of GCC.
5 6
6 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
90 91
91 static const char * 92 static const char *
92 get_ident (void) 93 get_ident (void)
93 { 94 {
94 static char result[IDENT_LENGTH]; 95 static char result[IDENT_LENGTH];
95 static const char templ[IDENT_LENGTH] = "gpch.013"; 96 static const char templ[] = "gpch.013";
96 static const char c_language_chars[] = "Co+O"; 97 static const char c_language_chars[] = "Co+O";
97 98
98 memcpy (result, templ, IDENT_LENGTH); 99 memcpy (result, templ, IDENT_LENGTH);
99 result[4] = c_language_chars[c_language]; 100 result[4] = c_language_chars[c_language];
100 101
110 pch_init (void) 111 pch_init (void)
111 { 112 {
112 FILE *f; 113 FILE *f;
113 struct c_pch_validity v; 114 struct c_pch_validity v;
114 void *target_validity; 115 void *target_validity;
115 static const char partial_pch[IDENT_LENGTH] = "gpcWrite"; 116 static const char partial_pch[] = "gpcWrite";
116 117
117 #ifdef ASM_COMMENT_START 118 #ifdef ASM_COMMENT_START
118 if (flag_verbose_asm) 119 if (flag_verbose_asm)
119 { 120 {
120 fprintf (asm_out_file, "%s ", ASM_COMMENT_START); 121 fprintf (asm_out_file, "%s ", ASM_COMMENT_START);