public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
@ 2013-10-31  5:37 hp at gcc dot gnu.org
  2013-10-31 10:51 ` [Bug rtl-optimization/58934] " ro at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: hp at gcc dot gnu.org @ 2013-10-31  5:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58934
           Summary: [4.9 Regression]: build fails on cris-elf in
                    reload_cse_simplify_operands for newlib dtoa.c
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: build, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: jamborm at gcc dot gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf

Created attachment 31115
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31115&action=edit
Repeat as ./cc1 -fpreprocessed -O2 -o dtoa.s dtoa.i

Revision r204205 caused the build for cris-elf to fail as follows:

/tmp/break20131030_05/gccobj/./gcc/xgcc -B/tmp/break20131030_05/gccobj/./gcc/
-nostdinc -B/tmp/break20131030_05/gccobj/cris-elf/v8/newlib/ -isystem
/tmp/break20131030_05/gccobj/cris-elf/v8/newlib/targ-include -isystem
/tmp/break20131030_05/gcc/newlib/libc/include
-B/tmp/break20131030_05/gccobj/cris-elf/v8/libgloss/cris
-L/tmp/break20131030_05/gccobj/cris-elf/v8/libgloss/libnosys
-L/tmp/break20131030_05/gcc/libgloss/cris
-B/tmp/break20131030_05/pre/cris-elf/bin/
-B/tmp/break20131030_05/pre/cris-elf/lib/ -isystem
/tmp/break20131030_05/pre/cris-elf/include -isystem
/tmp/break20131030_05/pre/cris-elf/sys-include  -march=v8 -mbest-lib-options
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I/tmp/break20131030_05/gcc/newlib/libc/stdlib -DHAVE_RENAME -D_USE_WRITE
-DCOMPACT_CTYPE -fno-builtin      -g -O2  -march=v8 -mbest-lib-options -c -o
lib_a-dtoa.o `test -f 'dtoa.c' || echo
'/tmp/break20131030_05/gcc/newlib/libc/stdlib/'`dtoa.c
/tmp/break20131030_05/gcc/newlib/libc/stdlib/dtoa.c: In function 'quorem':
/tmp/break20131030_05/gcc/newlib/libc/stdlib/dtoa.c:142:1: error: insn does not
satisfy its constraints:
 }
 ^
(insn 289 35 288 3 (set (reg/v/f:SI 171 [orig:132 S ] [132])
        (reg/v/f:SI 11 r11 [orig:132 S ] [132])) 37 {*movsi_internal}
     (nil))
/tmp/break20131030_05/gcc/newlib/libc/stdlib/dtoa.c:142:1: internal compiler
error: in reload_cse_simplify_operands, at postreload.c:411
0x8a5018 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    /tmp/break20131030_05/gcc/gcc/rtl-error.c:109
0x8a503f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    /tmp/break20131030_05/gcc/gcc/rtl-error.c:120
0x858866 reload_cse_simplify_operands
    /tmp/break20131030_05/gcc/gcc/postreload.c:411
0x858b44 reload_cse_simplify
    /tmp/break20131030_05/gcc/gcc/postreload.c:123
0x858b44 reload_cse_regs_1
    /tmp/break20131030_05/gcc/gcc/postreload.c:220
0x858bd3 reload_cse_regs
    /tmp/break20131030_05/gcc/gcc/postreload.c:68
0x858bd3 rest_of_handle_postreload
    /tmp/break20131030_05/gcc/gcc/postreload.c:2332
0x858bd3 execute
    /tmp/break20131030_05/gcc/gcc/postreload.c:2368
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[8]: *** [lib_a-dtoa.o] Error 1
make[8]: Leaving directory
`/tmp/break20131030_05/gccobj/cris-elf/v8/newlib/libc/stdlib'

Author of commit CC:ed.  Preprocessed code attached.


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
@ 2013-10-31 10:51 ` ro at gcc dot gnu.org
  2013-10-31 11:31 ` olegendo at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ro at gcc dot gnu.org @ 2013-10-31 10:51 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|cris-axis-elf               |cris-axis-elf,
                   |                            |sparc-sun-solaris2.11
                 CC|                            |ro at gcc dot gnu.org
   Target Milestone|---                         |4.9.0

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
I'm seeing a similar error in a Solaris 11/SPARC bootstrap:

libtool: compile:  /var/gcc/regression/trunk/11-gcc/build/./gcc/xgcc
-B/var/gcc/regression/trunk/11-gcc/build/./gcc/
-B/vol/gcc/sparc-sun-solaris2.11/bin/ -B/vol/gcc/sparc-sun-solaris2.11/lib/
-isystem /vol/gcc/sparc-sun-solaris2.11/include -isystem
/vol/gcc/sparc-sun-solaris2.11/sys-include -DHAVE_CONFIG_H -I.
-I/vol/gcc/src/hg/trunk/local/libgomp
-I/vol/gcc/src/hg/trunk/local/libgomp/config/posix
-I/vol/gcc/src/hg/trunk/local/libgomp -Wall -pthread -Werror -g -O2 -pthread
-MT env.lo -MD -MP -MF .deps/env.Tpo -c
/vol/gcc/src/hg/trunk/local/libgomp/env.c  -fPIC -DPIC -o .libs/env.o
/vol/gcc/src/hg/trunk/local/libgomp/env.c: In function 'parse_one_place':
/vol/gcc/src/hg/trunk/local/libgomp/env.c:548:1: error: insn does not satisfy
its constraints:
 }
 ^
(insn 1271 176 1270 17 (set (reg/v/f:SI 757 [orig:406 stridep ] [406])
        (reg/v/f:SI 27 %i3 [orig:406 stridep ] [406])) 63 {*movsi_insn}
     (nil))
/vol/gcc/src/hg/trunk/local/libgomp/env.c:548:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:411
0xa0642f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /vol/gcc/src/hg/trunk/local/gcc/rtl-error.c:109
0xa0649b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /vol/gcc/src/hg/trunk/local/gcc/rtl-error.c:120
0x95d1f7 reload_cse_simplify_operands
        /vol/gcc/src/hg/trunk/local/gcc/postreload.c:411
0x95c32b reload_cse_simplify
        /vol/gcc/src/hg/trunk/local/gcc/postreload.c:123
0x95c857 reload_cse_regs_1
        /vol/gcc/src/hg/trunk/local/gcc/postreload.c:220
0x95c047 reload_cse_regs
        /vol/gcc/src/hg/trunk/local/gcc/postreload.c:68
0x9646eb rest_of_handle_postreload
        /vol/gcc/src/hg/trunk/local/gcc/postreload.c:2332
0x9647d7 execute
        /vol/gcc/src/hg/trunk/local/gcc/postreload.c:2368

  Rainer


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
  2013-10-31 10:51 ` [Bug rtl-optimization/58934] " ro at gcc dot gnu.org
@ 2013-10-31 11:31 ` olegendo at gcc dot gnu.org
  2013-10-31 11:36 ` ramana at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: olegendo at gcc dot gnu.org @ 2013-10-31 11:31 UTC (permalink / raw)
  To: gcc-bugs

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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-10-31
                 CC|                            |olegendo at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Let me join the club with an SH failure when building libsupc++:

/gcc-trunk2/libstdc++-v3/libsupc++/vmi_class_type_info.cc:68:1: error: insn
does not satisfy its constraints:
 }
 ^
(insn 174 173 175 21 (set (reg:SI 7 r7)
        (reg/v/f:SI 260 [orig:223 src_type ] [223]))
../../../../../gcc-trunk2/libstdc++-v3/libsupc++/vmi_class_type_info.cc:58 256
{movsi_i}
     (nil))
../../../../../gcc-trunk2/libstdc++-v3/libsupc++/vmi_class_type_info.cc:68:1:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
0x879ab97 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    ../../gcc-trunk2/gcc/rtl-error.c:109
0x879abd5 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    ../../gcc-trunk2/gcc/rtl-error.c:120
0x8747aba reload_cse_simplify_operands
    ../../gcc-trunk2/gcc/postreload.c:411
0x874830a reload_cse_simplify
    ../../gcc-trunk2/gcc/postreload.c:123
0x874830a reload_cse_regs_1
    ../../gcc-trunk2/gcc/postreload.c:220
0x8749ac2 reload_cse_regs
    ../../gcc-trunk2/gcc/postreload.c:68
0x8749ac2 rest_of_handle_postreload
    ../../gcc-trunk2/gcc/postreload.c:2332
0x8749ac2 execute
    ../../gcc-trunk2/gcc/postreload.c:2368
Please submit a full bug report,


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
  2013-10-31 10:51 ` [Bug rtl-optimization/58934] " ro at gcc dot gnu.org
  2013-10-31 11:31 ` olegendo at gcc dot gnu.org
@ 2013-10-31 11:36 ` ramana at gcc dot gnu.org
  2013-10-31 11:53 ` chrbr at gcc dot gnu.org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ramana at gcc dot gnu.org @ 2013-10-31 11:36 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|cris-axis-elf,              |cris-axis-elf,
                   |sparc-sun-solaris2.11       |sparc-sun-solaris2.11
                   |sh*-*-*                     |sh*-*-*,arm-none-eabi,arm-n
                   |                            |one-linux-gnueabihf
                 CC|                            |ramana at gcc dot gnu.org

--- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
And arm-none-eabi builds in newlib. Let's join the party.

./cc1 -O2 -mthumb -O2 -g -fno-builtin -fshort-enums -S -mcpu=cortex-a9
-mfpu=neon -mfloat-abi=softfp reduced.c 



#>$GCCDIR/configure --target=arm-none-eabi --with-languages=c

Breaks glibc builds for arm-none-linux-gnueabihf


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-10-31 11:36 ` ramana at gcc dot gnu.org
@ 2013-10-31 11:53 ` chrbr at gcc dot gnu.org
  2013-10-31 12:09 ` jamborm at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: chrbr at gcc dot gnu.org @ 2013-10-31 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

