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: Fix PR48389: ICE in make_edges


On Fri, Apr 8, 2011 at 6:58 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Fri, 8 Apr 2011, Jakub Jelinek wrote:
>
>> On Fri, Apr 08, 2011 at 03:33:49PM +0200, Michael Matz wrote:
>> > --- testsuite/gcc.target/i386/pr48389.c ? ? (revision 0)
>> > +++ testsuite/gcc.target/i386/pr48389.c ? ? (revision 0)
>> > @@ -0,0 +1,12 @@
>> > +/* PR middle-end/48389 */
>> > +/* { dg-do compile } */
>> > +/* { dg-options "-O -m32 -mtune=pentiumpro -Wno-abi" } */
>>
>> -m32/-m64 should never go into dg-options. ?Either do something like:
>> /* { dg-options "-O" } */
>> /* { dg-options "-O -mtune=pentiumpro -Wno-abi" { target ilp32 } } */
>> or remove -m32 from dg-options and conditionalize dg-do compile on ilp32
>> target.
>
> But then I'd have to use --target_board to hit the original problem.
> Can't I somehow make it so that independend of the target_board setting
> 32bit code is generated (possibly only when the compiler supports it)?
> If it's not possible consider the testcase to be adjusted like below.
>
>

You SHOULD use --target_board to test both 32bit and 64bit on
Linux/x86-64.

-- 
H.J.


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