public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/29212]  New: ICE with -fipa-pta
@ 2006-09-25 13:14 micis at gmx dot de
  2006-09-25 13:16 ` [Bug tree-optimization/29212] " micis at gmx dot de
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: micis at gmx dot de @ 2006-09-25 13:14 UTC (permalink / raw)
  To: gcc-bugs

With snapshot gcc-4.2-20060923 I get an ICE when I use the -fipa-pta option.

Michael Cieslinski


g++42c -O -fipa-pta -S in.ii
in.ii: In static member function 'static void ClassO<T2>::MetN(ClassC*, const
T2&) [with T2 = StructB]':
in.ii:18: internal compiler error: in process_constraint, at
tree-ssa-structalias.c:2277
Please submit a full bug report, with preprocessed source if appropriate.


g++42c -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.2-20060923/configure --prefix=/usr/local/gcc42c
 --program-suffix=42c --with-arch=opteron --enable-languages=c,c++
 --enable-__cxa_atexit --disable-nls --enable-threads=posix
 --disable-multilib --enable-checking
Thread model: posix
gcc version 4.2.0 20060923 (experimental)


-- 
           Summary: ICE with -fipa-pta
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis 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=29212


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
@ 2006-09-25 13:16 ` micis at gmx dot de
  2006-09-25 14:17 ` micis at gmx dot de
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: micis at gmx dot de @ 2006-09-25 13:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from micis at gmx dot de  2006-09-25 13:16 -------
Created an attachment (id=12321)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12321&action=view)
preprocessed source


-- 


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
  2006-09-25 13:16 ` [Bug tree-optimization/29212] " micis at gmx dot de
@ 2006-09-25 14:17 ` micis at gmx dot de
  2006-09-26  7:07 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: micis at gmx dot de @ 2006-09-25 14:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from micis at gmx dot de  2006-09-25 14:17 -------
By checking older compiler versions I found:
snapshots gcc-4.2-20060819 and before are working,
snapshots gcc-4.2-20060826 and later are ICEing

Michael Cieslinski


-- 


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
  2006-09-25 13:16 ` [Bug tree-optimization/29212] " micis at gmx dot de
  2006-09-25 14:17 ` micis at gmx dot de
@ 2006-09-26  7:07 ` pinskia at gcc dot gnu dot org
  2006-09-26  8:17 ` micis at gmx dot de
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-26  7:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-09-26 07:07 -------
-fipa-pta does nothing useful except for creating dump files.


-- 


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (2 preceding siblings ...)
  2006-09-26  7:07 ` pinskia at gcc dot gnu dot org
@ 2006-09-26  8:17 ` micis at gmx dot de
  2006-09-27  2:14 ` dberlin at dberlin dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: micis at gmx dot de @ 2006-09-26  8:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from micis at gmx dot de  2006-09-26 08:16 -------
I don't want to offend you but I know that already because last time I reported
a bug with -fipa-pta you gave me exactly the same comment.

I just want to help in the development of gcc by searching for bugs and
reporting them.

Michael Cieslinski


-- 


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (3 preceding siblings ...)
  2006-09-26  8:17 ` micis at gmx dot de
@ 2006-09-27  2:14 ` dberlin at dberlin dot org
  2006-09-27  4:57 ` bangerth at dealii dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dberlin at dberlin dot org @ 2006-09-27  2:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dberlin at gcc dot gnu dot org  2006-09-27 02:14 -------
Subject: Re:  ICE with -fipa-pta

>
>
> ------- Comment #4 from micis at gmx dot de  2006-09-26 08:16 -------
> I don't want to offend you but I know that already because last time I reported
> a bug with -fipa-pta you gave me exactly the same comment.
>
> I just want to help in the development of gcc by searching for bugs and
> reporting them.
>
> Michael Cieslinski
As the person working on ipa-pta, I'm happy for you to file bug
reports against ipa-pta, but I should warn you that a lot of these
bugs are just going to magically disappear one day when some bug fixes
to other parts of gcc are merged from the ipa-branch :)
A lot are not really ipa-pta bugs, they are just things i have not
worked around because I am waiting for the real fixes to go in.


-- 


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (4 preceding siblings ...)
  2006-09-27  2:14 ` dberlin at dberlin dot org
@ 2006-09-27  4:57 ` bangerth at dealii dot org
  2006-10-02 17:28 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bangerth at dealii dot org @ 2006-09-27  4:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bangerth at dealii dot org  2006-09-27 04:57 -------
Filing bug reports is certainly a good think no matter what happens:
a) If code is finally merged from the branch, we will have to go back to
   these bug reports to make sure they're really fixed
b) If code is never merged, we at least have some sort of measure of how
   broken a feature really is (see, for example, old -fnew-ra)

That said, I think the attitude "I'm not going to fix this since I may or
may not come around to merge some branch in the future" is not helpful. In
particular since this is going to be in a release at one point. Some more
convincing statement that for example "I've checked the branch and the
problem doesn't appear there; it is going to be merged for 4.3" would certainly
be nice...

W.


-- 


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (5 preceding siblings ...)
  2006-09-27  4:57 ` bangerth at dealii dot org
