This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove non-portable tests from 20031003-1.c


On Mon, 2003-10-13 at 19:42, Roger Sayle wrote:
> Mark asked me to investigate the failure of my testcase for PR opt/9325,
> gcc.c-torture/execute/20031003-1.c, on ia64-hp-hpux11.22.  The failures
> are the two tests f3 and f4, which were intended to check GCC's RTL-level
> floating-point to integer constant folding.

Your fix (removing the "bogus" tests) seems fine to me.  I agree that
testing for certain behavior in situations that is undefined in C
doesn't seem like a good idea.

If some port maintainer really, really wants to test for this behavior,
the test can be added back with appropriate dg-do conditionalization.

Go ahead and check in your change.

Thanks,

-- Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]