[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-10-15 Thread ebotcazou at gcc dot gnu dot org


--- Comment #15 from ebotcazou at gcc dot gnu dot org  2006-10-15 11:38 
---
Also fails on SPARC with -O3 -g.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-10-07 Thread rsandifo at gcc dot gnu dot org


--- Comment #14 from rsandifo at gcc dot gnu dot org  2006-10-07 12:56 
---
The mayalias-2.c failure shows up on MIPS too.


-- 

rsandifo at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rsandifo at gcc dot gnu dot
   ||org


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-09-01 Thread mmitchel at gcc dot gnu dot org


--- Comment #11 from mmitchel at gcc dot gnu dot org  2006-09-01 21:53 
---
Yet another problem showing problems with attributes on typedefs for structure
types...


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-09-01 Thread pinskia at gcc dot gnu dot org


--- Comment #12 from pinskia at gcc dot gnu dot org  2006-09-02 00:02 
---
(In reply to comment #11)
 Yet another problem showing problems with attributes on typedefs for structure
 types...
Except this is with C and not C++ unlike the other ones.


-- 


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-09-01 Thread geoffk at geoffk dot org


--- Comment #13 from geoffk at geoffk dot org  2006-09-02 05:31 ---
Subject: Re:  [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using
may_alias and structs


On 01/09/2006, at 2:53 PM, mmitchel at gcc dot gnu dot org wrote:

 --- Comment #11 from mmitchel at gcc dot gnu dot org   
 2006-09-01 21:53 ---
 Yet another problem showing problems with attributes on typedefs  
 for structure
 types...

The question I asked is why doesn't this happen for 'const'?  That  
turned out to be a good question, because it leads to the better  
question of what debugging output did you expect for this code,  
anyway?

It seems to me that __noalias__ is an interesting attribute that  
should be somehow reflected in the DWARF.  That would require a GNU  
extension, of course.


-- 


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-30 Thread dpatel at apple dot com


--- Comment #10 from dpatel at apple dot com  2006-08-30 07:47 ---
Pinski,

Please do not reinsert my email address in CC list, again (and learn to not
jump to conclusion based on biased views)

May be it is not a good idea to ask dwarf generator to handle a case where two
shallow copy of same struct refers same field ? May
be equate_decl_number_to_die() should handle it properly ? May be it is
appropriate to have one field be a member of multiple structures ?


-- 

dpatel at apple dot com changed:

   What|Removed |Added

 CC|dpatel at apple dot com |


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-29 Thread pinskia at gcc dot gnu dot org


--- Comment #9 from pinskia at gcc dot gnu dot org  2006-08-30 03:28 ---
Devang,
  Why did you remove your self, you caused this regression.
Yes you might not work on GCC any more for Apple but that does not take you
away from fixing the regression you caused.  I am a bit upset at this behavior
of going away and not going to fix a regression you caused.

-- Pinski

[EMAIL PROTECTED]2006-08-29 17:46:15 CC  [EMAIL PROTECTED]


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dpatel at apple dot com


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-28 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2006-08-29 04:41 ---
*** Bug 28880 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||geoffk at gcc dot gnu dot
   ||org


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-28 Thread geoffk at gcc dot gnu dot org


--- Comment #8 from geoffk at gcc dot gnu dot org  2006-08-29 04:48 ---
In the duplicate I explain:

The problem is that the front-end is calling the DWARF output code with two
shallow copies of the same structure, 'S'.  The DWARF code detects that two
different structures have the same members and aborts.


-- 


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-26 Thread danglin at gcc dot gnu dot org


--- Comment #6 from danglin at gcc dot gnu dot org  2006-08-26 23:39 ---
Also fails on PA with -O3 -g.


-- 

danglin at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu dot
   ||org


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-25 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2006-08-25 10:39 ---
We now have gcc.c-torture/execute/mayalias-2.c which crashes this way on x86_64
at  -O3 -g.


-- 


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-24 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-24 11:06 ---
This worked in 3.4.0 so this is a regression.  Note this is the testcase for
28807 which I was using for testing so the testcase might be added to the
testsuite by the time someone gets around to looking into the bug.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to fail||4.0.0 4.1.0 4.2.0
  Known to work||3.4.0
   Target Milestone|--- |4.0.4


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-24 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-08-24 15:50 ---
Janis,
  Could you run a regression hunt on this bug?


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||janis at gcc dot gnu dot org


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-24 Thread janis at gcc dot gnu dot org


--- Comment #3 from janis at gcc dot gnu dot org  2006-08-24 23:35 ---
A regression hunt on powerpc-linux identified this patch:

http://gcc.gnu.org/viewcvs?view=revrev=87036

r87036 | dpatel | 2004-09-03 17:10:40 + (Fri, 03 Sep 2004)


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dpatel at gcc dot gnu dot
   ||org


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



[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-08-24 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2006-08-25 01:20 ---
Confirmed by Janis.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
 GCC target triplet|i686-pc-linux-gnu   |dwarf2
   Last reconfirmed|-00-00 00:00:00 |2006-08-25 01:20:29
   date||


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