This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v4] PR48344: Fix unrecognizable insn error with -fstack-limit-register=r2
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Kelvin Nilsen <kdnilsen at linux dot vnet dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Cc: law at redhat dot com
- Date: Thu, 11 Feb 2016 16:42:19 +0100
- Subject: Re: [PATCH v4] PR48344: Fix unrecognizable insn error with -fstack-limit-register=r2
- Authentication-results: sourceware.org; auth=none
- References: <56BCA4E4 dot 6030100 at linux dot vnet dot ibm dot com>
On 02/11/2016 04:12 PM, Kelvin Nilsen wrote:
* opts-global.c (handle_common_deferred_options): Introduce and
initialize two global variables to remember command-line options
specifying a stack-limiting register.
* opts.h: Add extern declarations of the two new global variables.
* emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
variable based on the values of the two new global variables.
Make sure that when committed these all start with a tab character.
+void foo ()
+{
+ int N = 2;
+ int slots[N];
+
+}
+
Watch extra blank lines at the end of files.
@@ -442,3 +452,4 @@ handle_common_deferred_options (void)
}
}
}
+
Here too.
Ok with these fixed.
Bernd