[Bug target/68896] [ARM] target attribute ignored

2016-01-28 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68896 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Depends

[Bug target/69512] ICE when using avx with i586

2016-01-27 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69512 chrbr at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic, ice-checking

[Bug target/69512] New: ICE when using avx with i586

2016-01-27 Thread chrbr at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- a reduced case from gcc.target/i386/avx-vcmppd-1.c that fails instead of being unsupported for testing with -march=i586 attached test compiled with runs withs -O2 -mavx -march=i586 -m32 ICES

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-27 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 --- Comment #14 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Wed Jan 27 13:03:45 2016 New Revision: 232872 URL: https://gcc.gnu.org/viewcvs?rev=232872=gcc=rev Log: 2016-01-20 Christian Bruel <christian.br...@st.com> PR

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2016-01-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 --- Comment #16 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Jan 22 14:16:47 2016 New Revision: 232728 URL: https://gcc.gnu.org/viewcvs?rev=232728=gcc=rev Log: 2016-01-22 Christian Bruel <christian.br...@st.com> PR

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2016-01-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/68895] [ARM] ICE with target attributes

2016-01-20 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68895 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2016-01-20 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added CC||clyon at gcc dot gnu.org

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 chrbr at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |chrbr at gcc dot

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2016-01-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 --- Comment #36 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Jan 15 08:46:49 2016 New Revision: 232403 URL: https://gcc.gnu.org/viewcvs?rev=232403=gcc=rev Log: gcc 2015-01-16 Christian Bruel <christian.br...@st.com>

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-13 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 --- Comment #8 from chrbr at gcc dot gnu.org --- Probably the same latent bug in the else part of the pragma_parse, for the case where arm_valid_target_attribute_tree returns NULL.

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-13 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 --- Comment #7 from chrbr at gcc dot gnu.org --- also it could be wrong to wait for arm_set_current_function when handling a pragma GCC target because we could need the state in the global scope.

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-13 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 --- Comment #9 from chrbr at gcc dot gnu.org --- Created attachment 37329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37329=edit factorize restoration code works for this case but fully untested

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-13 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 --- Comment #6 from chrbr at gcc dot gnu.org --- (In reply to ktkachov from comment #5) > The problem is we never end up setting TREE_TARGET_GLOBALS for fn2. > From what I can gather that's TARGET_SET_CURRENT_FUNCTION's job (al

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-13 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 chrbr at gcc dot gnu.org changed: What|Removed |Added Attachment #37329|0 |1 is obsolete

[Bug target/69245] [6 Regression] ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf

2016-01-13 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245 chrbr at gcc dot gnu.org changed: What|Removed |Added Attachment #37332|0 |1 is obsolete

[Bug target/69180] [ARM] #pragma GCC target should not warn about redefined macros

2016-01-12 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69180 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug target/69180] [ARM] #pragma GCC target should not warn about redefined macros

2016-01-12 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69180 --- Comment #1 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Tue Jan 12 15:01:12 2016 New Revision: 232276 URL: https://gcc.gnu.org/viewcvs?rev=232276=gcc=rev Log: PR target/69180 * config/arm/arm-c.c (arm_pragma_target_parse): Set

[Bug target/69180] New: [ARM] #pragma GCC target should not warn about redefined macros

2016-01-07 Thread chrbr at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- the line : #pragma GCC target ("fpu=neon") compiled with -mfloat-abi=softfp -mfpu=neon-fp-armv8 warns with warning: &quo

[Bug target/68895] [ARM] ICE with target attributes

2015-12-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68895 --- Comment #3 from chrbr at gcc dot gnu.org --- Created attachment 37083 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37083=edit fix under validation Initial patch to recompute DECL_MODE

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |chrbr at gcc dot

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 --- Comment #13 from chrbr at gcc dot gnu.org --- Created attachment 37084 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37084=edit preliminary fix

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 --- Comment #12 from chrbr at gcc dot gnu.org --- (In reply to ktkachov from comment #8) > (In reply to chrbr from comment #7) > > I was suggesting in #68934 to make this code invalid and report an error. > > Since SIMD types sho

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-17 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/68895] [ARM] ICE with target attributes

