[Bug target/69073] internal compiler error: in maybe_record_trace_start

2022-01-27 Thread ysato at users dot sourceforge.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69073

--- Comment #7 from Yoshinori Sato  ---
Created attachment 52308
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52308=edit
comment 4 reproduce source

[Bug target/69073] internal compiler error: in maybe_record_trace_start

2022-01-27 Thread ysato at users dot sourceforge.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69073

--- Comment #6 from Yoshinori Sato  ---
I got same ICE on following gcc.
❯ rx-unknown-linux-gcc --version
rx-unknown-linux-gcc (GCC) 12.0.0 20210903 (experimental)

❯ rx-unknown-linux-gcc -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE
-Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type
-Wno-format-security -std=gnu89 -D__linux__ -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=1024 -fno-stack-protector -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fomit-frame-pointer -fno-stack-clash-protection -Wdeclaration-after-statement
-Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds
-Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check
-fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types
-Werror=designated-init -Wno-packed-not-aligned -g -c util.c 
during RTL pass: dwarf2
mm/util.c: In function 'kvmalloc_node':
mm/util.c:602:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2425
  602 | }
  | ^
0x5cd192 maybe_record_trace_start
../../gcc/dwarf2cfi.c:2425
0x9583d5 scan_trace
../../gcc/dwarf2cfi.c:2625
0x958bac create_cfi_notes
../../gcc/dwarf2cfi.c:2779
0x958bac execute_dwarf2_frame
../../gcc/dwarf2cfi.c:3149
0x958bac execute
../../gcc/dwarf2cfi.c:3637
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.

attached pre-precessed souce.

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-14 Thread ysato at users dot sourceforge.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431

--- Comment #2 from Yoshinori Sato  ---
Since 0x296318e8 is data, we need to investigate where we jumped.
The backtrace looks normal, so I think you're getting anomalous jumps when
optimizing long_richcompare.

[Bug c/89828] New: Inernal compiler error on -fno-omit-frame-pointer

2019-03-26 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89828

Bug ID: 89828
   Summary: Inernal compiler error on -fno-omit-frame-pointer
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 46025
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46025=edit
problem happened source code

I got following errors.
$ rx-elf-gcc -c -O2 -g -fno-omit-frame-pointer core.c
during RTL pass: dwarf2
kernel/sched/core.c: In function '__schedule_bug':
kernel/sched/core.c:3277:1: internal compiler error: in
dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1183
 3277 | }
  | ^
0x75efc9 dwarf2out_frame_debug_adjust_cfa
../../gcc/dwarf2cfi.c:1183
0x75efc9 dwarf2out_frame_debug
../../gcc/dwarf2cfi.c:2079
0x75efc9 scan_insn_after
../../gcc/dwarf2cfi.c:2511
0x75f188 scan_trace
../../gcc/dwarf2cfi.c:2678
0x75fdca create_cfi_notes
../../gcc/dwarf2cfi.c:2722
0x75fdca execute_dwarf2_frame
../../gcc/dwarf2cfi.c:3086
0x75fdca execute
../../gcc/dwarf2cfi.c:3574
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

rx-elf-gcc -c -O2 -g -fomit-frame-pointer core.c
works fine.

[Bug target/69713] New: Invalid code of optimization in SH

2016-02-06 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69713

Bug ID: 69713
   Summary: Invalid code of optimization in SH
   Product: gcc
   Version: 5.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 37619
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37619=edit
reproduce code

Attached code compiled. Getting output below.

82  lookup_user_key:
83  mov.l   r8,@-r15
84  mov #0,r3
85  mov.l   r9,@-r15
86  mov #15,r1
87  mov.l   r10,@-r15
88  mov.l   r11,@-r15
89  mov r5,r11
90  mov.l   r12,@-r15
91  mov r4,r12
92  mov.l   r13,@-r15
93  mov.l   r14,@-r15
94  sts.l   pr,@-r15
95  add #-76,r15
96  mov r15,r2
97  mov.l   r6,@(4,r15)
98  add #16,r2
99  .L16:
   100  add #-1,r1
   101  mov.l   r3,@r2
   102  tst r1,r1
   103  add #4,r2
   104  bf  .L16
   105  mov.l   .L111,r1
   106  mov r12,r10
   107  add #8,r10
   108  mova.L21,r0
   109  mov.l   r1,@(32,r15)
   110  mov r10,r2
   111  mov #1,r1
   112  mov.l   r1,@(48,r15)
   113  add r2,r2
   114  mov.w   @(r0,r2),r1

