This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40104] New: ARG_MAX erroneously used in upc-4.2.3.6/gcc/upc/upc-cmd.c
- From: "nmm1 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2009 17:10:12 -0000
- Subject: [Bug c/40104] New: ARG_MAX erroneously used in upc-4.2.3.6/gcc/upc/upc-cmd.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
upc-4.2.3.6/gcc/upc/upc-cmd.c contains the line:
char *all_exec_args[ARG_MAX];
That is erroneous, because ARG_MAX is not set on a system where it is variable
and exceeds the maximum, as under SUSE 11.1. But the failure is generic to all
POSIX systems.
--
Summary: ARG_MAX erroneously used in upc-4.2.3.6/gcc/upc/upc-
cmd.c
Product: gcc
Version: 4.2.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nmm1 at cam dot ac dot uk
GCC build triplet: All
GCC host triplet: All
GCC target triplet: All
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40104