public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61305] New: internal compiler error: in cp_tree_equal, at cp/tree.c:2371
@ 2014-05-24 22:45 john.lindgren at aol dot com
  2014-06-06  9:43 ` [Bug c++/61305] " paolo.carlini at oracle dot com
  0 siblings, 1 reply; 2+ messages in thread
From: john.lindgren at aol dot com @ 2014-05-24 22:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61305
           Summary: internal compiler error: in cp_tree_equal, at
                    cp/tree.c:2371
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: john.lindgren at aol dot com

Created attachment 32849
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32849&action=edit
C++ source

Trying to compile the attached C++ file gives an internal compiler error with
GCC 4.6.3 on Ubuntu 12.04 i386.  On a newer x86_64 system running Arch Linux,
GCC 4.9.0 compiles the same file without any problem, so it's possible that the
bug has already been fixed and needs to be backported to 4.6.x.

$ g++ -c -std=gnu++0x preferences.cc 
preferences.cc:236:21:   in constexpr expansion of ‘WidgetSpin(((const
char*)("Amplify all files:")), {(ValueType)1u, 0u, 0u, ((const
char*)"replay_gain_preamp")}, {-1.5e+1, 1.5e+1,
1.00000000000000005551115123125782702118158340454e-1, ((const char*)("dB"))},
(WidgetIsChild)1u)’
preferences.cc:241:1:   in constexpr expansion of
‘PreferencesWidget((WidgetType)4u, label, cfg.WidgetConfig::value,
cfg.WidgetConfig::callback, 0u, (child == (WidgetIsChild)1u),
cfg.WidgetConfig::type, cfg.WidgetConfig::section, cfg.WidgetConfig::name,
WidgetVariant(spin))’
preferences.cc:241:1: internal compiler error: in cp_tree_equal, at
cp/tree.c:2371
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccBkkPXe.out file, please attach this to
your bugreport.

$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ uname -a
Linux VirtualUbuntu 3.2.0-61-generic-pae #93-Ubuntu SMP Fri May 2 21:46:08 UTC
2014 i686 i686 i386 GNU/Linux
>From gcc-bugs-return-452450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 25 01:50:01 2014
Return-Path: <gcc-bugs-return-452450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8841 invoked by alias); 25 May 2014 01:50:00 -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 8496 invoked by uid 48); 25 May 2014 01:49:54 -0000
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/61053] [4.9/4.10 Regression] _Alignas(long long) reduces alignment of long long
Date: Sun, 25 May 2014 01:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hp at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.1
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-61053-4-iNFcKs41LS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61053-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61053-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: 2014-05/txt/msg02142.txt.bz2
Content-length: 484

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org

--- Comment #5 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
Aren't you missing a back-port to the 4.9 branch before this can be called
"fixed" with a 4.9.1 milestone?


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

* [Bug c++/61305] internal compiler error: in cp_tree_equal, at cp/tree.c:2371
  2014-05-24 22:45 [Bug c++/61305] New: internal compiler error: in cp_tree_equal, at cp/tree.c:2371 john.lindgren at aol dot com
@ 2014-06-06  9:43 ` paolo.carlini at oracle dot com
  0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-06-06  9:43 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.10.0, 4.8.0, 4.9.0
         Resolution|---                         |WORKSFORME

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This works for me in the active branches (4.6 is not maintained anymore).


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

end of thread, other threads:[~2014-06-06  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-24 22:45 [Bug c++/61305] New: internal compiler error: in cp_tree_equal, at cp/tree.c:2371 john.lindgren at aol dot com
2014-06-06  9:43 ` [Bug c++/61305] " paolo.carlini at oracle 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).