[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by John David Anglin : https://gcc.gnu.org/g:356390c14aa70a95c15845512f2381b627cf9a96 commit r11-9051-g356390c14aa70a95c15845512f2381b627cf9a96 Author: John David Anglin Date: Fri Oct 1 17:18:32 2021 + Use libiberty snprintf and vsnprintf on hppa*-*-hpux*. libiberty/ChangeLog: PR target/100734 * configure.ac: Use libiberty snprintf and vsnprintf on hppa*-*-hpux*. * configure: Regenerate.
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 John David Anglin changed: What|Removed |Added Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #14 from John David Anglin --- Fixed.
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #13 from CVS Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:a0864ce8662bb9d715b51513697309f198f1da19 commit r12-1240-ga0864ce8662bb9d715b51513697309f198f1da19 Author: John David Anglin Date: Sat Jun 5 15:48:04 2021 + Use libiberty snprintf and vsnprintf on hppa*-*-hpux*. libiberty/ChangeLog: PR target/100734 * configure.ac: Use libiberty snprintf and vsnprintf on hppa*-*-hpux*. * configure: Regenerate.
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 John David Anglin changed: What|Removed |Added Component|middle-end |target --- Comment #12 from John David Anglin --- Using libiberty snprintf and vsnprintf on hppa*-*-hpux* works.
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #5 from John David Anglin --- Breakpoint 1, attr_access::from_mode_char ( c=) at ../../gcc/gcc/attribs.h:304 304 gcc_unreachable (); (gdb) bt #0 attr_access::from_mode_char ( c=) at ../../gcc/gcc/attribs.h:304 #1 0x40a8311c in init_attr_rdwr_indices (rwm=0x83fffdff14e0, attrs=0x83fffdf1b9b0) at ../../gcc/gcc/attribs.c:2146 #2 0x40d1e554 in warn_parm_array_mismatch (origloc=2147484671, fndecl=0x83fffdf1b9b0, newparms=0x7ae4b8) at ../../gcc/gcc/c-family/c-warn.c:3369 #3 0x40b5ebc0 in c_parser_declaration_or_fndef ( parser=0x83fffdff14e0, fndef_ok=128, static_assert_ok=false, empty_ok=true, nested=false, start_attr_ok=false, objc_foreach_object_declaration=0x40887f48 , omp_declare_simd_clauses=..., have_attrs=false, attrs=0x83fffdf1d700, oacc_routine_data=0x42f7501f , fallthru_attr_p=0x83fffdff17a0) at ../../gcc/gcc/c/c-parser.c:2342 #4 0x40b5cb98 in c_parser_external_declaration ( parser=0x83fffdff14e0) at ../../gcc/gcc/c/c-parser.c:1777 #5 0x40b5c240 in c_parser_translation_unit (parser=0x83fffdff14e0) at ../../gcc/gcc/c/c-parser.c:1650 #6 0x40bc644c in c_parse_file () at ../../gcc/gcc/c/c-parser.c:21994 #7 0x40cafd10 in c_common_parse_file () at ../../gcc/gcc/c-family/c-opts.c:1219 #8 0x417db87c in compile_file () at ../../gcc/gcc/toplev.c:457 #9 0x417e26e8 in do_compile () at ../../gcc/gcc/toplev.c:2203 #10 0x417e2e68 in toplev::main (this=0x83fffdff14e0, argc=-2147482625, argv=0x7ae4b8) at ../../gcc/gcc/toplev.c:2342 #11 0x42abbee4 in main (argc=-2147482625, argv=0x83fffdf1b9b0) at ../../gcc/gcc/main.c:39 (gdb) frame 1 #1 0x40a8311c in init_attr_rdwr_indices (rwm=0x83fffdff14e0, attrs=0x83fffdf1b9b0) at ../../gcc/gcc/attribs.c:2146 2146 acc.mode = acc.from_mode_char (*m); (gdb) p *m $2 = 0 '\000'
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 John David Anglin changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4 from John David Anglin --- This ICE was introduced by the following commit: commit eb2a917fa0779b689f09ac8d8c41b0456facbe62 (HEAD) Author: Martin Sebor Date: Wed May 19 16:13:13 2021 -0600 PR c/100619 - ICE on a VLA parameter with too many dimensions gcc/c-family/ChangeLog: PR c/100619 * c-attribs.c (build_attr_access_from_parms): Handle arbitrarily many bounds.
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #3 from Richard Biener --- Possibly a dup of PR100727?
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #2 from dave.anglin at bell dot net --- It's after stage1. I'm bisecting.
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #1 from Andrew Pinski --- /* The character codes corresponding to all the access modes. */ static constexpr char mode_chars[5] = { '-', 'r', 'w', 'x', '^' }; Is this after building stage 1 or after building stage 2 ?
[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 Andrew Pinski changed: What|Removed |Added Component|bootstrap |target Summary|/test/gnu/gcc/objdir/gcc/in |[12 Regression] |clude-fixed/stdlib.h:291:8: |/test/gnu/gcc/objdir/gcc/in |internal compiler error: in |clude-fixed/stdlib.h:291:8: |from_mode_char, at |internal compiler error: in |attribs.h:304 |from_mode_char, at ||attribs.h:304 Target Milestone|--- |12.0 Keywords||build, ice-on-valid-code