public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/52800] New: eglibc build broken with internal compiler error in cfgloop .
@ 2012-03-30 23:35 ramana at gcc dot gnu.org
  2012-03-31  0:16 ` [Bug middle-end/52800] " ramana at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-03-30 23:35 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52800
           Summary: eglibc build broken with internal compiler error in
                    cfgloop .
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ramana@gcc.gnu.org
              Host: x86_64-linux-gnu
            Target: arm-linux-gnueabi
             Build: x86_64-linux-gnu


eglibc builds broken with trunk on arm-linux-gnueabi with an internal compiler
error in cfgloop.c  - it has happened in about the last 3 days or so since my
last successful build was on 27th March. 

$> 
/work/cross-build/fsf/arm-none-linux-gnueabi/tools-lowersubregchanges-patched/bin/arm-none-linux-gnueabi-gcc
-c -O2 ./besttry.c  -mfloat-abi=soft -march=armv5te
./besttry.c: In function ‘_IO_new_file_write’:
./besttry.c:36:1: internal compiler error: in get_loop_body, at cfgloop.c:831


__extension__ typedef int __ssize_t;
extern __thread int __libc_errno __attribute__ ((tls_model ("initial-exec")));
struct _IO_FILE {
  int _fileno;
  int _flags2;
};
typedef struct _IO_FILE _IO_FILE;
_IO_new_file_write (f,
      data,
      n)
     _IO_FILE *f;
{
  __ssize_t to_do = n;
  while (to_do>  0)
    {
      __ssize_t count =
 (__builtin_expect (f->_flags2&  2, 0) ?

  ({ unsigned int _sys_result = ({ register int _a1 asm ("r0"), _nr asm ("r7");
        int _a3tmp = (int) ((to_do));
        int _a2tmp = (int) ((data));
        register int _a2 asm ("a2") = _a2tmp;
        register int _a3 asm ("a3") = _a3tmp; _nr = ((0 + 4));
        asm volatile ("swi     0x0     @ syscall " "SYS_ify(write)" : "=r"
(_a1) : "r" (_nr) , "r" (_a1), "r" (_a2), "r" (_a3) : "memory"); _a1;
});
    if (__builtin_expect (((unsigned int) (_sys_result)>= 0xfffff001u), 0))
      { (__libc_errno = ((-(_sys_result))));
        _sys_result = (unsigned int) -1; }
    (int) _sys_result; })
  : __write (f->_fileno, data, to_do));
      if (count<  0)
 {
   break;
        }
      to_do -= count;
    }
}


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

* [Bug middle-end/52800] eglibc build broken with internal compiler error in cfgloop .
  2012-03-30 23:35 [Bug middle-end/52800] New: eglibc build broken with internal compiler error in cfgloop ramana at gcc dot gnu.org
@ 2012-03-31  0:16 ` ramana at gcc dot gnu.org
  2012-04-02 10:34 ` [Bug middle-end/52800] [4.8 Regression] " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-03-31  0:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-03-30 23:34:41 UTC ---
Richi - probably yours - 

svn+ssh://gcc.gnu.org/svn/gcc/trunk@185913 broken 
svn+ssh://gcc.gnu.org/svn/gcc/trunk@185910 good 


regards,
Ramana


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

* [Bug middle-end/52800] [4.8 Regression] eglibc build broken with internal compiler error in cfgloop .
  2012-03-30 23:35 [Bug middle-end/52800] New: eglibc build broken with internal compiler error in cfgloop ramana at gcc dot gnu.org
  2012-03-31  0:16 ` [Bug middle-end/52800] " ramana at gcc dot gnu.org
@ 2012-04-02 10:34 ` rguenth at gcc dot gnu.org
  2012-04-02 12:01 ` rguenth at gcc dot gnu.org
  2012-04-02 12:02 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-02 10:34 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-04-02
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.8.0
            Summary|eglibc build broken with    |[4.8 Regression] eglibc
                   |internal compiler error in  |build broken with internal
                   |cfgloop .                   |compiler error in cfgloop .
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-02 10:34:03 UTC ---
Fixed by

Index: gcc/cprop.c
===================================================================
--- gcc/cprop.c (revision 186066)
+++ gcc/cprop.c (working copy)
@@ -1916,7 +1916,7 @@ execute_rtl_cprop (void)
   changed = one_cprop_pass ();
   flag_rerun_cse_after_global_opts |= changed;
   if (changed)
-    cleanup_cfg (0);
+    cleanup_cfg (CLEANUP_CFG_CHANGED);
   return 0;
 }


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

* [Bug middle-end/52800] [4.8 Regression] eglibc build broken with internal compiler error in cfgloop .
  2012-03-30 23:35 [Bug middle-end/52800] New: eglibc build broken with internal compiler error in cfgloop ramana at gcc dot gnu.org
  2012-03-31  0:16 ` [Bug middle-end/52800] " ramana at gcc dot gnu.org
  2012-04-02 10:34 ` [Bug middle-end/52800] [4.8 Regression] " rguenth at gcc dot gnu.org
@ 2012-04-02 12:01 ` rguenth at gcc dot gnu.org
  2012-04-02 12:02 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-02 12:01 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

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

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-02 12:00:39 UTC ---
Fixed.


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

* [Bug middle-end/52800] [4.8 Regression] eglibc build broken with internal compiler error in cfgloop .
  2012-03-30 23:35 [Bug middle-end/52800] New: eglibc build broken with internal compiler error in cfgloop ramana at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-04-02 12:01 ` rguenth at gcc dot gnu.org
@ 2012-04-02 12:02 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-02 12:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-02 12:00:34 UTC ---
Author: rguenth
Date: Mon Apr  2 12:00:30 2012
New Revision: 186081

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186081
Log:
2012-04-02  Richard Guenther  <rguenther@suse.de>

    PR rtl-optimization/52800
    * cprop.c (execute_rtl_cprop): Call cleanup_cfg with
    CLEANUP_CFG_CHANGED.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cprop.c


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

end of thread, other threads:[~2012-04-02 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30 23:35 [Bug middle-end/52800] New: eglibc build broken with internal compiler error in cfgloop ramana at gcc dot gnu.org
2012-03-31  0:16 ` [Bug middle-end/52800] " ramana at gcc dot gnu.org
2012-04-02 10:34 ` [Bug middle-end/52800] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-04-02 12:01 ` rguenth at gcc dot gnu.org
2012-04-02 12:02 ` rguenth at gcc dot gnu.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).