Line 114 is lookup jump table. But not check offset range.
So if r2 is out of range (in default case). Refer out of table.

-O0 generate collect code. I think optimizing bug.

[Bug debug/69073] internal compiler error: in maybe_record_trace_start

2016-01-09 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69073

--- Comment #4 from Yoshinori Sato  ---
still have problem...
$ LANG=C gcc/xgcc -v -B ./gcc -Os -g -ffixed-r13 -c ~/nfs.c
Reading specs from ./gcc/specs
COLLECT_GCC=gcc/xgcc
Target: rx-elf
Configured with: ../configure --target=rx-elf --prefix=/home/ysato/rxelf
--enable-languages=c --disable-libssp --disable-ssp --disable-mpc --disable-gmp
--disable-mpfr --disable-threads --disable-shared --disable-libmudflap
--disable-libgomp --disable-zlib --disable-libquadmath --without-libc
--disable-libatomic
Thread model: single
gcc version 6.0.0 20160109 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-B' './gcc' '-Os' '-g' '-ffixed-r13' '-c'
 ./gcc/cc1 -quiet -v -iprefix
/home/ysato/dev/gcc/rx/gcc/../lib/gcc/rx-elf/6.0.0/ -isystem ./gcc/include
-isystem ./gcc/include-fixed ../../../nfs.c -quiet -dumpbase nfs.c -auxbase nfs
-g -Os -version -ffixed-r13 -o /tmp/cc5Eo3x1.s
GNU C11 (GCC) version 6.0.0 20160109 (experimental) (rx-elf)
compiled by GNU C version 4.9.3, GMP version 6.0.0, MPFR version 3.1.3,
MPC version 1.0.3, isl version 0.14 or 0.13
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/rx-elf/6.0.0/include"
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/rx-elf/6.0.0/include-fixed"
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/rx-elf/6.0.0/../../../../rx-elf/sys-include"
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/rx-elf/6.0.0/../../../../rx-elf/include"
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/../../lib/gcc/rx-elf/6.0.0/include"
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/../../lib/gcc/rx-elf/6.0.0/include-fixed"
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/../../lib/gcc/rx-elf/6.0.0/../../../../rx-elf/sys-include"
ignoring nonexistent directory
"/home/ysato/dev/gcc/rx/gcc/../lib/gcc/../../lib/gcc/rx-elf/6.0.0/../../../../rx-elf/include"
#include "..." search starts here:
#include <...> search starts here:
 ./gcc/include
 ./gcc/include-fixed
End of search list.
GNU C11 (GCC) version 6.0.0 20160109 (experimental) (rx-elf)
compiled by GNU C version 4.9.3, GMP version 6.0.0, MPFR version 3.1.3,
MPC version 1.0.3, isl version 0.14 or 0.13
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 6d61ea74e103f1b6720f7d895a3673eb
In file included from include/common.h:22:0,
 from net/nfs.c:25:
include/linux/string.h:24:7: warning: conflicting types for built-in function
'bcopy'

In file included from net/nfs.c:25:0:
include/common.h:877:6: warning: conflicting types for built-in function 'putc'

include/common.h:878:6: warning: conflicting types for built-in function 'puts'

In file included from net/nfs.c:25:0:
include/common.h:899:6: warning: conflicting types for built-in function
'fputs'

include/common.h:900:6: warning: conflicting types for built-in function
'fputc'

net/nfs.c: In function 'nfs_umountall_req':
net/nfs.c:276:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2284

0x708747 maybe_record_trace_start
../../gcc/dwarf2cfi.c:2284
0x709000 scan_trace
../../gcc/dwarf2cfi.c:2462
0x7097ba create_cfi_notes
../../gcc/dwarf2cfi.c:2616
0x7097ba execute_dwarf2_frame
../../gcc/dwarf2cfi.c:2974
0x7097ba execute
../../gcc/dwarf2cfi.c:3454
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.

