public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40938]  New: ice in create_tmp_var
@ 2009-08-02  8:46 dcb314 at hotmail dot com
  2009-08-02  8:48 ` [Bug c++/40938] " dcb314 at hotmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2009-08-02  8:46 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile Suse Linux package libqca2-2.0.2-2.2
with the gcc 4.5 mainline snapshot 20090730
and the compiler said

qca_core.cpp:1880:3: internal compiler error: in create_tmp_var, at
gimplify.c:504
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source attached. No special flags required.


-- 
           Summary: ice in create_tmp_var
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
@ 2009-08-02  8:48 ` dcb314 at hotmail dot com
  2009-08-02  9:33 ` paolo dot carlini at oracle dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2009-08-02  8:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2009-08-02 08:48 -------
Created an attachment (id=18284)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18284&action=view)
C++ source code


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
  2009-08-02  8:48 ` [Bug c++/40938] " dcb314 at hotmail dot com
@ 2009-08-02  9:33 ` paolo dot carlini at oracle dot com
  2009-08-02  9:45 ` dcb314 at hotmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-08-02  9:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2009-08-02 09:33 -------
PR40866 ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
  2009-08-02  8:48 ` [Bug c++/40938] " dcb314 at hotmail dot com
  2009-08-02  9:33 ` paolo dot carlini at oracle dot com
@ 2009-08-02  9:45 ` dcb314 at hotmail dot com
  2009-08-02  9:47 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2009-08-02  9:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dcb314 at hotmail dot com  2009-08-02 09:44 -------
(In reply to comment #2)
> PR40866 ?

Maybe - there are many ways to fail a sanity check.

I notice that the line where it crashes is of the form

    gcc_assert(!X && Y);

It might be better to split this into two gcc_assert statements,
so the user would be better informed which X or Y is wrong.

    gcc_assert( !X);
    gcc_assert( Y);


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2009-08-02  9:45 ` dcb314 at hotmail dot com
@ 2009-08-02  9:47 ` rguenth at gcc dot gnu dot org
  2009-08-02 11:36 ` paolo dot carlini at oracle dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-02  9:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-08-02 09:47 -------
No, the asserts are enabled in release builds, so they should be combined to
reduce executable size.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2009-08-02  9:47 ` rguenth at gcc dot gnu dot org
@ 2009-08-02 11:36 ` paolo dot carlini at oracle dot com
  2009-08-02 11:45 ` paolo dot carlini at oracle dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-08-02 11:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo dot carlini at oracle dot com  2009-08-02 11:36 -------
Still, you can certainly help the project by temporarily splitting the two
checks in your local tree, rebuilding, and telling us if both PRs fail on the
same one or not...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2009-08-02 11:36 ` paolo dot carlini at oracle dot com
@ 2009-08-02 11:45 ` paolo dot carlini at oracle dot com
  2009-11-15 17:44 ` paolo dot carlini at oracle dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-08-02 11:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from paolo dot carlini at oracle dot com  2009-08-02 11:45 -------
Or alternately playing a bit with the debugger, of course ;)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2009-08-02 11:45 ` paolo dot carlini at oracle dot com
@ 2009-11-15 17:44 ` paolo dot carlini at oracle dot com
  2009-11-15 19:20 ` dcb314 at hotmail dot com
  2009-11-15 19:57 ` paolo dot carlini at oracle dot com
  8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-15 17:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from paolo dot carlini at oracle dot com  2009-11-15 17:44 -------
Works for me now (r154190). If you can still see something wrong, please
reopen.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
                   ` (6 preceding siblings ...)
  2009-11-15 17:44 ` paolo dot carlini at oracle dot com
@ 2009-11-15 19:20 ` dcb314 at hotmail dot com
  2009-11-15 19:57 ` paolo dot carlini at oracle dot com
  8 siblings, 0 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2009-11-15 19:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dcb314 at hotmail dot com  2009-11-15 19:19 -------
(In reply to comment #7)
> Works for me now (r154190). 

I have no idea what r154190 means, but I can confirm
that the snapshot of 2009112 seems to work ok,
even at optimisation level -O3 -march=native.

This looks fixed to me.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

* [Bug c++/40938] ice in create_tmp_var
  2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
                   ` (7 preceding siblings ...)
  2009-11-15 19:20 ` dcb314 at hotmail dot com
@ 2009-11-15 19:57 ` paolo dot carlini at oracle dot com
  8 siblings, 0 replies; 10+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-11-15 19:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from paolo dot carlini at oracle dot com  2009-11-15 19:56 -------
r154190 is the subversion version I built and tested, this project doesn't use
cvs anymore.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40938


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

end of thread, other threads:[~2009-11-15 19:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-02  8:46 [Bug c++/40938] New: ice in create_tmp_var dcb314 at hotmail dot com
2009-08-02  8:48 ` [Bug c++/40938] " dcb314 at hotmail dot com
2009-08-02  9:33 ` paolo dot carlini at oracle dot com
2009-08-02  9:45 ` dcb314 at hotmail dot com
2009-08-02  9:47 ` rguenth at gcc dot gnu dot org
2009-08-02 11:36 ` paolo dot carlini at oracle dot com
2009-08-02 11:45 ` paolo dot carlini at oracle dot com
2009-11-15 17:44 ` paolo dot carlini at oracle dot com
2009-11-15 19:20 ` dcb314 at hotmail dot com
2009-11-15 19:57 ` paolo dot 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).