public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/66732] New: ISL 0.15 released, has breaking changes to gcc
@ 2015-07-02  1:45 jamespharvey20 at gmail dot com
  2015-07-17 10:08 ` [Bug driver/66732] " timo.gurr at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jamespharvey20 at gmail dot com @ 2015-07-02  1:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66732

            Bug ID: 66732
           Summary: ISL 0.15 released, has breaking changes to gcc
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamespharvey20 at gmail dot com
  Target Milestone: ---

I'm happily staying with ISL 0.14-1, just wanted to comment that ISL 0.15 is
released and has breaking changes.

See http://isl.gforge.inria.fr/user.html#Changes-since-isl-0.14

The first gcc compilation error I run into with it is:


g++ -std=gnu++98 -fno-PIE -c   -g -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common  -DHAVE_CONFIG_H -I. -I. -I../../src.git/gcc -I../../src.git/gcc/.
-I../../src.git/gcc/../include -I../../src.git/gcc/../libcpp/include 
-I../../src.git/gcc/../libdecnumber -I../../src.git/gcc/../libdecnumber/bid
-I../libdecnumber -I../../src.git/gcc/../libbacktrace
-I/home/username/gcc-new-isl/build/./isl/include
-I/home/username/gcc-new-isl/src.git/isl/include  -o graphite.o -MT graphite.o
-MMD -MP -MF ./.deps/graphite.TPo ../../src.git/gcc/graphite.c
In file included from
/home/username/gcc-new-isl/src.git/isl/include/isl/map_type.h:4:0,
                 from
/home/username/gcc-new-isl/src.git/isl/include/isl/set.h:13,
                 from ../../src.git/gcc/graphite.c:38:
/home/username/gcc-new-isl/src.git/isl/include/isl/ctx.h:83:17: warning: comma
at end of enumerator list [-Wpedantic]
  isl_stat_ok = 0,
                 ^
In file included from ../../src.git/gcc/graphite.c:79:0:
../../src.git/gcc/graphite-poly.h:398:43: error: ‘isl_constraint’ has not been
declared
 extern void print_isl_constraint (FILE *, isl_constraint *);
                                           ^
../../src.git/gcc/graphite-poly.h:402:35: error: variable or field
‘debug_isl_constraint’ declared void
 extern void debug_isl_constraint (isl_constraint *);
                                   ^
../../src.git/gcc/graphite-poly.h:402:35: error: ‘isl_constraint’ was not
declared in this scope
../../src.git/gcc/graphite-poly.h:402:51: error: expected primary-expression
before ‘)’ token
 extern void debug_isl_constraint (isl_constraint *);
                                                   ^
Makefile:1071: recipe for target 'graphite.o' failed
make[3]: *** [graphite.o] Error 1
make[3]: Leaving directory '/home/username/gcc-new-isl/build/gcc'
Makefile:4379: recipe for target 'all-stage1-gcc' failed
>From gcc-bugs-return-491222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jul 02 01:46:48 2015
Return-Path: <gcc-bugs-return-491222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43789 invoked by alias); 2 Jul 2015 01:46:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 39999 invoked by uid 48); 2 Jul 2015 01:46:44 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66733] New: ICE at -Os and above on x86_64-linux-gnu
Date: Thu, 02 Jul 2015 01:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: su at cs dot ucdavis.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-66733-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg00112.txt.bz2
Content-length: 2588

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66733

            Bug ID: 66733
           Summary: ICE at -Os and above on x86_64-linux-gnu
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: su at cs dot ucdavis.edu
  Target Milestone: ---

The following code causes an ICE when compiled with the current gcc trunk at
-Os and above on x86_64-linux-gnu in both 32-bit and 64-bit modes. 

It is a regression from 5.1.x. 


$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/6.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-trunk/configure --prefix=/usr/local/gcc-trunk
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 6.0.0 20150701 (experimental) [trunk revision 225222] (GCC) 
$ 
$ gcc-trunk -O1 -c small.c
$ gcc-5.1 -Os -c small.c
$ 
$ gcc-trunk -Os -c small.c
small.c: In function ‘fn2’:
small.c:26:1: internal compiler error: Segmentation fault
 }
 ^
0xb339cf crash_signal
        ../../gcc-trunk/gcc/toplev.c:360
0x83d94d fold_comparison
        ../../gcc-trunk/gcc/fold-const.c:8807
0x81dec9 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc-trunk/gcc/fold-const.c:11922
0xb7b2c4 cleanup_control_expr_graph
        ../../gcc-trunk/gcc/tree-cfgcleanup.c:128
0xb7b2c4 cleanup_control_flow_bb
        ../../gcc-trunk/gcc/tree-cfgcleanup.c:223
0xb7b2c4 cleanup_tree_cfg_bb
        ../../gcc-trunk/gcc/tree-cfgcleanup.c:640
0xb7b8e8 cleanup_tree_cfg_1
        ../../gcc-trunk/gcc/tree-cfgcleanup.c:693
0xb7b8e8 cleanup_tree_cfg_noloop
        ../../gcc-trunk/gcc/tree-cfgcleanup.c:745
0xb7b8e8 cleanup_tree_cfg()
        ../../gcc-trunk/gcc/tree-cfgcleanup.c:800
0xa6ffe4 execute_function_todo
        ../../gcc-trunk/gcc/passes.c:1910
0xa70883 execute_todo
        ../../gcc-trunk/gcc/passes.c:2014
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ 


--------------------------


int a;

int
fn1 ()
{
  return 1;
}

void
fn2 ()
{
  int b, j;
  for (;;)
    {
      int c = 1;
      if (j)
        {
          if (c)
            break;
        }
      else
        b = a;
      fn1 () && b;
      j = fn1 ();
    }
}
>From gcc-bugs-return-491223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jul 02 02:18:29 2015
Return-Path: <gcc-bugs-return-491223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66959 invoked by alias); 2 Jul 2015 02:18:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 66892 invoked by uid 48); 2 Jul 2015 02:18:25 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66626] [4.9/5/6 Regression] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3
Date: Thu, 02 Jul 2015 02:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: ra, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66626-4-1Za3761q9p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg00113.txt.bz2
Content-length: 866

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf626

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> ---
ix86_static_chain_on_stack is incompatible with LRA since

1. nonlocal_goto generates:

          lab = copy_to_reg (lab);

          emit_clobber (gen_rtx_MEM (BLKmode, gen_rtx_SCRATCH (VOIDmode)));
          emit_clobber (gen_rtx_MEM (BLKmode, hard_frame_pointer_rtx));

          emit_move_insn (hard_frame_pointer_rtx, fp);
          emit_stack_restore (SAVE_NONLOCAL, stack);

          emit_use (hard_frame_pointer_rtx);
          emit_use (stack_pointer_rtx);
          emit_indirect_jump (lab);

2. ix86_static_chain_on_stack uses arg_pointer_rtx to store static
chain on stack.

3. LRA must use the hard fame pointer for elimination.

These simply won't work to together.  Since we must keep LRA, we
should remove ix86_static_chain_on_stack.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/66732] ISL 0.15 released, has breaking changes to gcc
  2015-07-02  1:45 [Bug driver/66732] New: ISL 0.15 released, has breaking changes to gcc jamespharvey20 at gmail dot com
@ 2015-07-17 10:08 ` timo.gurr at gmail dot com
  2015-07-19 21:04 ` jamespharvey20 at gmail dot com
  2015-08-03 14:08 ` timo.gurr at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: timo.gurr at gmail dot com @ 2015-07-17 10:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66732

