public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37461]  New: [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691
@ 2008-09-10 11:29 tbm at cyrius dot com
  2008-09-10 11:50 ` [Bug middle-end/37461] " tbm at cyrius dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2008-09-10 11:29 UTC (permalink / raw)
  To: gcc-bugs

With current trunk (r140227)

(sid)972:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O3 linux-2.6-nfs4acl.i
fs/nfsd/nfs4acl.c: In function '_posix_to_nfsv4_one':
fs/nfsd/nfs4acl.c:229: internal compiler error: in find_or_generate_expression,
at tree-ssa-pre.c:2691
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: [4.4 Regression] ICE in find_or_generate_expression, at
                    tree-ssa-pre.c:2691
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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


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

* [Bug middle-end/37461] [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691
  2008-09-10 11:29 [Bug middle-end/37461] New: [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691 tbm at cyrius dot com
@ 2008-09-10 11:50 ` tbm at cyrius dot com
  2008-09-10 11:50 ` tbm at cyrius dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2008-09-10 11:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2008-09-10 11:49 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

struct nfs4_ace
{
  unsigned int flag;
};
void _posix_to_nfsv4_one (struct nfs4_ace *ace, short deny, int flags)
{
  int eflag = (flags ? (0x00000001 | 0x00000008) : 0);
  if (deny)
    ace->flag = eflag;
  ace->flag = eflag;
  while (ace->flag)
    ace->flag = eflag | 0x00000040;
}


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.4 Regression] ICE in     |[4.4 Regression] ICE in
                   |find_or_generate_expression,|find_or_generate_expression,
                   |at tree-ssa-pre.c:2691      |at tree-ssa-pre.c:2691


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


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

* [Bug middle-end/37461] [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691
  2008-09-10 11:29 [Bug middle-end/37461] New: [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691 tbm at cyrius dot com
  2008-09-10 11:50 ` [Bug middle-end/37461] " tbm at cyrius dot com
@ 2008-09-10 11:50 ` tbm at cyrius dot com
  2008-09-14  4:59 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tbm at cyrius dot com @ 2008-09-10 11:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2008-09-10 11:49 -------
Created an attachment (id=16285)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16285&action=view)
Preprocessed source


-- 


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


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

* [Bug middle-end/37461] [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691
  2008-09-10 11:29 [Bug middle-end/37461] New: [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691 tbm at cyrius dot com
  2008-09-10 11:50 ` [Bug middle-end/37461] " tbm at cyrius dot com
  2008-09-10 11:50 ` tbm at cyrius dot com
@ 2008-09-14  4:59 ` pinskia at gcc dot gnu dot org
  2008-09-14  5:01 ` pinskia at gcc dot gnu dot org
  2008-10-15 11:11 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-14  4:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/37461] [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691
  2008-09-10 11:29 [Bug middle-end/37461] New: [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2008-09-14  4:59 ` pinskia at gcc dot gnu dot org
@ 2008-09-14  5:01 ` pinskia at gcc dot gnu dot org
  2008-10-15 11:11 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-14  5:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-09-14 04:59 -------
Confirmed, you can also get rid of the struct:
void _posix_to_nfsv4_one (unsigned *ace, short deny, int flags)
{
  int eflag = (flags ? (0x00000001 | 0x00000008) : 0);
  if (deny)
    *ace= eflag;
  *ace= eflag;
  while (*ace)
    *ace= eflag | 0x00000040;
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-14 04:59:51
               date|                            |


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


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

* [Bug middle-end/37461] [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691
  2008-09-10 11:29 [Bug middle-end/37461] New: [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2008-09-14  5:01 ` pinskia at gcc dot gnu dot org
@ 2008-10-15 11:11 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-10-15 11:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2008-10-15 11:09 -------
Fixed by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140460


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-10-15 11:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-10 11:29 [Bug middle-end/37461] New: [4.4 Regression] ICE in find_or_generate_expression, at tree-ssa-pre.c:2691 tbm at cyrius dot com
2008-09-10 11:50 ` [Bug middle-end/37461] " tbm at cyrius dot com
2008-09-10 11:50 ` tbm at cyrius dot com
2008-09-14  4:59 ` pinskia at gcc dot gnu dot org
2008-09-14  5:01 ` pinskia at gcc dot gnu dot org
2008-10-15 11:11 ` jakub 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).