Bug 31015 - infinite loop during compilation on x86_64 architecture
Summary: infinite loop during compilation on x86_64 architecture
Status: RESOLVED DUPLICATE of bug 29512
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.1.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-01 18:16 UTC by Bernd Speiser
Modified: 2007-03-02 15:16 UTC (History)
5 users (show)

See Also:
Host:
Target: x86_64-suse-linux
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
output of compile process (713 bytes, text/plain)
2007-03-01 18:27 UTC, Bernd Speiser
Details
preprocessed source (compressed) (195.92 KB, application/x-gzip)
2007-03-02 15:02 UTC, Bernd Speiser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Speiser 2007-03-01 18:16:15 UTC
I am trying to port an existing larger piece of software in C++ to a new x86_64
system. The software compiles well on ix86 systems with both gcc 3.3.3 and gcc 4.1.2 (prerelease as installed with openSuSE 10.2). However, on x86_64 with the
same openSuSE 10.2 system (so: gcc 4.1.2 prerelease), the compiler goes into an
apparently infinite loop when compiling a file that uses the boost spirit template library.
I have stripped down the problem to a small file test.cpp which has, of course, to include several headers from the spirit library. I'll attach the test.ii
file.
Comment 1 Bernd Speiser 2007-03-01 18:27:12 UTC
Created attachment 13130 [details]
output of compile process

this is the output of the compiler with one comment added from my side
Comment 2 Bernd Speiser 2007-03-01 18:44:57 UTC
I have tried to attach the test.ii file, however it is too big (1.6 MB - must use some of the boost/spirit template library headers). I have send the file as an
attachment to gcc-bugs@gcc.gnu.org and hope they can handle it.
Comment 3 Richard Biener 2007-03-02 09:38:56 UTC
You can attach a compressed version or provide a URL to download from.  The mail
didn't seem to get through.
Comment 4 Bernd Speiser 2007-03-02 10:26:41 UTC
Subject: Re:  infinite loop during compilation on x86_64
 architecture

rguenth at gcc dot gnu dot org wrote:
> ------- Comment #3 from rguenth at gcc dot gnu dot org  2007-03-02 09:38 -------
> You can attach a compressed version or provide a URL to download from.  The
> mail
> didn't seem to get through.
> 
> 

This is another try. I attach the compressed version of the *.ii file.
Hope this works.
Thanks
Bernd

-- 
=======================================================================
Bernd Speiser
Institut für Organische Chemie
Auf der Morgenstelle 18
D-72076 Tübingen
Germany
phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory)
fax:   +49-7071-295518
e-mail: bernd.speiser@uni-tuebingen.de
Internet: http://www.uni-tuebingen.de/speiser
=======================================================================
Comment 5 Bernd Speiser 2007-03-02 14:32:14 UTC
I tried to resend the attachment (*.ii file) in compressed form as an e-mail attachment to gcc-bugs@gcc.gnu.org, after the uncompressed attachment was supposedly also too big and the earlier mail didn't get through. Hope this 
works ...
This is the first time, I had to use the bug reporting facility, (fortunately!),
so I'm not too familiar with your procedures. Sorry about any inconvenience.
Comment 6 Richard Biener 2007-03-02 14:38:03 UTC
Looks like e-mails with attachments are dropped.  Please try attaching it via
bugzilla to the bug again (compressed).  Thanks!
Comment 7 Bernd Speiser 2007-03-02 15:02:03 UTC
Created attachment 13133 [details]
preprocessed source (compressed)

next try to attach ...
Comment 8 Richard Biener 2007-03-02 15:16:03 UTC
That worked.  Dup of PR29512.  We might consider a backport...

*** This bug has been marked as a duplicate of 29512 ***