Timo Gurr <timo.gurr at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timo.gurr at gmail dot com

--- Comment #1 from Timo Gurr <timo.gurr at gmail dot com> ---
Mike Frysinger sent a patch allowing GCC to build with ISL 0.15 to the
gcc-patches mailing list:
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01162.html
and he provides patches (for Gentoo) for GCC 4.9.3 and 5.1.0:
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/4.9.3/gentoo/75_all_gcc-4.9-isl-0.15.patch?revision=1.1
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/5.1.0/gentoo/75_all_gcc5-isl-0.15.patch?revision=1.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/66732] ISL 0.15 released, has breaking changes to gcc
  2015-07-02  1:45 [Bug driver/66732] New: ISL 0.15 released, has breaking changes to gcc jamespharvey20 at gmail dot com
  2015-07-17 10:08 ` [Bug driver/66732] " timo.gurr at gmail dot com
@ 2015-07-19 21:04 ` jamespharvey20 at gmail dot com
  2015-08-03 14:08 ` timo.gurr at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jamespharvey20 at gmail dot com @ 2015-07-19 21:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66732

--- Comment #2 from jamespharvey20 at gmail dot com ---
Patches

https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01162.html
and
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01506.html

Appear to resolve the issue.  Compiling with ISL 0.15 just fine now.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/66732] ISL 0.15 released, has breaking changes to gcc
  2015-07-02  1:45 [Bug driver/66732] New: ISL 0.15 released, has breaking changes to gcc jamespharvey20 at gmail dot com
  2015-07-17 10:08 ` [Bug driver/66732] " timo.gurr at gmail dot com
  2015-07-19 21:04 ` jamespharvey20 at gmail dot com
@ 2015-08-03 14:08 ` timo.gurr at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: timo.gurr at gmail dot com @ 2015-08-03 14:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66732

--- Comment #3 from Timo Gurr <timo.gurr at gmail dot com> ---
Looks like the patches posted on the mailing list were merged/accepted into
trunk:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=226050


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-03 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-02  1:45 [Bug driver/66732] New: ISL 0.15 released, has breaking changes to gcc jamespharvey20 at gmail dot com
2015-07-17 10:08 ` [Bug driver/66732] " timo.gurr at gmail dot com
2015-07-19 21:04 ` jamespharvey20 at gmail dot com
2015-08-03 14:08 ` timo.gurr at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).