[Bug debug/69073] internal compiler error: in maybe_record_trace_start

2016-01-02 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69073

--- Comment #2 from Yoshinori Sato  ---
It looks different problem.
I tried x86_64 cross compile.
Using built-in specs.
COLLECT_GCC=rx-elf-gcc
COLLECT_LTO_WRAPPER=/home/ysato/rxelf/libexec/gcc/rx-elf/6.0.0/lto-wrapper
Target: rx-elf
Configured with: ../configure --target=rx-elf --prefix=/home/ysato/rxelf
--enable-languages=c --disable-libssp --disable-ssp --disable-mpc --disable-gmp
--disable-mpfr --disable-threads --disable-shared --disable-libmudflap
--disable-libgomp --disable-zlib --disable-libquadmath --without-libc
--disable-libatomic
Thread model: single
gcc version 6.0.0 20151222 (experimental) (GCC)

PR67778 example is not happened ICE.

[Bug target/69112] New: MIssing register assignment

2016-01-01 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69112

Bug ID: 69112
   Summary: MIssing register assignment
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 37204
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37204=edit
reproduce sample

I compiled this inline assembler functions.
__asm__ volatile("mvfc psw, %2\n\t"
 "clrpsw i\n\t"
 "btst %3, %1.b\n\t"
 "bset %3, %1.b\n\t"
 "scnz.l %0\n\t"
 "mvtc %2, psw"
 : "=r"(result),"+m"(*b_addr),"=r"(psw)
 :"ri"(nr & 7):"cc");

I got this result. The result which isn't expected.
%2 and %3 is same...
rx-elf-gcc -Os
mvfc psw, r1
clrpsw i
btst r1, [r2].b
bset r1, [r2].b
scnz.l r15
mvtc r1, psw

"-O2" is good.
mvfc psw, r2
clrpsw i
btst r4, [r14].b
bset r4, [r14].b
scnz.l r4
mvtc r2, psw

Attached reproduce source.

[Bug target/69112] MIssing register assignment

2016-01-01 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69112

--- Comment #2 from Yoshinori Sato  ---
OK.
Thanks.

[Bug debug/69073] New: internal compiler error: in maybe_record_trace_start

2015-12-28 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69073

Bug ID: 69073
   Summary: internal compiler error: in maybe_record_trace_start
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 37179
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37179=edit
reproduce sample

$ LANG=C rx-elf-gcc -Os -ffixed-r13 -c nfs.c
net/nfs.c: In function 'nfs_umountall_req':
net/nfs.c:276:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2300
 }
 ^
0x6f5517 maybe_record_trace_start
../../gcc/dwarf2cfi.c:2300
0x6f5dd0 scan_trace
../../gcc/dwarf2cfi.c:2478
0x6f658a create_cfi_notes
../../gcc/dwarf2cfi.c:2632
0x6f658a execute_dwarf2_frame
../../gcc/dwarf2cfi.c:2990
0x6f658a execute
../../gcc/dwarf2cfi.c:3470

[Bug tree-optimization/67349] [5 regression] ICE on optimization

2015-08-25 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67349

--- Comment #3 from Yoshinori Sato ysato at users dot sourceforge.jp ---
I tested
gcc version 6.0.0 20150710 (experimental) (GCC)

I'll trying latest trunk.

Thanks,


[Bug target/67349] New: ICE on optimization

2015-08-25 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67349

Bug ID: 67349
   Summary: ICE on optimization
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 36252
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36252action=edit
problem source

I got following error.

$ LANG=C h8300-unknown-linux-gcc -c -O2 -fconserve-stack sync.c
In file included from include/linux/rcupdate.h:429:0,
 from include/linux/rcusync.h:5,
 from kernel/rcu/sync.c:1:
