parent
e2e0986eb0
commit
3c350eb3d5
|
@ -4,6 +4,12 @@ Mon Feb 22 10:55:00 1999 Gavin Romig-Koch <gavin@cygnus.com>
|
|||
larger than long-longs, with a warning about integer constants
|
||||
being larger than the largest target integer.
|
||||
|
||||
Mon Feb 22 08:35:38 1999 Craig Burley <craig@jcb-sc.com>
|
||||
|
||||
Fix -fsyntax-only ICEs:
|
||||
* varasm.c (assemble_zeros, assemble_variable,
|
||||
output_constant_def): Do nothing when -fsyntax-only.
|
||||
|
||||
Fri Feb 19 18:18:56 1999 Don Bowman <don@pixstream.com>
|
||||
|
||||
* configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
|
||||
|
|
19
gcc/varasm.c
19
gcc/varasm.c
|
@ -1062,6 +1062,10 @@ void
|
|||
assemble_zeros (size)
|
||||
int size;
|
||||
{
|
||||
/* Do no output if -fsyntax-only. */
|
||||
if (flag_syntax_only)
|
||||
return;
|
||||
|
||||
#ifdef ASM_NO_SKIP_IN_TEXT
|
||||
/* The `space' pseudo in the text section outputs nop insns rather than 0s,
|
||||
so we must output 0s explicitly in the text section. */
|
||||
|
@ -1168,6 +1172,10 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
|
|||
return;
|
||||
TREE_ASM_WRITTEN (decl) = 1;
|
||||
|
||||
/* Do no output if -fsyntax-only. */
|
||||
if (flag_syntax_only)
|
||||
return;
|
||||
|
||||
#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
|
||||
/* File-scope global variables are output here. */
|
||||
if ((write_symbols == DBX_DEBUG || write_symbols == XCOFF_DEBUG)
|
||||
|
@ -1235,6 +1243,10 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
|
|||
|
||||
TREE_ASM_WRITTEN (decl) = 1;
|
||||
|
||||
/* Do no output if -fsyntax-only. */
|
||||
if (flag_syntax_only)
|
||||
return;
|
||||
|
||||
app_disable ();
|
||||
|
||||
if (! dont_output_data)
|
||||
|
@ -3017,7 +3029,12 @@ output_constant_def (exp)
|
|||
}
|
||||
}
|
||||
else
|
||||
output_constant_def_contents (exp, reloc, const_labelno++);
|
||||
{
|
||||
/* Do no output if -fsyntax-only. */
|
||||
if (! flag_syntax_only)
|
||||
output_constant_def_contents (exp, reloc, const_labelno);
|
||||
++const_labelno;
|
||||
}
|
||||
}
|
||||
|
||||
return TREE_CST_RTL (exp);
|
||||
|
|
Loading…
Reference in New Issue