@ 2006-10-02 17:28 ` pinskia at gcc dot gnu dot org
  2006-11-30 15:40 ` wouter dot vermaelen at pi dot be
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-02 17:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-10-02 17:28 -------
Confirmed, further reduced testcase:
struct StructB
{
 bool val_;
};
struct ClassF
{
 virtual void MetG(StructB value) = 0;
};
ClassF* MetJ ();
void MetN (StructB const & x)
{
 ClassF *VarI = MetJ();
 VarI->MetG ( x);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-02 17:28:08
               date|                            |


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (6 preceding siblings ...)
  2006-10-02 17:28 ` pinskia at gcc dot gnu dot org
@ 2006-11-30 15:40 ` wouter dot vermaelen at pi dot be
  2008-06-08 14:13 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: wouter dot vermaelen at pi dot be @ 2006-11-30 15:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from wouter dot vermaelen at pi dot be  2006-11-30 15:40 -------
I'm not sure this is the same problem, but on todays build even an empty file
in c++ mode triggers an ICE:

> touch empty.c
> gcc -fipa-pta empty.c
   [this works as expected]

> touch empty.cpp
> gcc -fipa-pta empty.cpp
empty.cc:0: internal compiler error: Segmentation fault


-- 

wouter dot vermaelen at pi dot be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wouter dot vermaelen at pi
                   |                            |dot be


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (7 preceding siblings ...)
  2006-11-30 15:40 ` wouter dot vermaelen at pi dot be
@ 2008-06-08 14:13 ` pinskia at gcc dot gnu dot org
  2009-01-29  2:10 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-08 14:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2008-06-08 14:12 -------
*** Bug 36465 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pattakosn at yahoo dot com


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (8 preceding siblings ...)
  2008-06-08 14:13 ` pinskia at gcc dot gnu dot org
@ 2009-01-29  2:10 ` pinskia at gcc dot gnu dot org
  2009-05-28  5:18 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-29  2:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2009-01-29 02:10 -------
*** Bug 39014 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |warren dot armstrong at anu
                   |                            |dot edu dot au


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (9 preceding siblings ...)
  2009-01-29  2:10 ` pinskia at gcc dot gnu dot org
@ 2009-05-28  5:18 ` pinskia at gcc dot gnu dot org
  2009-05-28  7:05 ` jv244 at cam dot ac dot uk
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-28  5:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2009-05-28 05:18 -------
*** Bug 40280 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jv244 at cam dot ac dot uk


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (10 preceding siblings ...)
  2009-05-28  5:18 ` pinskia at gcc dot gnu dot org
@ 2009-05-28  7:05 ` jv244 at cam dot ac dot uk
  2010-05-03  7:46 ` jv244 at cam dot ac dot uk
  2010-05-03  9:17 ` rguenth at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-05-28  7:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from jv244 at cam dot ac dot uk  2009-05-28 07:05 -------
(In reply to comment #5)
> Subject: Re:  ICE with -fipa-pta
> As the person working on ipa-pta, I'm happy for you to file bug
> reports against ipa-pta, but I should warn you that a lot of these
> bugs are just going to magically disappear one day when some bug fixes
> to other parts of gcc are merged from the ipa-branch :)
> A lot are not really ipa-pta bugs, they are just things i have not
> worked around because I am waiting for the real fixes to go in.

what's the status of the ipa-branch, has it been merged? 


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (11 preceding siblings ...)
  2009-05-28  7:05 ` jv244 at cam dot ac dot uk
@ 2010-05-03  7:46 ` jv244 at cam dot ac dot uk
  2010-05-03  9:17 ` rguenth at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: jv244 at cam dot ac dot uk @ 2010-05-03  7:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jv244 at cam dot ac dot uk  2010-05-03 07:46 -------
these might be fixed in current trunk as a result of the fixes to PR43879


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |43879


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


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

* [Bug tree-optimization/29212] ICE with -fipa-pta
  2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
                   ` (12 preceding siblings ...)
  2010-05-03  7:46 ` jv244 at cam dot ac dot uk
@ 2010-05-03  9:17 ` rguenth at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-03  9:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from rguenth at gcc dot gnu dot org  2010-05-03 09:16 -------
Fixed long ago.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2010-05-03  9:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-25 13:14 [Bug tree-optimization/29212] New: ICE with -fipa-pta micis at gmx dot de
2006-09-25 13:16 ` [Bug tree-optimization/29212] " micis at gmx dot de
2006-09-25 14:17 ` micis at gmx dot de
2006-09-26  7:07 ` pinskia at gcc dot gnu dot org
2006-09-26  8:17 ` micis at gmx dot de
2006-09-27  2:14 ` dberlin at dberlin dot org
2006-09-27  4:57 ` bangerth at dealii dot org
2006-10-02 17:28 ` pinskia at gcc dot gnu dot org
2006-11-30 15:40 ` wouter dot vermaelen at pi dot be
2008-06-08 14:13 ` pinskia at gcc dot gnu dot org
2009-01-29  2:10 ` pinskia at gcc dot gnu dot org
2009-05-28  5:18 ` pinskia at gcc dot gnu dot org
2009-05-28  7:05 ` jv244 at cam dot ac dot uk
2010-05-03  7:46 ` jv244 at cam dot ac dot uk
2010-05-03  9:17 ` rguenth 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).