include/linux/rcutiny.h: In function 'rcu_barrier_sched':
include/linux/rcutiny.h:55:91: internal compiler error: Segmentation fault
0xb11f6f crash_signal
../../gcc/toplev.c:352
0xc1fe56 tree_check
../../gcc/tree.h:2857
0xc1fe56 fold_builtin_alloca_with_align
../../gcc/tree-ssa-ccp.c:2110
0xc1fe56 ccp_fold_stmt
../../gcc/tree-ssa-ccp.c:2215
0xca6cba substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
../../gcc/tree-ssa-propagate.c:1226
0xe6a7f7 dom_walker::walk(basic_block_def*)
../../gcc/domwalk.c:177
0xca64a9 substitute_and_fold(tree_node* (*)(tree_node*), bool
(*)(gimple_stmt_iterator*), bool)
../../gcc/tree-ssa-propagate.c:1319
0xc17efc ccp_finalize
../../gcc/tree-ssa-ccp.c:951
0xc17efc do_ssa_ccp
../../gcc/tree-ssa-ccp.c:2410
0xc17efc execute
../../gcc/tree-ssa-ccp.c:2442
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.

without -fconserve-stack in no problem.


[Bug target/66611] New: SH: ICE on -O2

2015-06-20 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66611

Bug ID: 66611
   Summary: SH: ICE on -O2
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 35819
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35819action=edit
problem source code

$ LANG=C sh-unknown-linux-gcc -O2 -mb -m2 w83627ehf.c
w83627ehf.c: In function 'show_caseopen':
w83627ehf.c:24361:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 118 95 119 2 (set (reg:SI 1 r1)
(sign_extend:SI (mem:QI (plus:SI (reg/f:SI 8 r8 [175])
(const_int 12 [0xc])) [0 MEM[(struct
sensor_device_attribute_2 *)attr_6(D)].index+0 S1 A32]))) w83627ehf.c:24359 232
{*extendqisi2_compact_mem_disp}
 (nil))
w83627ehf.c:24361:1: internal compiler error: in extract_constrain_insn, at
recog.c:2221
0x94aed8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc/rtl-error.c:109
0x94aeff _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc/rtl-error.c:120
0x9155f7 extract_constrain_insn(rtx_insn*)
../../gcc/recog.c:2221
0x918f86 copyprop_hardreg_forward_1
../../gcc/regcprop.c:800
0x919bed execute
../../gcc/regcprop.c:1290
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.


[Bug target/64889] New: [h8300] ICE maybe_record_trace_start, at dwarf2cfi.c:2318

2015-01-31 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64889

Bug ID: 64889
   Summary: [h8300] ICE maybe_record_trace_start, at
dwarf2cfi.c:2318
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp

Created attachment 34639
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34639action=edit
reproduce on ICE

reporoduce code attached.

$ h8300-elf-gcc -mh -mint32 -Os -g -fomit-frame-pointer -c namei.c
namei.c: In function 'SYSC_mknodat':
namei.c:38:6: warning: implicit declaration of function 'new_decode_dev'
[-Wimplicit-function-declaration]
  new_decode_dev(dev));
  ^
../../linux/namei.c:42:1: internal compiler error: in maybe_record_trace_start,
at dwarf2cfi.c:2318
 }
 ^
0x6d1d87 maybe_record_trace_start
../../gcc/dwarf2cfi.c:2318
0x6d2640 scan_trace
../../gcc/dwarf2cfi.c:2496
0x6d2e4a create_cfi_notes
../../gcc/dwarf2cfi.c:2650
0x6d2e4a execute_dwarf2_frame
../../gcc/dwarf2cfi.c:3006
0x6d2e4a execute
../../gcc/dwarf2cfi.c:3486
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.


[Bug target/58400] gcc for h8300 internal compiler error: insn does not satisfy its constraints at fs/ext4/mballoc.c: In function 'mb_free_blocks':

2015-01-31 Thread ysato at users dot sourceforge.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58400

Yoshinori Sato ysato at users dot sourceforge.jp changed:

   What|Removed |Added

 CC||ysato at users dot 
sourceforge.jp

--- Comment #10 from Yoshinori Sato ysato at users dot sourceforge.jp ---
I verified fix problem in this patch.
(4.9.2 and 5.0)


[Bug target/57767] New: rx-unknown-elf ice of invalid %-code

2013-07-01 Thread ysato at users dot sourceforge.jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57767

Bug ID: 57767
   Summary: rx-unknown-elf ice of invalid %-code
   Product: gcc
   Version: 4.9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ysato at users dot sourceforge.jp

