public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42751]  New: pretty massive inlining and a huge number of temporaries -> endless loop ?
@ 2010-01-14 22:33 torbenh at gmx dot de
  2010-01-14 22:34 ` [Bug c++/42751] " torbenh at gmx dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: torbenh at gmx dot de @ 2010-01-14 22:33 UTC (permalink / raw)
  To: gcc-bugs

compiling this takes more than 7 hours even when its only -O2
dunno... i interrupted it. never finished.

/opt/gcc/bin/g++ -MD -MF .deps/process.d -c -O2 -ffast-math -march=core2
-std=gnu++0x -msse3 -o process.o process.ii


-- 
           Summary: pretty massive inlining and a huge number of temporaries
                    -> endless loop ?
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: torbenh at gmx dot de
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug c++/42751] pretty massive inlining and a huge number of temporaries -> endless loop ?
  2010-01-14 22:33 [Bug c++/42751] New: pretty massive inlining and a huge number of temporaries -> endless loop ? torbenh at gmx dot de
@ 2010-01-14 22:34 ` torbenh at gmx dot de
  2010-01-14 22:42 ` [Bug middle-end/42751] " torbenh at gmx dot de
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: torbenh at gmx dot de @ 2010-01-14 22:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from torbenh at gmx dot de  2010-01-14 22:34 -------
Created an attachment (id=19602)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19602&action=view)
the offending proprocessed file.


-- 


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


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

* [Bug middle-end/42751] pretty massive inlining and a huge number of temporaries -> endless loop ?
  2010-01-14 22:33 [Bug c++/42751] New: pretty massive inlining and a huge number of temporaries -> endless loop ? torbenh at gmx dot de
  2010-01-14 22:34 ` [Bug c++/42751] " torbenh at gmx dot de
@ 2010-01-14 22:42 ` torbenh at gmx dot de
  2010-01-14 22:45 ` [Bug c++/42751] " pinskia at gcc dot gnu dot org
  2010-01-14 23:01 ` [Bug middle-end/42751] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: torbenh at gmx dot de @ 2010-01-14 22:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from torbenh at gmx dot de  2010-01-14 22:41 -------
it all started when i added the copy constructor for fvec<N>
but before that, the result of a fvec<N> ( fvec<N-M> x, fvec<M> y ) wasnt
correct.


-- 


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


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

* [Bug c++/42751] pretty massive inlining and a huge number of temporaries -> endless loop ?
  2010-01-14 22:33 [Bug c++/42751] New: pretty massive inlining and a huge number of temporaries -> endless loop ? torbenh at gmx dot de
  2010-01-14 22:34 ` [Bug c++/42751] " torbenh at gmx dot de
  2010-01-14 22:42 ` [Bug middle-end/42751] " torbenh at gmx dot de
@ 2010-01-14 22:45 ` pinskia at gcc dot gnu dot org
  2010-01-14 23:01 ` [Bug middle-end/42751] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-01-14 22:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-01-14 22:45 -------
This works for me with revision 155912 which I just compiled.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |c++
           Keywords|compile-time-hog            |


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


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

* [Bug middle-end/42751] pretty massive inlining and a huge number of temporaries -> endless loop ?
  2010-01-14 22:33 [Bug c++/42751] New: pretty massive inlining and a huge number of temporaries -> endless loop ? torbenh at gmx dot de
                   ` (2 preceding siblings ...)
  2010-01-14 22:45 ` [Bug c++/42751] " pinskia at gcc dot gnu dot org
@ 2010-01-14 23:01 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-01-14 23:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2010-01-14 23:01 -------
So the failure is only with the patch from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42633 closing as worksforme then.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2010-01-14 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-14 22:33 [Bug c++/42751] New: pretty massive inlining and a huge number of temporaries -> endless loop ? torbenh at gmx dot de
2010-01-14 22:34 ` [Bug c++/42751] " torbenh at gmx dot de
2010-01-14 22:42 ` [Bug middle-end/42751] " torbenh at gmx dot de
2010-01-14 22:45 ` [Bug c++/42751] " pinskia at gcc dot gnu dot org
2010-01-14 23:01 ` [Bug middle-end/42751] " pinskia at gcc dot gnu dot org

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).