This is the mail archive of the gcc@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]

XFAILing gcc.c-torture/execute/mayalias-2.c -O3 -g (PR 28834)


Hi Janis,

While PR 28834 stays open, I'm thinking about XFAILing
gcc.c-torture/execute/mayalias-2.c when it is run with -O3 -g.
However, I am not having any luck with writing mayalias-2.x.  I am
wondering if you could help me with XFAIL.

When I try mayalias-2.x like so:

set torture_eval_before_execute {
    global compiler_conditional_xfail_data
    set compiler_conditional_xfail_data {
        "PR 28834" \
        { "*-*-*" } \
        { "-O3" } \
        { "" }
    }
}
return 0

I get

XPASS: gcc.c-torture/execute/mayalias-2.c execution,  -O3 -fomit-frame-pointer 
FAIL: gcc.c-torture/execute/mayalias-2.c compilation,  -O3 -g  (internal compiler error)

That is, I am getting an unintended XPASS for
-O3 fomit-frame-pointer.  Also, the "-O3 -g" one doesn't show XFAIL
even though the options do contain -O3.

How do I make gcc.c-torture/execute/mayalias-2.c XFAIL on -O3 -g?

Thanks,

Kazu Hirata


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