[Bug libstdc++/58625] std::signbit always converts to double

2015-03-15 Thread tijl at coosemans dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58625 Tijl Coosemans changed: What|Removed |Added CC||tijl at coosemans dot org --- Comment

[Bug c/65345] New: ICE with _Generic selection on _Atomic int

2015-03-07 Thread tijl at coosemans dot org
Assignee: unassigned at gcc dot gnu.org Reporter: tijl at coosemans dot org gcc49 (FreeBSD Ports Collection) 4.9.3 20150218 (prerelease) % cat test.c _Atomic int i; int j = _Generic( i+1, int: 1, default: 0 ); % gcc49 -c test.c tmp.c:2:1: internal compiler error: Segmentation

[Bug c/58275] __builtin_constant_p( expr ) returns true if expr is eliminated by CSE

2013-08-29 Thread tijl at coosemans dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58275 --- Comment #3 from Tijl Coosemans --- Eh, of course.

[Bug c/58275] New: __builtin_constant_p( expr ) returns true if expr is eliminated by CSE

2013-08-29 Thread tijl at coosemans dot org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tijl at coosemans dot org It appears that whenever the expression in __builtin_constant_p( expression ) can be eliminated __builtin_constant_p returns true even if expression is not a

[Bug c/52708] suboptimal code with __builtin_constant_p

2012-03-27 Thread tijl at coosemans dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52708 --- Comment #3 from Tijl Coosemans 2012-03-27 11:33:41 UTC --- (In reply to comment #2) > Hm. We delay evaluating __builtin_constant_p to make it possible for inlining > to lead to simplifications that result in a constant. We could of course >

[Bug c/52708] suboptimal code with __builtin_constant_p

2012-03-25 Thread tijl at coosemans dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52708 --- Comment #1 from Tijl Coosemans 2012-03-25 20:09:34 UTC --- (In reply to comment #0) > Consider the following code: > > > #include > > int bar(void) __attribute__((__const__)); > > int main( int argc, char **argv ) { >

[Bug c/52708] New: suboptimal code with __builtin_constant_p

2012-03-25 Thread tijl at coosemans dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52708 Bug #: 52708 Summary: suboptimal code with __builtin_constant_p Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority