This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/79123] incorrect -Walloca-larger-than: alloca may be too large due to conversion from long int to long unsigned int
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Jan 2017 09:51:05 +0000
- Subject: [Bug middle-end/79123] incorrect -Walloca-larger-than: alloca may be too large due to conversion from long int to long unsigned int
- Auto-submitted: auto-generated
- References: <bug-79123-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79123
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Tue Jan 24 09:50:33 2017
New Revision: 244859
URL: https://gcc.gnu.org/viewcvs?rev=244859&root=gcc&view=rev
Log:
PR middle-end/79123
* gimple-ssa-warn-alloca.c (alloca_call_type): Make sure
casts from signed to unsigned really don't have a range.
Added:
trunk/gcc/testsuite/gcc.dg/Walloca-13.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-ssa-warn-alloca.c