* gcc.c-torture/compile/
20050119-1.c: New test.
PR tree-optimize/19337
* tree-inline.c (initialize_inlined_parameters): Copy
saved_static_chain_decl only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94226
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-01-18 Jan Hubicka <jh@suse.cz>
+
+ PR tree-optimize/19337
+ * tree-inline.c (initialize_inlined_parameters): Copy
+ saved_static_chain_decl only.
+
2005-01-25 Richard Henderson <rth@redhat.com>
PR target/19556
+2005-01-18 Jan Hubicka <jh@suse.cz>
+
+ PR tree-optimize/19337
+ * gcc.c-torture/compile/20050119-1.c: New test.
+
2005-01-24 James E Wilson <wilson@specifixinc.com>
* gcc.c-torture/execute/builtins/lib/strstr.c (strstr): Correct exit
--- /dev/null
+void write_char(char);
+int len(char*);
+void f(char *a)
+{
+ int col = 0;
+ int i;
+ void wchar(char c)
+ {
+ if (c == '\t')
+ {
+ do {
+ wchar(' ');
+ } while ((col%8)!=0);
+ }
+ else
+ {
+ write_char (c);
+ col++;
+ }
+ }
+ for(i =0;i<len(a);i++)
+ {
+ wchar(*a);
+ }
+}
/* Initialize the static chain. */
p = DECL_STRUCT_FUNCTION (fn)->static_chain_decl;
+ if (fn == current_function_decl)
+ p = DECL_STRUCT_FUNCTION (fn)->saved_static_chain_decl;
if (p)
{
/* No static chain? Seems like a bug in tree-nested.c. */