Bug 82928 - [8 Regression] glibc test-tgmath3 ICE on powerpc64le
Summary: [8 Regression] glibc test-tgmath3 ICE on powerpc64le
Status: RESOLVED DUPLICATE of bug 82333
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 8.0
: P3 normal
Target Milestone: 8.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-10 03:23 UTC by Alan Modra
Modified: 2017-11-10 18:02 UTC (History)
1 user (show)

See Also:
Host:
Target: powerpc64le-linux
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
somewhat reduced testcase (10.22 KB, text/plain)
2017-11-10 03:23 UTC, Alan Modra
Details
reduced testcase (101 bytes, text/plain)
2017-11-10 09:24 UTC, Alan Modra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Modra 2017-11-10 03:23:41 UTC
Created attachment 42571 [details]
somewhat reduced testcase

Seen with current glibc "make check", gcc 20171109 

during RTL pass: expand
/home/amodra/build/glibc/math/test-tgmath3.c: In function 'test_log10_17':
/home/amodra/build/glibc/math/test-tgmath3.c:150331:23: internal compiler error: in as_a, at machmode.h:345
   vol_var___CFLOAT128 = log10 (vol_var___CFLOAT128);
0x1050cc0f scalar_mode as_a<scalar_mode>(machine_mode)
	/home/amodra/src/gcc/gcc/machmode.h:345
0x1050cc0f convert_mode_scalar
	/home/amodra/src/gcc/gcc/expr.c:280
0x1050cc0f convert_move(rtx_def*, rtx_def*, int)
	/home/amodra/src/gcc/gcc/expr.c:271
0x105156c7 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*)
	/home/amodra/src/gcc/gcc/expr.c:5631
0x105172c3 expand_assignment(tree_node*, tree_node*, bool)
	/home/amodra/src/gcc/gcc/expr.c:5322
0x103879af expand_gimple_stmt_1
	/home/amodra/src/gcc/gcc/cfgexpand.c:3675
0x103879af expand_gimple_stmt
	/home/amodra/src/gcc/gcc/cfgexpand.c:3773
0x1038ba83 expand_gimple_basic_block
	/home/amodra/src/gcc/gcc/cfgexpand.c:5774
0x10391b67 execute
	/home/amodra/src/gcc/gcc/cfgexpand.c:6375

gcc -c -O1 -mcpu=power8 to reproduce with attached testcase
Comment 1 Alan Modra 2017-11-10 09:24:39 UTC
Created attachment 42576 [details]
reduced testcase
Comment 2 Joseph S. Myers 2017-11-10 18:02:08 UTC
Already reported.

*** This bug has been marked as a duplicate of bug 82333 ***