chrbr at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chrbr at gcc dot gnu.org

--- Comment #4 from chrbr at gcc dot gnu.org ---
Created attachment 31119
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31119&action=edit
SH testcase

yep, Also fails to build the sh-none-elf newlib. Attached case to reproduce

cc1 -O2  fgets.i  -quiet -fno-builtin
fgets.i: In function '_fgets_r':
fgets.i:826:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 162 163 161 4 (set (reg/v/f:SI 215 [orig:192 buf ] [192])
        (reg/v/f:SI 5 r5 [orig:192 buf ] [192])) 256 {movsi_i}
     (nil))
fgets.i:826:1: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:411


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2013-10-31 11:53 ` chrbr at gcc dot gnu.org
@ 2013-10-31 12:09 ` jamborm at gcc dot gnu.org
  2013-10-31 13:04 ` ramana at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-10-31 12:09 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jamborm at gcc dot gnu.org

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I'll revert the patch momentarily. Sorry for the trouble and thanks for any
testcases.


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2013-10-31 12:09 ` jamborm at gcc dot gnu.org
@ 2013-10-31 13:04 ` ramana at gcc dot gnu.org
  2013-10-31 13:53 ` dje at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ramana at gcc dot gnu.org @ 2013-10-31 13:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Created attachment 31121
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31121&action=edit
arm-none-eabi reduced testcase

./cc1 -O2 -g -mthumb -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp reduced.c


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2013-10-31 13:04 ` ramana at gcc dot gnu.org
@ 2013-10-31 13:53 ` dje at gcc dot gnu.org
  2013-11-01  2:31 ` hp at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dje at gcc dot gnu.org @ 2013-10-31 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|cris-axis-elf,              |cris-axis-elf,
                   |sparc-sun-solaris2.11       |sparc-sun-solaris2.11
                   |sh*-*-*,arm-none-eabi,arm-n |sh*-*-*,arm-none-eabi,arm-n
                   |one-linux-gnueabihf         |one-linux-gnueabihf,powerpc
                   |                            |*-*-*
                 CC|                            |dje at gcc dot gnu.org,
                   |                            |pthaugen at gcc dot gnu.org

--- Comment #8 from David Edelsohn <dje at gcc dot gnu.org> ---
It also had broken PowerPC.


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2013-10-31 13:53 ` dje at gcc dot gnu.org
@ 2013-11-01  2:31 ` hp at gcc dot gnu.org
  2013-11-04 14:17 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hp at gcc dot gnu.org @ 2013-11-01  2:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
Fixed as far as I'm concerned.
Martin, you're assigned so I'll let you close it if you please.


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2013-11-01  2:31 ` hp at gcc dot gnu.org
@ 2013-11-04 14:17 ` rguenth at gcc dot gnu.org
  2013-11-08 12:39 ` jamborm at gcc dot gnu.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-04 14:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2013-11-04 14:17 ` rguenth at gcc dot gnu.org
@ 2013-11-08 12:39 ` jamborm at gcc dot gnu.org
  2013-11-12 13:38 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-11-08 12:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I have re-submitted my patch in which this bug is fixed, you can find
