gcc/dependence.c problem on HP-UX 10.20
Jeffrey A Law
law@cygnus.com
Wed Aug 23 13:54:00 GMT 2000
In message <Pine.LNX.4.21.0008232110470.21970-100000@kern.srcf.societies.cam.
ac.uk>you write:
> On 23 Aug 2000, Alexandre Oliva wrote:
>
> > > Line 199 of gcc/dependence.c:
> > > static void ziv_test PARAMS ((subscript[], subscript[],
> > > enum direction_type[][], int[][], loop*, int));
> >
> > Yep, this is bogus. Please try this patch. I've only tested it with
> > GCC, so I'd appreciate it if you could run it through the compiler
> > that (correctly) rejects the code and let me know if the patch fixes
> > all instances of the problem.
>
> OK to commit the following testcase for GCC's failure to diagnose the
> problem? (Tree checking errors for the array of functions will cause an
> XPASS and a FAIL. I'll submit a PR. Though - see the referenced DR -
> diagnostics are only needed in C99, the behavior is undefined anyway and
> it would in fact make little sense for the diagnostics to depend on the
> standard version.)
>
> 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * gcc.dg/c99-array-nonobj-1.c: New test.
Approved.
jeff
More information about the Gcc-patches
mailing list