2015-12-17 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68895 chrbr at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-17 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-valid-code |diagnostic

[Bug target/68934] [ARM] using simd types should be rejected if not fpu=neon

2015-12-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68934 --- Comment #3 from chrbr at gcc dot gnu.org --- > Real code does not scope simd type definitions tightly enough to make this > feasible even if it were desirable. there was an instance of this in Bug #68895. The second function ices

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Target|arm |arm,aarch64

[Bug target/68674] ARM/AARCH64 attribute target neon internal compiler error: in copy_to_mode_reg, at explow.c:595

2015-12-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Blocks|65837 | --- Comment #7 from chrbr

[Bug target/68934] New: ARM using simd types should be rejected if not fpu=neon

2015-12-16 Thread chrbr at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- the declaration: -- #pragma GCC target ("fpu=vfp") __simd64_int8_t b; -- legitimately fails with error: un

[Bug target/68934] [ARM] using simd types should be rejected if not fpu=neon

2015-12-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68934 --- Comment #1 from chrbr at gcc dot gnu.org --- run with cc1 -mfloat-abi=hard for a compiler configured with defaults

[Bug target/68896] [ARM] target attribute ignored

2015-12-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68896 --- Comment #2 from chrbr at gcc dot gnu.org --- Currently not a bug, or rather implementation specified. According to the documentation 6.61.15 Function Specific Option Pragmas #pragma GCC target ("string"...) ... Eac

[Bug target/68674] ARM attribute target neon warning: incompatible implicit declaration of built-in function

2015-12-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 --- Comment #5 from chrbr at gcc dot gnu.org --- Created attachment 37041 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37041=edit testcase without arm_neon parts more concise to avoid mixing the arm_neon intrinsincs

[Bug target/68895] [ARM] ICE with target attributes

2015-12-14 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68895 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/68896] [ARM] target attribute ignored

2015-12-14 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68896 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/68674] ARM attribute target neon warning: incompatible implicit declaration of built-in function

2015-12-09 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 --- Comment #3 from chrbr at gcc dot gnu.org --- ah yes, try without the "-mfpu=neon". arm-none-eabi-gcc -mcpu=cortex-a9 -mfloat-abi=hard t.c -S -O2

[Bug target/68674] ARM attribute target neon warning: incompatible implicit declaration of built-in function

2015-12-03 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68674 chrbr at gcc dot gnu.org changed: What|Removed |Added Blocks||65837 Assignee

[Bug target/68674] New: ARM attribute target neon warning: incompatible implicit declaration of built-in function

2015-12-03 Thread chrbr at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- this test compiled with cc1 -O2 test.c -mcpu=cortex-a9 -mfloat-abi=hard -quiet -mfpu=neon #include

[Bug target/68620] ICE on gcc.target/arm/attr-neon-fp16.c

2015-12-03 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68620 chrbr at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2015-12-3 CC

[Bug target/68617] arm ice output_operand: invalid %-code for -march=armv6k + thumb

2015-12-01 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68617 --- Comment #3 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Tue Dec 1 14:50:57 2015 New Revision: 231114 URL: https://gcc.gnu.org/viewcvs?rev=231114=gcc=rev Log: 2015-12-01 Christian Bruel <christian.br...@st.com> PR

[Bug target/68617] arm ice output_operand: invalid %-code for -march=armv6k + thumb

2015-12-01 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68617 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug target/68617] arm ice output_operand: invalid %-code for -march=armv6k + thumb

2015-11-30 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68617 --- Comment #2 from chrbr at gcc dot gnu.org --- unaligned_access flag now depend on TARGET_32BIT, which is sensitive to the attribute target. Should be made Save in arm.opt and handled in override_options_internal. But this is still not enough

[Bug target/68617] New: arm ice output_operand: invalid %-code for -march=armv6k + thumb

2015-11-30 Thread chrbr at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: ---

[Bug target/68617] arm ice output_operand: invalid %-code for -march=armv6k + thumb