$ LANG=C /home/ysato/toolchain/gcc/rx/./gcc/xgcc
-B/home/ysato/toolchain/gcc/rx/./gcc/ -B/home/ysato/rxelf/rx-unknown-elf/bin/
-g -O2 -m64bit-doubles -fbuilding-libgcc  -c mulvdi3.c  
mulvdi3.c: In function '__mulvdi3':
mulvdi3.c:101:2: internal compiler error: output_operand: invalid %-code
  }
  ^
0x6a2f64 output_operand_lossage(char const*, ...)
../../gcc/final.c:3303
0x6a3696 output_asm_insn
../../gcc/final.c:3668
0x6a3696 output_asm_insn(char const*, rtx_def**)
../../gcc/final.c:3517
0x6a3ae5 final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*)
../../gcc/final.c:2921
0x6a4bd5 final(rtx_def*, _IO_FILE*, int)
../../gcc/final.c:1957
0x6a4fc9 rest_of_handle_final
../../gcc/final.c:4362


[Bug target/57767] rx-unknown-elf ice of invalid %-code

2013-07-01 Thread ysato at users dot sourceforge.jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57767

--- Comment #1 from Yoshinori Sato ysato at users dot sourceforge.jp ---
Created attachment 30415
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30415action=edit
failed sample


[Bug target/56967] New: Add build exception

2013-04-15 Thread ysato at users dot sourceforge.jp


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



 Bug #: 56967

   Summary: Add build exception

Classification: Unclassified

   Product: gcc

   Version: 4.7.3

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: target

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: ys...@users.sourceforge.jp





Add SH2 and SH2A little-endian exception for sh-*-linux target.


[Bug target/56967] Add build exception

2013-04-15 Thread ysato at users dot sourceforge.jp


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



--- Comment #1 from Yoshinori Sato ysato at users dot sourceforge.jp 
2013-04-15 13:39:23 UTC ---

Add exceptions.


[Bug target/47998] ICE of -O2

2011-03-06 Thread ysato at users dot sourceforge.jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47998

--- Comment #1 from Yoshinori Sato ysato at users dot sourceforge.jp 
2011-03-06 08:11:08 UTC ---
Created attachment 23557
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23557
proposal fix

It mismatch of restriction rule.


[Bug target/47998] ICE of -O2

2011-03-06 Thread ysato at users dot sourceforge.jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47998

Yoshinori Sato ysato at users dot sourceforge.jp changed:

   What|Removed |Added

  Attachment #23557|0   |1
is obsolete||

--- Comment #2 from Yoshinori Sato ysato at users dot sourceforge.jp 
2011-03-06 08:55:28 UTC ---
Created attachment 23558
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23558
proposal fix

Sorry. I mistake.
Update changes.


[Bug target/47998] New: ICE of -O2

2011-03-05 Thread ysato at users dot sourceforge.jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47998

   Summary: ICE of -O2
   Product: gcc
   Version: 4.5.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: ys...@users.sourceforge.jp
Target: h8300-elf


$ cat ice-test.c
unsigned char buf[2048];
unsigned char *ptr;

void test(void)
{
  ptr = buf + (32 - 1);
  ptr -= (unsigned long)ptr % 32;
}

$ h8300-elf-gcc-4.5.3 -mh -mint32 -g -O2 -S ice-test.c
ice-test.c: In function ‘test’:
ice-test.c:8:1: internal compiler error: in gen_lowpart_general, at
rtlhooks.c:59

-O0 or -O1 is no problem.


[Bug target/47983] New: ICE on h8300-elf

2011-03-03 Thread ysato at users dot sourceforge.jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47983

   Summary: ICE on h8300-elf
   Product: gcc
   Version: 4.5.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: ys...@users.sourceforge.jp


$ h8300-elf-gcc -O2 -mint32 -mh -g -fomit-frame-pointer -S ice-test.c
ice-test.c: In function ‘foo’:
ice-test.c:12:1: internal compiler error: in
compute_frame_pointer_to_fb_displacement, at dwarf2out.c:16312

$ cat ice-test.c
extern int bar(char *p, char *, unsigned int, long long *);

char dummy;
int foo(char *a, unsigned int b, long long c)
{
 char *p = dummy;
 int ret;

 ret = bar(p, a, b, c);

 return ret;
}

I think it code miss compile and generate invalid rtx.