it at http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00598.html

I have verified the patch bootstraps on i686-linux (reported by Jakub
in the mailing list), ppc64-linux (some problem reported by David in
comment #8) and ia64-linux (no problem reported but anyway), however I
could not try the same on Sparc or Solaris (even though failure was
reported by Rainer in comment #1) because I do not have access to
either of them (oh how I wish that sparcs on the compile farm came
back).

Similarly, I have verified that the original reported failure on
cris-elf cross-compiler goes away, as does the problem on sh-none-elf
cross (the one from comment #4).  However, even without the fix I was
not able to reproduce the failure on arm reported in comment #6.

If anyone is willing to test the patch on any platform but especially
on those which I could not, I'd be very grateful.  Thanks.


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2013-11-08 12:39 ` jamborm at gcc dot gnu.org
@ 2013-11-12 13:38 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2013-11-13 13:45 ` jamborm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2013-11-12 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #11 from Martin Jambor <jamborm at gcc dot gnu.org> ---
[...]
> If anyone is willing to test the patch on any platform but especially
> on those which I could not, I'd be very grateful.  Thanks.

I've now regression-tested the patch on sparc-sun-solaris2.11.
Bootstrap works and I find just a single regression:

FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
-fbounds-check 

which is reproducible.

    Rainer


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2013-11-12 13:38 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2013-11-13 13:45 ` jamborm at gcc dot gnu.org
  2013-11-25 13:58 ` jamborm at gcc dot gnu.org
  2013-11-25 14:21 ` ro at CeBiTec dot Uni-Bielefeld.DE
  13 siblings, 0 replies; 15+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-11-13 13:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #12)
> > --- Comment #11 from Martin Jambor <jamborm at gcc dot gnu.org> ---
> [...]
> > If anyone is willing to test the patch on any platform but especially
> > on those which I could not, I'd be very grateful.  Thanks.
> 
> I've now regression-tested the patch on sparc-sun-solaris2.11.
> Bootstrap works and I find just a single regression:
> 
> FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
> -fbounds-check 
> 
> which is reproducible.
> 
> 	Rainer

Thanks a lot.  I committed the patch a few moments before reading your
comment so I suppose trunk now suffers from this failure.  If so, can
you please open a bug report?

I tried to reproduce it on gcc54 on the compile farm (sparc64-linux)
but so far I have failed to even build the gcc itself there :-/
>From gcc-bugs-return-434465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 13 14:05:45 2013
Return-Path: <gcc-bugs-return-434465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26205 invoked by alias); 13 Nov 2013 14:05:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 26179 invoked by uid 48); 13 Nov 2013 14:05:41 -0000
From: "reichelt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/59110] New: [4.9 Regression] [c++1y] ICE using auto in cast
Date: Wed, 13 Nov 2013 14:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: reichelt at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-59110-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg01242.txt.bz2
Content-length: 2407

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY110

            Bug ID: 59110
           Summary: [4.9 Regression] [c++1y] ICE using auto in cast
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: reichelt at gcc dot gnu.org

The following invalid code snippet (compiled with "-std=c++1y") triggers an ICE
on trunk:

====================int i = *(auto*)0;
====================
bug.cc:1:17: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have template_type_parm in lookup_conversions,
at cp/search.c:2509
 int i = *(auto*)0;
                 ^
0xd3a614 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/gcc/tree.c:9166
0x6bd9f7 tree_check3
        ../../gcc/gcc/tree.h:2746
0x6bd9f7 lookup_conversions(tree_node*)
        ../../gcc/gcc/cp/search.c:2509
0x5493a6 build_user_type_conversion_1
        ../../gcc/gcc/cp/call.c:3447
0x54a3c1 implicit_conversion
        ../../gcc/gcc/cp/call.c:1756
0x54ff6c can_convert_arg_bad(tree_node*, tree_node*, tree_node*, int, int)
        ../../gcc/gcc/cp/call.c:8960
0x677940 convert_for_assignment
        ../../gcc/gcc/cp/typeck.c:7992
0x5eff71 digest_init_r
        ../../gcc/gcc/cp/typeck2.c:1009
0x5f1dc2 digest_init_flags
        ../../gcc/gcc/cp/typeck2.c:1078
0x5f1dc2 store_init_value(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, int)
        ../../gcc/gcc/cp/typeck2.c:766
0x566066 check_initializer
        ../../gcc/gcc/cp/decl.c:5739
0x57909d cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
        ../../gcc/gcc/cp/decl.c:6358
0x666c11 cp_parser_init_declarator
        ../../gcc/gcc/cp/parser.c:16727
0x66837f cp_parser_simple_declaration
        ../../gcc/gcc/cp/parser.c:11118
0x64c7b0 cp_parser_block_declaration
        ../../gcc/gcc/cp/parser.c:10999
0x670477 cp_parser_declaration
        ../../gcc/gcc/cp/parser.c:10896
0x66f198 cp_parser_declaration_seq_opt
        ../../gcc/gcc/cp/parser.c:10782
0x670a3a cp_parser_translation_unit
        ../../gcc/gcc/cp/parser.c:4010
0x670a3a c_parse_file()
        ../../gcc/gcc/cp/parser.c:31187
0x791cd3 c_common_parse_file()
        ../../gcc/gcc/c-family/c-opts.c:1055
Please submit a full bug report, [etc.]


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2013-11-13 13:45 ` jamborm at gcc dot gnu.org
@ 2013-11-25 13:58 ` jamborm at gcc dot gnu.org
  2013-11-25 14:21 ` ro at CeBiTec dot Uni-Bielefeld.DE
  13 siblings, 0 replies; 15+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-11-25 13:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #12)
> FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
> -fbounds-check 
> 

I did not find this failure in your latest test results
(http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01857.html) and so I
assume it has been also fixed by any of the subsequent patches
addressing other issues.


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

* [Bug rtl-optimization/58934] [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c
  2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2013-11-25 13:58 ` jamborm at gcc dot gnu.org
@ 2013-11-25 14:21 ` ro at CeBiTec dot Uni-Bielefeld.DE
  13 siblings, 0 replies; 15+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2013-11-25 14:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #14 from Martin Jambor <jamborm at gcc dot gnu.org> ---
> (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #12)
>> FAIL: gfortran.fortran-torture/execute/pr32604.f90 execution,  -O2
>> -fbounds-check 
>> 
>
> I did not find this failure in your latest test results
> (http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01857.html) and so I
> assume it has been also fixed by any of the subsequent patches
> addressing other issues.

Right, it's gone in this weekend's bootstraps.

    Rainer


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

end of thread, other threads:[~2013-11-25 14:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31  5:37 [Bug rtl-optimization/58934] New: [4.9 Regression]: build fails on cris-elf in reload_cse_simplify_operands for newlib dtoa.c hp at gcc dot gnu.org
2013-10-31 10:51 ` [Bug rtl-optimization/58934] " ro at gcc dot gnu.org
2013-10-31 11:31 ` olegendo at gcc dot gnu.org
2013-10-31 11:36 ` ramana at gcc dot gnu.org
2013-10-31 11:53 ` chrbr at gcc dot gnu.org
2013-10-31 12:09 ` jamborm at gcc dot gnu.org
2013-10-31 13:04 ` ramana at gcc dot gnu.org
2013-10-31 13:53 ` dje at gcc dot gnu.org
2013-11-01  2:31 ` hp at gcc dot gnu.org
2013-11-04 14:17 ` rguenth at gcc dot gnu.org
2013-11-08 12:39 ` jamborm at gcc dot gnu.org
2013-11-12 13:38 ` ro at CeBiTec dot Uni-Bielefeld.DE
2013-11-13 13:45 ` jamborm at gcc dot gnu.org
2013-11-25 13:58 ` jamborm at gcc dot gnu.org
2013-11-25 14:21 ` ro at CeBiTec dot Uni-Bielefeld.DE

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).