2015-11-30 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68617 --- Comment #1 from chrbr at gcc dot gnu.org --- Created attachment 36872 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36872=edit reproduce compiled with arm-none-eabi-gcc -Os -S -mfloat-abi=softfp attr-unaligned-load-ice.c -mtp=s

[Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123

2015-11-26 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68368 chrbr at gcc dot gnu.org changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #7 from

[Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123

2015-11-26 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68368 chrbr at gcc dot gnu.org changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #8 from

[Bug c++/68385] [6 Regression] ICE building libstdc++ on arm-none-eabi

2015-11-26 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68385 --- Comment #5 from chrbr at gcc dot gnu.org --- *** Bug 68368 has been marked as a duplicate of this bug. ***

[Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123

2015-11-17 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68368 chrbr at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 Status

[Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123

2015-11-17 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68368 chrbr at gcc dot gnu.org changed: What|Removed |Added CC||chrbr at gcc dot gnu.org

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-11-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-11-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 --- Comment #31 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Mon Nov 16 08:46:42 2015 New Revision: 230404 URL: https://gcc.gnu.org/viewcvs?rev=230404=gcc=rev Log: 2015-11-16 Christian Bruel <christian.br...@st.com> PR

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-11-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 --- Comment #32 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Mon Nov 16 09:00:09 2015 New Revision: 230406 URL: https://gcc.gnu.org/viewcvs?rev=230406=gcc=rev Log: 2015-11-16 Christian Bruel <christian.br...@st.com> PR

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-11-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 --- Comment #33 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Mon Nov 16 10:21:09 2015 New Revision: 230408 URL: https://gcc.gnu.org/viewcvs?rev=230408=gcc=rev Log: 2015-11-16 Christian Bruel <christian.br...@st.com> PR

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-11-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 --- Comment #34 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Mon Nov 16 11:20:02 2015 New Revision: 230410 URL: https://gcc.gnu.org/viewcvs?rev=230410=gcc=rev Log: 2015-11-16 Christian Bruel <christian.br...@st.com> PR

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-11-13 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 --- Comment #30 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Nov 13 15:19:19 2015 New Revision: 230327 URL: https://gcc.gnu.org/viewcvs?rev=230327=gcc=rev Log: 2015-11-13 Christian Bruel <christian.br...@st.com> PR

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #6 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Oct 16 13:37:14 2015 New Revision: 228904 URL: https://gcc.gnu.org/viewcvs?rev=228904=gcc=rev Log: 2015-10-16 Christian Bruel <christian.br...@st.com> PR

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #7 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Oct 16 13:52:51 2015 New Revision: 228912 URL: https://gcc.gnu.org/viewcvs?rev=228912=gcc=rev Log: 2015-10-16 Christian Bruel <christian.br...@st.com> PR

[Bug target/67880] [ARM] -fno-align-functions does not work for thumb

2015-10-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67880 Bug 67880 depends on bug 67745, which changed state. Bug 67745 Summary: [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 What|Removed

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug target/67880] New: [ARM] -fno-align-functions does not work for thumb

2015-10-07 Thread chrbr at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- void foo() { } compiled with -O2 -mthumb -mno-align-functions .text .align 2 .global foo .syntax unified .code 16

[Bug target/67880] [ARM] -fno-align-functions does not work for thumb

2015-10-07 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67880 --- Comment #1 from chrbr at gcc dot gnu.org --- optimize flags should not be part of the alignment ABI. fixed with https://gcc.gnu.org/ml/gcc-patches/2015-09/msg02198.html

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-29 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 chrbr at gcc dot gnu.org changed: What|Removed |Added Target||arm Target Milestone

[Bug target/67745] New: [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-28 Thread chrbr at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- alignment directives emitted by the compiler are inconsistent for ARM when attributes target are used. for instance

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-28 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #1 from chrbr at gcc dot gnu.org --- the problems are three folds: - FUNCTION_BOUNDARY should not test optimize_size, that should be tested in override_options_internal instead to be carried by invoke_set_current_function_hook

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-28 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #2 from chrbr at gcc dot gnu.org --- and test check optimize_function_for_speed_p (cfun)) in assemble_start_function put an unnecessary constraint on align_functions (either from -falign-functions or __attribute__). We should be able

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-28 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #3 from chrbr at gcc dot gnu.org --- another example that gives suboptimal alignment: void __attribute__ ((optimize("Os"))) foo() { } compiled with -O2 -mthumb is aligned on 2^2 instead of 2^1. -Os should remove padding here.

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-09-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #11 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Tue Sep 15 13:43:17 2015 New Revision: 227795 URL: https://gcc.gnu.org/viewcvs?rev=227795=gcc=rev Log: 2015-09-15 Christian Bruel <christian.br...@st.com> PR

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-07-07 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #10 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Tue Jul 7 07:56:10 2015 New Revision: 225503 URL: https://gcc.gnu.org/viewcvs?rev=225503root=gccview=rev Log: Cleanup arch file directive. PR target/52144 * config/arm/elf.h

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-06-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #8 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Mon Jun 22 07:32:15 2015 New Revision: 224721 URL: https://gcc.gnu.org/viewcvs?rev=224721root=gccview=rev Log: Add -mflip-thumb for testing. PR target/52144n * config/arm

[Bug lto/45729] -flto conflicts with -mthumb

2015-06-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45729 chrbr at gcc dot gnu.org changed: What|Removed |Added CC||chrbr at gcc dot gnu.org

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-06-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug target/59884] Unexpected warning pragma GCC target

2015-06-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59884 Bug 59884 depends on bug 52144, which changed state. Bug 52144 Summary: ARM should support arm/thumb function attribute to permit different instruction sets in the same source https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 What

[Bug lto/45729] -flto conflicts with -mthumb

2015-06-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45729 Bug 45729 depends on bug 52144, which changed state. Bug 52144 Summary: ARM should support arm/thumb function attribute to permit different instruction sets in the same source https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 What

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-06-22 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 Bug 65837 depends on bug 52144, which changed state. Bug 52144 Summary: ARM should support arm/thumb function attribute to permit different instruction sets in the same source https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 What

[Bug target/66541] [5/6 Regression] r224314 causes ICE in gcc.dg/torture/pr52429.c

2015-06-19 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-06-19 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #7 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Jun 19 06:58:22 2015 New Revision: 224638 URL: https://gcc.gnu.org/viewcvs?rev=224638root=gccview=rev Log: PR target/66541 PR target/52144 * config/arm/arm.c

[Bug target/66541] [5/6 Regression] r224314 causes ICE in gcc.dg/torture/pr52429.c

2015-06-19 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541 --- Comment #2 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Jun 19 06:58:22 2015 New Revision: 224638 URL: https://gcc.gnu.org/viewcvs?rev=224638root=gccview=rev Log: PR target/66541 PR target/52144 * config/arm/arm.c

[Bug target/66541] r224314 causes ICE in gcc.dg/torture/pr52429.c

2015-06-15 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66541 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-06-11 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #6 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Thu Jun 11 08:51:17 2015 New Revision: 224365 URL: https://gcc.gnu.org/viewcvs?rev=224365root=gccview=rev Log: Add ARM/thumb pragma target PR target/52144

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-06-10 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #5 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Wed Jun 10 07:50:59 2015 New Revision: 224314 URL: https://gcc.gnu.org/viewcvs?rev=224314root=gccview=rev Log: Add ARM/thumb attribute target PR target/52144

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-05-26 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #4 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Tue May 26 14:06:17 2015 New Revision: 223699 URL: https://gcc.gnu.org/viewcvs?rev=223699root=gccview=rev Log: 2015-05-13 Christian Bruel christian.br...@st.com PR

[Bug target/65283] [SH] lds fpscr not put in delay slot

2015-05-21 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65283 chrbr at gcc dot gnu.org changed: What|Removed |Added CC||chrbr at gcc dot gnu.org

[Bug target/65283] [SH] lds fpscr not put in delay slot

2015-05-21 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65283 --- Comment #4 from chrbr at gcc dot gnu.org --- yes it's only for the SH4A fpchg case

[Bug target/65283] [SH] lds fpscr not put in delay slot

2015-05-21 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65283 --- Comment #5 from chrbr at gcc dot gnu.org --- ah I see, I was on the 4.8 where toggle_pr was indeed a single pattern.

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-05-20 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED CC

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-05-20 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 chrbr at gcc dot gnu.org changed: What|Removed |Added Depends on||52144 --- Comment #29 from

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-05-20 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 chrbr at gcc dot gnu.org changed: What|Removed |Added Blocks||59884 CC

[Bug target/59884] Unexpected warning pragma GCC target

2015-05-20 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59884 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug target/65837] [arm-linux-gnueabihf] lto1 target specific builtin not available

2015-05-19 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837 chrbr at gcc dot gnu.org changed: What|Removed |Added CC||chrbr at gcc dot gnu.org

[Bug target/66015] align directives not propagated after __attribute__ ((__optimize__ (O2)))

2015-05-18 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66015 chrbr at gcc dot gnu.org changed: What|Removed |Added Target|aarch64, alpha |aarch64, alpha,ia64

[Bug libstdc++/66018] opendir configure test not working when GCC_NO_EXECUTABLES

2015-05-07 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66018 --- Comment #3 from chrbr at gcc dot gnu.org --- having ld in the $(prefix)/$(triplet)/bin fixes the issue. it seems that collect2 doesn't look for $(prefix)/bin/$(triplet)-ld as before

[Bug libstdc++/66018] opendir configure test not working when GCC_NO_EXECUTABLES

2015-05-06 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66018 chrbr at gcc dot gnu.org changed: What|Removed |Added CC||chrbr at gcc dot gnu.org

[Bug target/66015] align directives not propagated after __attribute__ ((__optimize__ (O2)))

2015-05-06 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66015 --- Comment #2 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Wed May 6 11:19:56 2015 New Revision: 222848 URL: https://gcc.gnu.org/viewcvs?rev=222848root=gccview=rev Log: 2015-05-06 Christian Bruel christian.br...@st.com PR

[Bug target/66015] align directives not propagated after __attribute__ ((__optimize__ (O2)))

2015-05-06 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66015 --- Comment #1 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Wed May 6 10:54:40 2015 New Revision: 222847 URL: https://gcc.gnu.org/viewcvs?rev=222847root=gccview=rev Log: 2015-05-06 Christian Bruel christian.br...@st.com PR

[Bug target/66015] New: align directives not propagated after __attribute__ ((__optimize__ (O2)))

2015-05-05 Thread chrbr at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Target Milestone: --- When attribute optimize is used, the alignment flags are not reevaluated. Consequently, the functions are not aligned

[Bug target/64835] -fno-ipa-cp is inconsitently supported when attributes optimize or target are used

2015-05-04 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64835 --- Comment #7 from chrbr at gcc dot gnu.org --- aarch64: Seems to exhibit the same problem than x86: override_options_after_change doesn't restore the align flags. ia64: will check, chances that this exhibits the same latent bug.

[Bug target/64835] -fno-ipa-cp is inconsitently supported when attributes optimize or target are used

2015-04-30 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64835 --- Comment #5 from chrbr at gcc dot gnu.org --- (In reply to Martin Jambor from comment #1) The problem is that in the testcase iinline-1.c as it is in the testsuite, we use -fno-ipa-cp on the command line so that the interprocedural phase

[Bug target/64835] -fno-ipa-cp is inconsitently supported when attributes optimize or target are used

2015-04-30 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64835 --- Comment #4 from chrbr at gcc dot gnu.org --- yes, I thought that this test was target independent. tested on x86, arm, sh4. I'll checking what happens with aarch64

[Bug target/64835] -fno-ipa-cp is inconsitently supported when attributes optimize or target are used

2015-04-29 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64835 --- Comment #2 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Wed Apr 29 06:52:23 2015 New Revision: 222559 URL: https://gcc.gnu.org/viewcvs?rev=222559root=gccview=rev Log: 2015-04-29 Christian Bruel christian.br...@st.com PR

[Bug target/64835] New: -fno-ipa-cp is inconsitently supported when attributes optimize or target are used

2015-01-28 Thread chrbr at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrbr at gcc dot gnu.org Created attachment 34606 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34606action=edit testcase When using the target attributes on ARM

  1   2   3   >