From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25281 invoked by alias); 4 Dec 2012 21:01:29 -0000 Received: (qmail 25225 invoked by uid 48); 4 Dec 2012 21:01:17 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/55597] New: [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88 Date: Tue, 04 Dec 2012 21:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg00404.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55597 Bug #: 55597 Summary: [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: hjl.tools@gmail.com On Linux/x86-64, revision 194159 gave: [hjl@gnu-ivb-1 gcc]$ cat /tmp/testcase.c=20 struct initial_sp { void *sp; int mask; }; void foo (int *); __thread struct initial_sp __morestack_initial_sp; void __morestack_release_segments (void) { foo (&__morestack_initial_sp.mask); } [hjl@gnu-ivb-1 gcc]$ ./xgcc -B./ -fPIC -O2 -mx32 -S -maddress-mode=3Dlong /tmp/testcase.c=20 /tmp/testcase.c: In function =E2=80=98__morestack_release_segments=E2=80=99: /tmp/testcase.c:9:1: internal compiler error: in plus_constant, at explow.c= :88 } ^ 0x7321f3 plus_constant(machine_mode, rtx_def*, long) /export/gnu/import/git/gcc/gcc/explow.c:88 0x5fdee7 init_alias_analysis() /export/gnu/import/git/gcc/gcc/alias.c:2945 0xfce2ce cse_main /export/gnu/import/git/gcc/gcc/cse.c:6543 0xfd010e rest_of_handle_cse /export/gnu/import/git/gcc/gcc/cse.c:7435 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. [hjl@gnu-ivb-1 gcc]$