[Bug c/40104] New: ARG_MAX erroneously used in upc-4.2.3.6/gcc/upc/upc-cmd.c

nmm1 at cam dot ac dot uk gcc-bugzilla@gcc.gnu.org
Mon May 11 17:10:00 GMT 2009


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



More information about the Gcc-bugs mailing list